https://bugs.winehq.org/show_bug.cgi?id=45309
Bug ID: 45309 Summary: Program runs fine in Wine, but dies in Wine-dbg Product: Wine Version: 3.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winedbg Assignee: wine-bugs@winehq.org Reporter: dcoffin@cybercom.net Distribution: ---
Created attachment 61583 --> https://bugs.winehq.org/attachment.cgi?id=61583 winedbg trace, only showing the first two exceptions. In wine, only "fixme" messages appear, and the program runs perfectly.
I have a program that runs flawlessly in Wine, including the generation of an output file whose correctness can be independently verified.
However, when I run the same program in Wine-dbg, it generates dozens of floating point exceptions: stack error, inexact result, and sometimes overflow and divide by zero. If I "continue" through all these exceptions, the program opens a window saying that the program "has encountered a serious problem and needs to close", or "There was an unknown error", and no output file is generated.
Also notice that the "Thread ID=0034 renamed using MS VC6 extension" messages only appear with winedbg, not wine.
The program being run is Adobe DNG Converter 10.3, and I deleted my .wine directory before installing it. I tried converting various raw photos and all exhibited this behavior.
https://bugs.winehq.org/show_bug.cgi?id=45309
Dave Coffin dcoffin@cybercom.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dcoffin@cybercom.net
https://bugs.winehq.org/show_bug.cgi?id=45309
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Most of this is valid behaviour. Programs throw and catch their own exceptions all of the time. You can ignore certain types of exceptions with e.g. 'handle SIGSEGV noprint', although this may also prevent breaking on useful exceptions.
That it fails subsequently may be a bug, although it may be a matter of timing or something similar.
Renaming threads is a debugging aid, so of course it should show up in winedbg and not otherwise.
https://bugs.winehq.org/show_bug.cgi?id=45309
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://web.archive.org/web | |/20201224005356/http://down | |load.adobe.com/pub/adobe/dn | |g/win/DNGConverter_10_3.exe CC| |focht@gmx.net Summary|Program runs fine in Wine, |Adobe DNG Converter 10.3 |but dies in Wine-dbg |throws floating point and | |divide by zero exceptions | |when being run with | |'winedbg' Ever confirmed|0 |1 Component|winedbg |-unknown Status|UNCONFIRMED |NEEDINFO
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello Dave,
I can't reproduce this, even with old Wine 3.9.
Adding stable link via Internet Archive:
http://download.adobe.com/pub/adobe/dng/win/DNGConverter_10_3.exe
Using RAW camera image examples from different vendors:
https://rawsamples.ch/index.php/en/
Selected directory with the samples and started conversion process.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Adobe/Adobe DNG Converter
$ wine64 winedbg ./Adobe\ DNG\ Converter.exe
WineDbg starting on pid 0029
0x000000007bc94a25 DbgBreakPoint+0x1 in ntdll: ret
Wine-dbg>c ... Thread ID=002b renamed using MS VC6 extension (name=="cr_scratc") ... Thread ID=002f renamed using MS VC6 extension (name=="DNGApplic") ... Thread ID=0031 renamed using MS VC6 extension (name=="DNGApplic") Thread ID=0032 renamed using MS VC6 extension (name=="dng_max_v") Thread ID=0033 renamed using MS VC6 extension (name=="dng_max_v") Thread ID=0034 renamed using MS VC6 extension (name=="dng_linea") ... Thread ID=003a renamed using MS VC6 extension (name=="dng_linea") Thread ID=003c renamed using MS VC6 extension (name=="cr_fast_f") ... Thread ID=0041 renamed using MS VC6 extension (name=="cr_fast_f") Thread ID=0044 renamed using MS VC6 extension (name=="cr_apply_") ... Thread ID=004b renamed using MS VC6 extension (name=="cr_apply_") Thread ID=004c renamed using MS VC6 extension (name=="dng_linea") ... Thread ID=005d renamed using MS VC6 extension (name=="Interpola") ... Thread ID=0061 renamed using MS VC6 extension (name=="Interpola") Thread ID=0068 renamed using MS VC6 extension (name=="BuildPyra") ... Thread ID=006e renamed using MS VC6 extension (name=="BuildPyra") Thread ID=006f renamed using MS VC6 extension (name=="cr_color_") ... Thread ID=0075 renamed using MS VC6 extension (name=="cr_color_") Thread ID=0077 renamed using MS VC6 extension (name=="BuildPyra") ... Thread ID=0087 renamed using MS VC6 extension (name=="BuildPyra") ... Thread ID=0174 renamed using MS VC6 extension (name=="GetWarped") Thread ID=0175 renamed using MS VC6 extension (name=="GetWarped") Thread ID=0176 renamed using MS VC6 extension (name=="dng_find_") ... Thread ID=017b renamed using MS VC6 extension (name=="dng_find_") Thread ID=017c renamed using MS VC6 extension (name=="dng_write") ... Thread ID=0182 renamed using MS VC6 extension (name=="dng_write") Thread ID=0183 renamed using MS VC6 extension (name=="dng_write") --- snip ---
If you can still reproduce it please provide exact steps, i.e. which kind of RAW images. Also information how Wine was built (distro + GCC version).
If you can't reproduce or are not interested anymore I propose to resolve the ticket as 'ABANDONED'.
Not sure what the original reason for debugging this app was but there are certainly better alternatives to Wine's builtin debugging aid. It's like using a stone axe when you could use a 400+ piece Mechanic's Tool Set ^^ But yay, tools are not that important. Knowledge and experience are the most important thing.
$ sha1sum DNGConverter_10_3.exe 14e198c7285ac3bd232c921e5f27967e2bfa9e33 DNGConverter_10_3.exe
$ du -sh DNGConverter_10_3.exe 411M DNGConverter_10_3.exe
$ wine --version wine-3.9
Regards
https://bugs.winehq.org/show_bug.cgi?id=45309
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch