[Bug 49563] Adobe DNG converter 12.4 crashes after upgrade to Wine 5.12

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 23 18:49:55 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=49563

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Fixed by SHA1|                            |af3aee8a5a2852951b1fbc6e355
                   |                            |e674fed9d4c5c
           Keywords|                            |download
             Status|UNCONFIRMED                 |RESOLVED
    Regression SHA1|                            |887332f9c7bf0d75f53f88a9739
                   |                            |b77b12463d636
                URL|                            |https://web.archive.org/web
                   |                            |/20201223212150/http://down
                   |                            |load.adobe.com/pub/adobe/dn
                   |                            |g/win/DNGConverter_12_4.exe
                 CC|                            |focht at gmx.net
          Component|-unknown                    |ntdll
            Summary|Adobe DNG converter crashes |Adobe DNG converter 12.4
                   |after updating to wine 5.12 |crashes after upgrade to
                   |                            |Wine 5.12
         Resolution|---                         |FIXED

--- Comment #7 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming. I spent a bit too much time for my taste investigating the issue
because key pieces of information were missing. Adobe DNG converter 12.x and
13.x exhibit different problems. The latter requires 'Windows 10' setting
before running the installer.

Despite having Adobe DNG converter 13.x installer reporting success, the main
binaries were missing - until Wine 5.12 release. I've created a separate bug
50392 ("Adobe DNG converter 13.x (Win10 app) installer creates broken
installation despite reporting success (main binaries missing)") to document
this behaviour. Technically it's a dupe of bug 49400.

I'm writing this here to emphasize that *you* need to provide certain key
information when creating bug reports.

* mention which Wine version worked before (case of regression)

* mention which version of application / installer was used

Let's not have people potentially waste their time trying to figure out things
with too much guesswork.

https://wiki.winehq.org/Bugs

I've downloaded multiple versions of the app:

--- snip ---
$ ll DNG*

-rw-rw-r--. 1 focht focht 467639768 Dec  2  2019 DNGConverter_12_1.exe
-rw-rw-r--. 1 focht focht 478939688 Feb 20  2020 DNGConverter_12_2.exe
-rw-rw-r--. 1 focht focht 484163392 May 29  2020 DNGConverter_12_3.exe
-rw-rw-r--. 1 focht focht 494208472 Aug  5 20:08 DNGConverter_12_4.exe
-rw-rw-r--. 1 focht focht 497232784 Oct 13 21:38 DNGConverter_13_0.exe
-rw-rw-r--. 1 focht focht 594178872 Dec 23 18:42 DNGConverter_13_1.exe
--- snip ---

Based on the report creation date it could have been Adobe DNG Converter 12.4.
Definitely some 12.x version (Windows 7) because 13.x was introduced in October
2020.

I've installed app version 12.4 with Wine 5.10 (works) and did a prefix upgrade
by using Wine 5.12 afterwards. Starting the application after the prefix
upgrade indeed causes a crash. But it turns out the prefix upgrade doesn't
matter here. This is another misinformation which necessarily took a bit of
time from me. See following comments.

comment #3 

--- quote ---
After deleting the .wine/ folder on a fresh installation it works again. Only
the updated version does not start any more.
--- quote ---

comment #5

--- quote ---
I meant the update in the ./wine folder which took place after upgrading wine
to version 5.12. After this update the DNG converter did not work any more.
Only after deleting the ./wine folder and doing a fresh reinstallation it
worked again.
--- quote ---

Even a "clean" installation with Wine 5.12 (= no upgrade of existing
WINEPREFIX) would result in the same crash. You certainly used a newer Wine
5.13 or higher at the time you wrote comment #3 and #5. Wine 5.17 was most
recent at that point in time 2020-09-11. Please *always* be specific about Wine
versions used in *every* comment.

Relevant part:

--- snip ---
...
0000000140A60260 | push rbx                           |
0000000140A60262 | sub rsp,20                         |
0000000140A60266 | mov rbx,rcx                        |
0000000140A60269 | add rcx,8                          |
0000000140A6026D | call adobe dng converter.140003CE0 |
0000000140A60272 | test rax,rax                       |
0000000140A60275 | je adobe dng converter.140A6027F   |
0000000140A60277 | mov rcx,rax                        | "cr_scratch"
0000000140A6027A | call adobe dng converter.140A5DED0 | SetThreadName()
0000000140A6027F | cmp byte ptr ds:[145DE560A],0      | RBX clobbered!
0000000140A60286 | je adobe dng converter.140A602C9   |
0000000140A60288 | mov qword ptr ss:[rsp+30],0        |
0000000140A60291 | mov edx,FFFFFFFF                   |
0000000140A60296 | lea r8d,qword ptr ds:[rdx+2]       |
0000000140A6029A | lea rcx,qword ptr ss:[rsp+30]      |
0000000140A6029F | call adobe dng converter.141141269 |
0000000140A602A4 | mov rax,qword ptr ds:[rbx]         |
0000000140A602A7 | mov rcx,rbx                        |
0000000140A602AA | call qword ptr ds:[rax+8]          |
0000000140A602AD | nop                                |
0000000140A602AE | cmp qword ptr ss:[rsp+30],0        |
0000000140A602B4 | je adobe dng converter.140A602C1   |
0000000140A602B6 | lea rcx,qword ptr ss:[rsp+30]      |
0000000140A602BB | call adobe dng converter.14114127B |
0000000140A602C0 | nop                                |
0000000140A602C1 | xor eax,eax                        |
0000000140A602C3 | add rsp,20                         |
0000000140A602C7 | pop rbx                            |
0000000140A602C8 | ret                                |
0000000140A602C9 | mov rax,qword ptr ds:[rbx]         | bad address
0000000140A602CC | mov rcx,rbx                        |
0000000140A602CF | call qword ptr ds:[rax+8]          |
0000000140A602D2 | xor eax,eax                        |
0000000140A602D4 | add rsp,20                         |
0000000140A602D8 | pop rbx                            |
0000000140A602D9 | ret                                |
...
0000000140A5DED0 | sub rsp,48                         |
0000000140A5DED4 | mov dword ptr ss:[rsp+20],1000     |
0000000140A5DEDC | mov qword ptr ss:[rsp+28],rcx      |
0000000140A5DEE1 | mov dword ptr ss:[rsp+30],FFFFFFFF |
0000000140A5DEE9 | mov dword ptr ss:[rsp+34],0        |
0000000140A5DEF1 | lea r9,qword ptr ss:[rsp+20]       |
0000000140A5DEF6 | xor edx,edx                        |
0000000140A5DEF8 | lea r8d,qword ptr ds:[rdx+3]       |
0000000140A5DEFC | mov ecx,406D1388                   | MS_VC_EXCEPTION
0000000140A5DF01 | call qword ptr ds:[141267358]      | RaiseException()
0000000140A5DF07 | jmp adobe dng converter.140A5DF09  |
0000000140A5DF09 | add rsp,48                         |
0000000140A5DF0D | ret                                |
--- snip ---

The app wants to set thread name which clobbers registers used by the local
function.

It was fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/af3aee8a5a2852951b1fbc6e355e674fed9d4c5c
("ntdll: Don't call NtRaiseException() on x64 if debugger is not present."),
Part of Wine 5.13 release.

Thanks Paul

Sadly no bug reference in the commit message and/or bug report in Bugzilla
which has this sha1.

The regression was caused by commit
https://source.winehq.org/git/wine.git/commitdiff/887332f9c7bf0d75f53f88a9739b77b12463d636
("ntdll: Fix KiUserExceptionDispatcher ABI on x86_64.") which ought to fix
another regression. Part of Wine 5.12 release (= broken).

It's also referenced in bug 49503. Same root cause but different problems.

---

Stable download link:

https://web.archive.org/web/20201223212150/http://download.adobe.com/pub/adobe/dng/win/DNGConverter_12_4.exe

Site with lots of example raw camera images for testing:

https://rawsamples.ch/index.php/en/

http://www.rawsamples.ch/raws/panasonic/fz8/RAW_PANASONIC_FZ8.RAW

$ sha1sum DNGConverter_12_4.exe 
c391e59f04c9855dd79ddd72e354aec3c9785319  DNGConverter_12_4.exe

$ du -sh DNGConverter_12_4.exe
472M    DNGConverter_12_4.exe

$ wine --version
wine-5.12-28-gaf3aee8a5a2

Regards

-- 
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.


More information about the wine-bugs mailing list