[Bug 53032] winedevice.exe segfaults on exit when built by GCC >=12.0 and -march=pentium-m

WineHQ Bugzilla wine-bugs at winehq.org
Mon May 23 05:19:05 CDT 2022


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

--- Comment #15 from Artem S. Tashkinov <aros at gmx.com> ---
The crash is in ntdll.dll.so but that's a huge library:

$ ls -la ntdll*so*
-rwxr-xr-x. 1 root root 926240 May 23 09:42 ntdll.dll.so.o2
-rwxr-xr-x. 1 root root 950816 May 23 09:46 ntdll.dll.so.pentiumm

~25KB of extra binary code.

Here's another tidbit: even there's no crash (i.e. GCC 12: -O2 -m32, GCC 11.3:
-O2 -march=pentium-m -m32), there's still something wrong when exiting Wine
applications:

00b0:err:virtual:virtual_setup_exception nested exception on signal stack in
thread 00b0 addr 0xf7cc2e9b stack 0x7ff7f0e0

I feel like there's a coding error which gets worse when using
-march=pentium-m.

I still have no clue how to debug all of this. Considering how easy it's to
reproduce ( see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700#c2 ), would
be great if Wine hackers chimed in instead.

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