[Bug 56420] New: Paint.NET 5.0.13 installer fails due to missing ID2DFactory7, CLSID '{bdc2bdd3-b96c-4de6-bdf7-99d4745454de}'
https://bugs.winehq.org/show_bug.cgi?id=56420 Bug ID: 56420 Summary: Paint.NET 5.0.13 installer fails due to missing ID2DFactory7, CLSID '{bdc2bdd3-b96c-4de6-bdf7-99d4745454de}' Product: Wine Version: 9.4 Hardware: x86-64 URL: https://github.com/paintdotnet/release/releases/downlo ad/v5.0.13/paint.net.5.0.13.install.anycpu.web.zip OS: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs(a)winehq.org Reporter: gijsvrm(a)gmail.com Distribution: --- Created attachment 76182 --> https://bugs.winehq.org/attachment.cgi?id=76182 error dialog It shows an error dialog, which I've attached. A +d2d trace reveals: 019c:trace:d2d:D2D1CreateFactory factory_type 0x1, iid {bdc2bdd3-b96c-4de6-bdf7-99d4745454de}, factory_options 00007FFFFE27E878, factory 00007FFFFE27E830. 019c:trace:d2d:D2D1CreateFactory Created factory 00007FFFFEA29FB0. 019c:trace:d2d:d2d_factory_QueryInterface iface 00007FFFFEA29FB0, iid {bdc2bdd3-b96c-4de6-bdf7-99d4745454de}, out 00007FFFFE27E830. 019c:warn:d2d:d2d_factory_QueryInterface {bdc2bdd3-b96c-4de6-bdf7-99d4745454de} not implemented, returning E_NOINTERFACE. 019c:trace:d2d:d2d_factory_Release 00007FFFFEA29FB0 decreasing refcount to 0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56420 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://github.com/paintdot |https://web.archive.org/web |net/release/releases/downlo |/20240310203051if_/https:// |ad/v5.0.13/paint.net.5.0.13 |objects.githubusercontent.c |.install.anycpu.web.zip |om/github-production-releas | |e-asset-2e65be/407688509/9e | |048ae0-d709-4e2d-9fb5-8e296 | |be2ad09?X-Amz-Algorithm=AWS | |4-HMAC-SHA256&X-Amz-Credent | |ial=AKIAVCODYLSA53PQK4ZA%2F | |20240310%2Fus-east-1%2Fs3%2 | |Faws4_request&X-Amz-Date=20 | |240310T203050Z&X-Amz-Expire | |s=300&X-Amz-Signature=94b05 | |71a77d1c6e7c29604fbba28f8d4 | |c60d4bad06601c041c820cf5d54 | |2f3b8&X-Amz-SignedHeaders=h | |ost&actor_id=0&key_id=0&rep | |o_id=407688509&response-con | |tent-disposition=attachment | |%3B%20filename%3Dpaint.net. | |5.0.13.install.anycpu.web.z | |ip&response-content-type=ap | |plication%2Foctet-stream --- Comment #1 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Adding a stable download. $ sha1sum paint.net.5.0.13.install.anycpu.web.zip d4a42330033da80d1ef4c059a957ede445c85473 paint.net.5.0.13.install.anycpu.web.zip $ du -sh paint.net.5.0.13.install.anycpu.web.zip 748K paint.net.5.0.13.install.anycpu.web.zip -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56420 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- I see they don't provide source code for the main application. I see no problem in upgrading to ID2D1Factory7. The real upgrade will happen in device/devicecontext API. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56420 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- Next it asks for ID2D1DeviceContext6. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56420 --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- I tried to add some stubs, and it only gets it so far. It needs Factory7, DeviceContext6, Device6. After that it creates builtin effects that we don't have yet. Including Histogram one, which is the one using compute shaders. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56420 C. Leu <kle(a)bluewin.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kle(a)bluewin.ch --- Comment #5 from C. Leu <kle(a)bluewin.ch> --- I have checked the topic with latest Paint.NET 4.3.12 standalone (which includes the .NET framework). This release is from August 2022 and not that super old. ;-) Before it fails there are various Direct2D related bugs reported at the CLI (after to program is started). Ergo as already told in the other topic, the Direct2D issue has to be resolved to get also the more recent Paint.NET builds working. Finally I also tried the standalone version of Paint.NET 5.0.13. But unfortunately that one crashes on Wine 9.8 at an even earlier stage. All corresponding downloads can be found here: https://www.computerbase.de/downloads/foto-und-grafik/paint.net/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56420 --- Comment #6 from Nikolay Sivov <bunglehead@gmail.com> --- It looks to me like some marshalling issue between .NET and d2d. Setup program registers and creates a custom effect which purpose is to query capabilities of d2d setup, most likely via effect context. Effect property names suggest that. Effect creation works just fine, the crash happens when releasing effect instance, because effect context pointer is trashed - vtbl does not point to our implementation. Vtbl pointer change happens on Initialize(): 1743 021c:trace:d2d:d2d_effect_create Initializing impl 00007FFFFB1C3A50, context 00007EDBA7090210, graph 00007FFFFB1C39B0 1744 021c:trace:d2d:d2d_effect_create Context vtbl 00006FFFF07FB280 1745 021c:trace:d2d:d2d_effect_create Context vtbl after 00007FFFF0E31D80 First GetValue(0) before Release already causes exception, so I'm not sure if this vtable replacement is intentional. This will need deeper analysis. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla