https://bugs.winehq.org/show_bug.cgi?id=45122
Bug ID: 45122 Summary: gdiplus/font test crashes under clang-5.0.1 but not gcc-7.3.0 Product: Wine Version: 3.7 Hardware: x86 URL: https://test.winehq.org/data/8dca6c35e11a104385242ed83 46ee05707b78ef7/linux_ae-gentoo-dbg-clang/gdiplus:font .html OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
Backtrace: =>0 0x7ec9e635 GdipMeasureString+0x1e5(graphics=<is not available>, string=<is not available>, length=<has been optimized away by compiler>, font=<has been optimized away by compiler>, rect=<has been optimized away by compiler>, format=<is not available>, bounds=<has been optimized away by compiler>, codepointsfitted=<has been optimized away by compiler>, linesfilled=<has been optimized away by compiler>) [/var/lib/jenkins/home/workspace/wine-clang/dlls/gdiplus/graphics.c:5427] in gdiplus (0x0033f958) 1 0x7ed1385d in gdiplus_test (+0x2485c) (0x0033fac8) 2 0x7ed0f1c7 func_font+0x486() in gdiplus_test (0x0033fe08) 3 0x7ed7e968 main+0x457() in gdiplus_test (0x0033fea8) 4 0x7ed7ecaa in gdiplus_test (+0x8fca9) (0x0033fee0) 5 0x7b45df9c call_process_entry+0xb() in kernel32 (0x0033fef8) 6 0x7b45e0f3 start_process+0x122(entry=0x7ed7f5cb, peb=<is not available>) [/var/lib/jenkins/home/workspace/wine-clang/dlls/kernel32/process.c:1099] in kernel32 (0x0033ffdc) 7 0x7b45dfaa start_process_wrapper+0x9() in kernel32 (0x0033ffec) 0x7ec9e635 GdipMeasureString+0x1e5 [/var/lib/jenkins/home/workspace/wine-clang/dlls/gdiplus/graphics.c:5427] in gdiplus: mulps %xmm1,%xmm1 5427 (pt[2].X-pt[0].X)*(pt[2].X-pt[0].X));
lmk what other logs/tests would be useful.
https://bugs.winehq.org/show_bug.cgi?id=45122
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45122
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=45122
--- Comment #1 from Austin English austinenglish@gmail.com --- Get a very similar crash for gdiplus:graphics, as well:
Backtrace: =>0 0x7ecac630 GdipMeasureString+0x1e0(graphics=<is not available>, string=<is not available>, length=<has been optimized away by compiler>, font=<has been optimized away by compiler>, rect=<has been optimized away by compiler>, format=<is not available>, bounds=<has been optimized away by compiler>, codepointsfitted=<has been optimized away by compiler>, linesfilled=<has been optimized away by compiler>) [/var/lib/jenkins/home/workspace/wine-clang/dlls/gdiplus/graphics.c:5427] in gdiplus (0x0033f9b8) 1 0x7ed250b8 func_graphics+0x517() in gdiplus_test (0x0033fe08) 2 0x7ed8c968 main+0x457() in gdiplus_test (0x0033fea8) 3 0x7ed8ccaa in gdiplus_test (+0x8fca9) (0x0033fee0) 4 0x7b45df9c call_process_entry+0xb() in kernel32 (0x0033fef8) 5 0x7b45e0f3 start_process+0x122(entry=(nil), peb=<is not available>) [/var/lib/jenkins/home/workspace/wine-clang/dlls/kernel32/process.c:1099] in kernel32 (0x0033ffdc) 6 0x7b45dfaa start_process_wrapper+0x9() in kernel32 (0x0033ffec) 0x7ecac630 GdipMeasureString+0x1e0 [/var/lib/jenkins/home/workspace/wine-clang/dlls/gdiplus/graphics.c:5427] in gdiplus: subps 0x30(%esp),%xmm1 5427 (pt[2].X-pt[0].X)*(pt[2].X-pt[0].X));
https://bugs.winehq.org/show_bug.cgi?id=45122
--- Comment #2 from Matteo Bruni matteo.mystral@gmail.com --- FWIW, the exception is: Unhandled exception: 0xc00002b5 in 32-bit code (0x7ec9e635). Which seems to be STATUS_FLOAT_MULTIPLE_TRAPS.
https://bugs.winehq.org/show_bug.cgi?id=45122
--- Comment #3 from Vincent Povirk madewokherd@gmail.com --- Can you disable SSE in the build?
https://bugs.winehq.org/show_bug.cgi?id=45122
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Vincent Povirk from comment #3)
Can you disable SSE in the build?
No crashes, and all three crashing tests pass with -mno-sse passed: https://test.winehq.org/data/8f46ac233ed96f7286f6aacd1f8fb2626d3ed1c2/linux_... https://test.winehq.org/data/8f46ac233ed96f7286f6aacd1f8fb2626d3ed1c2/linux_... https://test.winehq.org/data/8f46ac233ed96f7286f6aacd1f8fb2626d3ed1c2/linux_...
https://bugs.winehq.org/show_bug.cgi?id=45122
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- Dang, I was hoping it would crash in a clearer way.
https://bugs.winehq.org/show_bug.cgi?id=45122
Bartosz gang65@poczta.onet.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65@poczta.onet.pl
--- Comment #6 from Bartosz gang65@poczta.onet.pl --- The issue was resolved with commit: https://gitlab.winehq.org/wine/wine/-/commit/1848fd337542d664ffca38d5b790bcd...
Please verify if it is working for you.
https://bugs.winehq.org/show_bug.cgi?id=45122
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |1848fd337542d664ffca38d5b79 | |0bcdcf0945594
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to Bartosz from comment #6)
The issue was resolved with commit: https://gitlab.winehq.org/wine/wine/-/commit/ 1848fd337542d664ffca38d5b790bcdcf0945594
Please verify if it is working for you.
Thanks
https://bugs.winehq.org/show_bug.cgi?id=45122
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc2.