http://bugs.winehq.org/show_bug.cgi?id=24959
Summary: Impulse crash after login Product: Wine Version: 1.3.6 Platform: x86 URL: http://www.impulsedriven.com/downloads/impulse_setup_f ull.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: drakkk@centrum.cz
Created an attachment (id=31607) --> (http://bugs.winehq.org/attachment.cgi?id=31607) terminal output
Impulse crash shortly after login screen. Native gdiplus fixes it.
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #1 from Pavel Ondracka drakkk@centrum.cz 2010-10-30 15:50:45 CDT --- Created an attachment (id=31608) --> (http://bugs.winehq.org/attachment.cgi?id=31608) +gdiplus log
http://bugs.winehq.org/show_bug.cgi?id=24959
Pavel Ondracka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #2 from Pavel Ondracka drakkk@centrum.cz 2010-10-30 15:53:43 CDT --- BTW winetricks dotnet20 is needed.
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2010-11-09 16:03:13 CST --- fixme:gdiplus:GdipMeasureString graphics object has no HDC
That message should no longer appear. Please retest in Wine 1.3.6 or later.
http://bugs.winehq.org/show_bug.cgi?id=24959
Pavel Ondracka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31607|0 |1 is obsolete| |
--- Comment #4 from Pavel Ondracka drakkk@centrum.cz 2010-11-10 10:27:47 CST --- Created an attachment (id=31829) --> (http://bugs.winehq.org/attachment.cgi?id=31829) teminal output with wine-1.3.6-335-gd5fa2ce
(In reply to comment #3)
fixme:gdiplus:GdipMeasureString graphics object has no HDC
That message should no longer appear. Please retest in Wine 1.3.6 or later.
Yes, this message no longer appears. Impulse now starts with corruption. there is a lot of
fixme:gdiplus:GdipFillRectangle graphics object has no HDC
And finally crash after some time with:
err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2011-03-10 14:56:39 CST --- Does builtin gdiplus still run out of handles? I'm hoping d0e6aa0204a5cd6c7d2f4696019f6f87897cf478 fixed that.
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #6 from Pavel Ondracka pavel.ondracka@gmail.com 2011-03-12 05:34:05 CST --- (In reply to comment #5)
Does builtin gdiplus still run out of handles? I'm hoping d0e6aa0204a5cd6c7d2f4696019f6f87897cf478 fixed that.
No, it still crash here with wine-1.3.15-205-ge030b3c.
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #7 from Vincent Povirk madewokherd@gmail.com 2011-03-12 11:30:59 CST --- OK but do you still see "err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash"?
If so, can you get a log like this:
WINEDEBUG=+relay wine program.exe >>relaylog 2>&1
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #8 from Pavel Ondracka pavel.ondracka@gmail.com 2011-03-12 15:16:34 CST --- Created an attachment (id=33609) --> (http://bugs.winehq.org/attachment.cgi?id=33609) last 10000 lines of +relay log
(In reply to comment #7)
OK but do you still see "err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash"?
If so, can you get a log like this:
WINEDEBUG=+relay wine program.exe >>relaylog 2>&1
Sorry, I should have been more specific. Yes, I still see "err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash". Last 10000 lines of the requested log attached, I hope it is enough, full relaylog is 5,1GB big.
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #9 from Vincent Povirk madewokherd@gmail.com 2011-03-17 10:46:21 CDT --- That part of the log is too late. Can you attach a segment from around the middle?
Since this is a gdi32 handle leak, I'm looking for an event that probably happens about 16000 times throughout the log. If I have a section of the log that includes enough of them, I can scan it for handles that have been allocated and never freed, and hopefully it will have enough information to figure out why that happens. 10000 lines is probably enough, but the larger a segment you can get, the better the probability that it will contain something useful.
Once the err:gdi message appears, we can't allocate any more handles, so I know it's too late.
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #10 from Pavel Ondracka pavel.ondracka@gmail.com 2011-03-17 15:55:11 CDT --- (In reply to comment #9)
That part of the log is too late. Can you attach a segment from around the middle?
Since this is a gdi32 handle leak, I'm looking for an event that probably happens about 16000 times throughout the log. If I have a section of the log that includes enough of them, I can scan it for handles that have been allocated and never freed, and hopefully it will have enough information to figure out why that happens. 10000 lines is probably enough, but the larger a segment you can get, the better the probability that it will contain something useful.
Once the err:gdi message appears, we can't allocate any more handles, so I know it's too late.
I wasn't able to identify the right part of the log, so I've uploaded the full relay log, 88 MB compressed, 5 GB uncompressed.
http://www.ondracka.cz/pavel/relaylog.tar.bz2
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #11 from Vincent Povirk madewokherd@gmail.com 2011-03-18 16:24:27 CDT --- Thanks, I think 314ec7178d8ef68e75670096b1cbd0fa3733c3aa will fix this.
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #12 from Pavel Ondracka pavel.ondracka@gmail.com 2011-03-20 05:19:54 CDT --- (In reply to comment #11)
Thanks, I think 314ec7178d8ef68e75670096b1cbd0fa3733c3aa will fix this.
It still crash with Wine 1.3.16, new relay log uploaded. http://www.ondracka.cz/pavel/relaylog2.tar.bz2
http://bugs.winehq.org/show_bug.cgi?id=24959
--- Comment #13 from Vincent Povirk madewokherd@gmail.com 2011-03-28 14:37:43 CDT --- OK, I think 42d1d9e9e008d174db0c51e42b5c779538f9d350 should fix this.
http://bugs.winehq.org/show_bug.cgi?id=24959
Pavel Ondracka pavel.ondracka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #14 from Pavel Ondracka pavel.ondracka@gmail.com 2011-03-28 16:35:48 CDT --- (In reply to comment #13)
OK, I think 42d1d9e9e008d174db0c51e42b5c779538f9d350 should fix this.
Yes, no crash so far, closing. Thank you.
http://bugs.winehq.org/show_bug.cgi?id=24959
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2011-04-01 12:40:46 CDT --- Closing bugs fixed in 1.3.17.