https://bugs.winehq.org/show_bug.cgi?id=35678
Bug ID: 35678 Summary: Defiance patcher crashes on start (gdiplus/GdipDrawImagePointsRect) Product: Wine Version: 1.1.13 Hardware: x86 URL: http://www.defiance.com/en/my-ego/profile/pc-free-tria l/ OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Backtrace: =>0 0x7e5541e4 GdipDrawImagePointsRect+0xe14(graphics=<is not available>, image=<is not available>, points=<is not available>, count=<is not available>, srcx=<is not available>, srcy=<is not available>, srcwidth=<is not available>, srcheight=<is not available>, srcUnit=<is not available>, imageAttributes=<is not available>, callback=<is not available>, callbackData=<is not available>) [/home/austin/wine-git/dlls/gdiplus/graphics.c:2943] in gdiplus (0x0033bf68) 1 0x7e555432 GdipDrawImageRectRectI+0x181(graphics=<is not available>, image=<is not available>, dstx=<is not available>, dsty=<is not available>, dstwidth=<is not available>, dstheight=<is not available>, srcx=<is not available>, srcy=<is not available>, srcwidth=<is not available>, srcheight=<is not available>, srcUnit=<is not available>, imageAttributes=<is not available>, callback=<is not available>, callbackData=<is not available>) [/home/austin/wine-git/dlls/gdiplus/graphics.c:3130] in gdiplus (0x0033c038)
Appears to only happen on first run.
https://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 47640 --> https://bugs.winehq.org/attachment.cgi?id=47640 terminal output/backtrace
https://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #2 from Austin English austinenglish@gmail.com --- austin@aw25 ~ $ sha1sum DefianceSetup.exe 28bcd7e0f59022f3d575ef9fb7ea8e676c9f4b3a DefianceSetup.exe austin@aw25 ~ $ du -h DefianceSetup.exe 11M DefianceSetup.exe austin@aw25 ~ $ wine --version wine-1.7.13-53-g37e0a1a
https://bugs.winehq.org/show_bug.cgi?id=35678
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.13 |1.7.13
https://bugs.winehq.org/show_bug.cgi?id=35678
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |35679
http://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #3 from Vincent Povirk madewokherd@gmail.com --- Can you get a +gdiplus log?
https://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #4 from Austin English austinenglish@gmail.com --- Created attachment 47725 --> https://bugs.winehq.org/attachment.cgi?id=47725 gdiplus + backtrace
http://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- trace:gdiplus:GdipDrawImageRectRectI (0x1750270, 0x16f0008, 0, 0, -2147483648, 28, 0, 0, -2147483648, 34, 2, (nil), (nil), (nil))
Negative widths? That's suspicious, and suggests something went wrong before this.
But we should probably also validate that before using it.
http://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #6 from Vincent Povirk madewokherd@gmail.com --- I just tested on Windows, and it seems native will actually flip the source image when given a negative width. But it also silently fails to draw anything when given a very large width.
http://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #7 from Vincent Povirk madewokherd@gmail.com --- I sent some patches that I'm hoping will help: http://www.winehq.org/pipermail/wine-patches/2014-March/131133.html
https://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #8 from Austin English austinenglish@gmail.com --- Two of the three are in: https://source.winehq.org/git/wine.git/commitdiff/06555a96adf99364035bf824e1... https://source.winehq.org/git/wine.git/commitdiff/9a5375989d43a08a6cf276e08b...
there's still a crash, however. Applying patch 3 avoids the crash.
http://bugs.winehq.org/show_bug.cgi?id=35678
--- Comment #9 from Vincent Povirk madewokherd@gmail.com --- Patch 3 was committed as 526143cb05ade443113107b6b98bb84ef678b7e7. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=35678
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |v Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Austin English austinenglish@gmail.com --- (In reply to Vincent Povirk from comment #9)
Patch 3 was committed as 526143cb05ade443113107b6b98bb84ef678b7e7. Please retest.
Yep, works in wine-1.7.15-133-g62f7ba2, thanks.
https://bugs.winehq.org/show_bug.cgi?id=35678
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|v |526143cb05ade443113107b6b98 | |bb84ef678b7e7
https://bugs.winehq.org/show_bug.cgi?id=35678
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.16.