[Bug 50297] Blindwrite 7 crashes with a stack overflow (followup to #49092)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Dec 10 16:22:38 CST 2020


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |focht at gmx.net
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |download
                URL|                            |https://web.archive.org/web
                   |                            |/20131210151026/http://down
                   |                            |load2.vso-software.fr/Blind
                   |                            |write7_setup.exe

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

adding stable download link:

https://web.archive.org/web/20131210151026/http://download2.vso-software.fr/Blindwrite7_setup.exe

Wine 5.7 from bug 49092 worked for me. From my testing it worked up to Wine
5.14. Starting with Wine 5.15 it fails with stack overflow, including Wine
6.0-rc1/HEAD.

Regression testing revealed commit
https://source.winehq.org/git/wine.git/commitdiff/7a71f98640bf8fa402d6b0c3ec30b40818710ee7
("ntdll: Use KiUserApcDispatcher() to call user APCs.").

>From that commit it's not unreasonable to relate to the changed stack
behaviour.

Before that commit the app would show the splash / registration screen on first
start after churning for several seconds due to registry queries recursion.

The repeating registry queries with same key/value patterns are looking
suspicious. I wonder if the app shows the same behaviour on Windows. There is a
recursive function call for these registry queries which causes very deep
nesting level. About ~16k call frames until the stack is exhausted. I didn't
look too far what the "give up" condition is.

--- snip ---
Thread 1 "00d0" received signal SIGSEGV, Segmentation fault.
0xf7d1720f in ?? ()
(gdb @ 1:None) bt
#0  0xf7d1720f in ?? ()
#1  0xf7aeaa0a in ?? ()
#2  0xf7acf1b1 in ?? ()
#3  0x7bc0bacc in ntdll!ZwOpenKeyEx () from
/home/focht/.wine/dosdevices/c:/windows/syswow64/ntdll.dll
#4  0x7b037505 in kernelbase!RegOpenKeyExW () from
/home/focht/.wine/dosdevices/c:/windows/syswow64/kernelbase.dll
#5  0x006996a6 in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#6  0x0069ab41 in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
...
#16241 0x00a99394 in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16242 0x00a99394 in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16243 0x00b0417a in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16244 0x005f9edb in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16245 0x005f9b1f in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16246 0x005f9ad0 in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16247 0x0060452d in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16248 0x00b3881a in ?? () from /home/focht/.wine/dosdevices/c:/Program Files
(x86)/VSO/BlindWrite/7/BW.exe
#16249 0x7b645241 in ?? () from
/home/focht/.wine/dosdevices/c:/windows/syswow64/kernel32.dll
#16250 0x7b6458a8 in ?? () from
/home/focht/.wine/dosdevices/c:/windows/syswow64/kernel32.dll
#16251 0x7b645252 in ?? () from
/home/focht/.wine/dosdevices/c:/windows/syswow64/kernel32.dll
#16252 0x00000000 in ?? ()
--- snip ---

$ sha1sum Blindwrite7_setup.exe 
8b357a5613b5f348e0105d9dbb84ef42550016ee  Blindwrite7_setup.exe

$ du -sh Blindwrite7_setup.exe 
14M    Blindwrite7_setup.exe

$ wine --version
wine-5.14-105-g2a08e0e2902

$ wine --version
wine-6.0-rc1-39-g76c9dbd4fb9

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