[Bug 21903] New: gdiplus: graphics test crashing
http://bugs.winehq.org/show_bug.cgi?id=21903 Summary: gdiplus: graphics test crashing Product: Wine Version: 1.1.39 Platform: x86-64 URL: http://test.winehq.org/data/47016df9b719a57477156794b9 7c2860ed63957d/wine_ae-ub910/gdiplus:graphics.html OS/Version: Linux Status: NEW Keywords: download, regression, testcase Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com CC: jchevrier(a)gmail.com Seems to be a regression. According to http://test.winehq.org, worked up until 062628ad8020e09063fcdf6302e86f17321e2ea8, then started failing in 583f0f08ed8c1e4f8dce679db5256fdc4c142ada. I haven't ran a regression test yet to confirm, but the only gdiplus related change was http://source.winehq.org/git/wine.git/?a=commitdiff;h=b4bfa6e1c1568321b124f4.... Backtrace: =>0 0xf7577d56 memcpy+0x46() in libc.so.6 (0x0063fb88) 1 0x7ec0cb95 CreateDIBSection+0x525(hdc=0x53c, bmi=0x63fc74, usage=<is not available>, bits=0x63fcbc, section=0x0(nil), offset=0) [/home/austin/wine-git/dlls/gdi32/dib.c:1348] in gdi32 (0x0063fc28) 2 0x7eaf3c74 GdipCreateBitmapFromScan0+0x1fd(width=0x000a, height=0x000a, stride=0x000a, format=0x30803, scan0=0x0(nil), bitmap=0x63fd40) [/home/austin/wine-git/dlls/gdiplus/image.c:1663] in gdiplus (0x0063fce8) 3 0x004106f7 in gdiplus_test (+0x106f7) (0x0063fd68) 4 0x0042c611 in gdiplus_test (+0x2c611) (0x0063fd88) 5 0x0042c791 in gdiplus_test (+0x2c791) (0x0063fe38) 6 0x004010a7 in gdiplus_test (+0x10a7) (0x0063fe78) 7 0x00401143 in gdiplus_test (+0x1143) (0x0063fe98) 8 0x7ee1a1d4 start_process+0x54(peb=<register ESI not in topmost frame>) [/home/austin/wine-git/dlls/kernel32/process.c:1026] in kernel32 (0x0063fed8) 9 0x7efbd038 call_thread_func+0xc() in ntdll (0x0063fee8) 10 0x7efbd076 call_thread_entry_point+0x34(entry=0x7ee1a180, arg=0x7ffdf000) [/home/austin/wine-git/dlls/ntdll/signal_i386.c:2424] in ntdll (0x0063ffc8) 11 0x7ef97473 LdrInitializeThunk(kernel_start=0x7ffdf000, unknown2=0, unknown3=0, unknown4=0) [/home/austin/wine-git/dlls/ntdll/loader.c:2621] in ntdll (0x0063ffe8) 12 0xf768cedd wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000) 0xf7577d56 memcpy+0x46 in libc.so.6: repe movsl (%esi),%es:(%edi) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com --- Comment #1 from Vincent Povirk <madewokherd(a)gmail.com> 2010-03-01 10:42:40 --- This is probably a bug in GdipCreateBitmapFromScan0 or CreateDIBSection that was exposed by the new test. Could you try to run the graphics test in an older Wine build and see if it still crashes? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2010-03-01 19:19:21 --- (In reply to comment #1)
This is probably a bug in GdipCreateBitmapFromScan0 or CreateDIBSection that was exposed by the new test.
Could you try to run the graphics test in an older Wine build and see if it still crashes?
Yep, crashes in 1.1.39 as well. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 --- Comment #3 from Vincent Povirk <madewokherd(a)gmail.com> 2010-03-01 20:08:17 --- It looks like it's crashing creating the 8-bit bitmap, but as far as I can tell there's nothing unusual here: status = GdipCreateBitmapFromScan0(10, 10, 10, PixelFormat8bppIndexed, NULL, &bitmap); -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #4 from Dan Kegel <dank(a)kegel.com> 2010-03-02 10:52:10 --- Wonder if this is related to the new error in http://kegel.com/wine/valgrind/logs/2010-02-26-09.24/diff-gdiplus_graphics.t... , Conditional jump or move depends on uninitialised value(s) at X11DRV_DIB_GenColorMap (dib.c:367) by X11DRV_DIB_BuildColorMap (dib.c:436) by X11DRV_CreateDIBSection (dib.c:4747) by CreateDIBSection (dib.c:1353) by GdipCreateBitmapFromScan0 (image.c:1663) by test_GdipGetNearestColor (graphics.c:2295) by func_graphics (graphics.c:2451) by run_test (test.h:541) by main (test.h:591) Uninitialised value was created by a stack allocation at GdipCreateBitmapFromScan0 (image.c:1616) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 --- Comment #5 from Dan Kegel <dank(a)kegel.com> 2010-03-02 10:53:28 --- In which case maybe it's related to bug 21613. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 --- Comment #6 from Vincent Povirk <madewokherd(a)gmail.com> 2010-03-02 10:57:52 --- Does the patch on bug 21613 prevent the crash? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2010-03-03 20:04:11 --- (In reply to comment #6)
Does the patch on bug 21613 prevent the crash?
Yes. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Vincent Povirk <madewokherd(a)gmail.com> 2010-03-08 14:03:11 --- test.winehq.org no longer has crashes in this test. Resolving. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=21903 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> 2010-03-19 14:10:56 --- Closing bugs fixed in 1.1.41. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org