[Bug 22256] New: Miranda: alloc_gdi_handle out of GDI object handles, expect a crash
http://bugs.winehq.org/show_bug.cgi?id=22256 Summary: Miranda: alloc_gdi_handle out of GDI object handles, expect a crash Product: Wine Version: 1.1.42 Platform: x86 URL: http://miranda.googlecode.com/files/miranda-im-v0.8.19 -unicode.exe OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P1 Component: gdi32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: t.artem(a)mailcity.com This seems to be a 1.1.42 regression, but during some time of working with Miranda, parts of it stop refreshing, the interface goes awry and then the only option to work with Miranda is to restart it. console is flooded with messages like this one: err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a 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=22256 Artem S. Tashkinov <t.artem(a)mailcity.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression, | |source Severity|major |critical -- 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=22256 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Severity|critical |normal --- Comment #1 from Jeff Zaroyko <jeffz(a)jeffz.name> 2010-04-03 07:07:54 --- not critical: http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity If it's a regression please post the results of your regression test. -- 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=22256 Artem S. Tashkinov <t.artem(a)mailcity.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | Priority|P2 |P3 Severity|normal |minor --- Comment #2 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2010-04-03 07:26:29 --- It happens quite randomly, sometimes Miranda works for hours without this problem, so I have no idea how to debug this problem. It would have helped, if taskmanager built in Wine, showed the number of GDI objects allocated by a particular application, alas, taskmgr is very incomplete. -- 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=22256 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2010-04-03 09:14:34 --- Good idea. Please file a separate bug for the task manager enhancement request. -- 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=22256 --- Comment #4 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2010-04-03 11:16:20 --- (In reply to comment #3)
Good idea. Please file a separate bug for the task manager enhancement request.
Reported under Wineserver category, bug 22258. -- 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=22256 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|gdi32 |-unknown --- Comment #5 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-04-05 04:39:41 --- GDI handle leak is not necessary a gdi32 bug. Please post the results of your regression testing: http://wiki.winehq.org/RegressionTesting -- 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=22256 Artem S. Tashkinov <t.artem(a)mailcity.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2010-05-25 16:11:40 --- This bug is very hard to reproduce so I'm closing it for a while (or unless someone reports the same but new bug, so this one will be reopened). -- 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=22256 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|WORKSFORME |ABANDONED --- Comment #7 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-05-26 01:59:30 --- Abandoned then. Closing. -- 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=22256 --- Comment #8 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2011-05-15 03:49:56 CDT --- Created an attachment (id=34713) --> (http://bugs.winehq.org/attachment.cgi?id=34713) console output It's happened to me again. -- 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=22256 Artem S. Tashkinov <t.artem(a)mailcity.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|ABANDONED | Summary|Miranda: alloc_gdi_handle |Miranda: alloc_gdi_handle |out of GDI object handles, |out of GDI object handles, |expect a crash |expect a crash/Wine leaks | |GDI handles Severity|minor |normal --- Comment #9 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2011-06-02 02:07:59 CDT --- I found a way to reliably crash Wine/Miranda in just 2 seconds. Open a conversation window and try to move the horizontal delimiter up and down - Wine/Miranda will crash immediately. This bug is 100% reproducible. -- 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=22256 Flávio Henrique <yoshimit(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yoshimit(a)gmail.com --- Comment #10 from Flávio Henrique <yoshimit(a)gmail.com> 2011-06-17 21:09:53 CDT --- This happens too with Personal Finances Demo (available at http://br.financessoftware.com/download.html) Just try to generate any report/graph and the program freezes and the console is flooded with this message. -- 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=22256 --- Comment #11 from Flávio Henrique <yoshimit(a)gmail.com> 2011-06-17 21:12:22 CDT --- winetricks GDIPlus seems to be a workaround. -- 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=22256 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #12 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-01-25 17:33:20 CST --- Possibly fixed, please retest in latest development version. I can't get the crash in Miranda nor in Personal Finance. -- 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=22256 --- Comment #13 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-26 03:10:28 CST --- (In reply to comment #12)
Possibly fixed, please retest in latest development version. I can't get the crash in Miranda nor in Personal Finance.
Um, no. err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash GIT 5f42f7d4fa5999add7f225c46580ba7335f9f26d -- 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=22256 --- Comment #14 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-26 03:13:56 CST --- ine: Unhandled page fault on read access to 0x00000010 at address 0x7e01747f (thread 0034), starting debugger... Unhandled exception: page fault on read access to 0x00000010 in 32-bit code (0x7e01747f). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7e01747f ESP:0032ea80 EBP:0032eb48 EFLAGS:00010206( R- -- I - -P- ) EAX:00000000 EBX:7e03a2ec ECX:00000000 EDX:0012416c ESI:00134428 EDI:00000194 Stack dump: 0x0032ea80: 00009010 0012416c 00000000 7bc354e1 0x0032ea90: 000003a8 0032eaa0 00000002 7ea51c08 0x0032eaa0: 00000194 7ea572a0 0032eaf8 7bc354e1 0x0032eab0: 7ea572a0 7ea572a0 0032eb08 7bc355af 0x0032eac0: 7ea572a0 00000000 00000000 0012416c 0x0032ead0: 00000194 00000001 0032eb28 00009010 Backtrace: =>0 0x7e01747f xrenderdrv_SelectBrush+0x5f() in winex11 (0x0032eb48) 1 0x7e9d0402 BRUSH_SelectObject+0x91() in gdi32 (0x0032eb78) 2 0x7ea25ccb SelectObject+0xba() in gdi32 (0x0032ebc8) 3 0x7eaf2154 SCROLL_DrawInterior.clone+0x83() in user32 (0x0032ec48) 4 0x7eaf3180 SCROLL_DrawScrollBar+0x1ff() in user32 (0x0032ecb8) 5 0x7eaea7ea NC_DoNCPaint.clone+0x7e9() in user32 (0x0032f188) 6 0x7eaeae75 NC_HandleNCPaint+0x44() in user32 (0x0032f1a8) 7 0x7eaa7904 DEFWND_DefWinProc+0xdb3() in user32 (0x0032f268) 8 0x7eaa8665 DefWindowProcW+0x154() in user32 (0x0032f2b8) 9 0x7d749ada RichEditWndProc_common+0x4b9() in riched20 (0x0032f378) 10 0x7d749d0c RichEditWndProcW+0x2b() in riched20 (0x0032f3a8) 11 0x7eb184fa WINPROC_wrapper+0x19() in user32 (0x0032f3d8) 12 0x7eb18c4c call_window_proc+0x5b() in user32 (0x0032f428) 13 0x7eb1b3aa CallWindowProcW+0x59() in user32 (0x0032f478) 14 0x1292aad9 in srmm (+0xaad8) (0x0032f4c0) 15 0x7eb184fa WINPROC_wrapper+0x19() in user32 (0x0032f4f0) 16 0x7eb18c4c call_window_proc+0x5b() in user32 (0x0032f540) 17 0x7eb1b11d WINPROC_call_window+0x10c() in user32 (0x0032f590) 18 0x7eadbc71 call_window_proc+0x90() in user32 (0x0032f600) 19 0x7eae2466 send_message+0x205() in user32 (0x0032f680) 20 0x7eae28dc SendMessageW+0x4b() in user32 (0x0032f6d0) 21 0x7eaec3f5 send_ncpaint+0x344() in user32 (0x0032f7b0) 22 0x7eaedaee BeginPaint+0x5d() in user32 (0x0032f800) 23 0x7d74991c RichEditWndProc_common+0x2fb() in riched20 (0x0032f8c0) 24 0x7d749d0c RichEditWndProcW+0x2b() in riched20 (0x0032f8f0) 25 0x7eb184fa WINPROC_wrapper+0x19() in user32 (0x0032f920) 26 0x7eb18c4c call_window_proc+0x5b() in user32 (0x0032f970) 27 0x7eb1b3aa CallWindowProcW+0x59() in user32 (0x0032f9c0) 28 0x1292ac5b in srmm (+0xac5a) (0x0032fa08) 29 0x7eb184fa WINPROC_wrapper+0x19() in user32 (0x0032fa38) 30 0x7eb18c4c call_window_proc+0x5b() in user32 (0x0032fa88) 31 0x7eb1b11d WINPROC_call_window+0x10c() in user32 (0x0032fad8) 32 0x7eaddb1e DispatchMessageW+0x9d() in user32 (0x0032fbc8) 33 0x7eaaae34 IsDialogMessageW+0x113() in user32 (0x0032fd88) 34 0x00401edf in miranda32 (+0x1ede) (0x7dbe0000) 35 0x00000003 (0x00905a4d) 0x7e01747f xrenderdrv_SelectBrush+0x5f in winex11: movl 0x10(%ecx),%eax -- 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=22256 --- Comment #15 from Austin English <austinenglish(a)gmail.com> 2012-01-26 13:37:32 CST --- (In reply to comment #14)
=>0 0x7e01747f xrenderdrv_SelectBrush+0x5f() in winex11 (0x0032eb48) 1 0x7e9d0402 BRUSH_SelectObject+0x91() in gdi32 (0x0032eb78) 2 0x7ea25ccb SelectObject+0xba() in gdi32 (0x0032ebc8)
Please attach in the future (and also install debugging symbols). -- 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=22256 --- Comment #16 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-26 17:08:25 CST --- (In reply to comment #15)
(In reply to comment #14)
=>0 0x7e01747f xrenderdrv_SelectBrush+0x5f() in winex11 (0x0032eb48) 1 0x7e9d0402 BRUSH_SelectObject+0x91() in gdi32 (0x0032eb78) 2 0x7ea25ccb SelectObject+0xba() in gdi32 (0x0032ebc8)
Please attach in the future (and also install debugging symbols).
Since Wine is leaking its own resources thus allocating an insane amount of X11 resources, I don't think debug symbols can be of any help in this case. I have absolutely no clue as to how debug/watch internal Wine allocations. Maybe running Wine under valgrind can help? -- 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=22256 --- Comment #17 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2012-01-26 21:29:16 CST --- We are asking you to install wine debug symbols and attach _complete_ terminal output. That should be a good enough reason for you. -- 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=22256 --- Comment #18 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-26 21:46:17 CST --- (In reply to comment #15)
(In reply to comment #14)
=>0 0x7e01747f xrenderdrv_SelectBrush+0x5f() in winex11 (0x0032eb48) 1 0x7e9d0402 BRUSH_SelectObject+0x91() in gdi32 (0x0032eb78) 2 0x7ea25ccb SelectObject+0xba() in gdi32 (0x0032ebc8)
Please attach in the future (and also install debugging symbols).
That backtrace is useless, the app crashes *after* the GDI handle allocation has failed. -- 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=22256 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Miranda: alloc_gdi_handle |Miranda: alloc_gdi_handle |out of GDI object handles, |out of GDI object handles, |expect a crash/Wine leaks |expect a crash |GDI handles | -- 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=22256 --- Comment #19 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-26 22:01:04 CST --- It's been mentioned that installing gdiplus with winetricks helps, did you try it? -- 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=22256 --- Comment #20 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-27 03:17:48 CST --- (In reply to comment #19)
It's been mentioned that installing gdiplus with winetricks helps, did you try it?
With native GDI+ the behaviour is quite the same, wine 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=22256 --- Comment #21 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-27 03:23:07 CST --- (In reply to comment #20)
With native GDI+ the behaviour is quite the same, wine crashes.
Does it crash because of err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash or something else? -- 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=22256 --- Comment #22 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-27 04:42:31 CST --- (In reply to comment #21)
(In reply to comment #20)
With native GDI+ the behaviour is quite the same, wine crashes.
Does it crash because of
err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash
or something else?
Yes, this is what causes Wine to crash, though it takes quite a lot of meddling before it happens: grep err:gdi:alloc_gdi_handle miranda.wine.log | wc -l 291065 -- 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=22256 --- Comment #23 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-27 05:04:32 CST --- (In reply to comment #22)
Yes, this is what causes Wine to crash, though it takes quite a lot of meddling before it happens:
grep err:gdi:alloc_gdi_handle miranda.wine.log | wc -l 291065
And the steps to reproduce are ... ? -- 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=22256 --- Comment #24 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-01-27 05:11:06 CST --- (In reply to comment #23)
And the steps to reproduce are ... ?
You can read them in comment 9, although I couldn't crash it using that method. -- 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=22256 --- Comment #25 from Rico <kgbricola(a)web.de> 2012-01-27 05:12:36 CST --- Could you please try with a clean wine prefix? Do you have any addons installed in miranda? Which protocol do you use? -- 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=22256 --- Comment #26 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-27 05:18:36 CST --- (In reply to comment #25)
Could you please try with a clean wine prefix? Do you have any addons installed in miranda? Which protocol do you use?
It happens in a clean new prefix with Miranda running zero addition addons. (In reply to comment #23)
And the steps to reproduce are ... ?
Already posted them in comment #9. Open a new dialog with any contact on your contact list, and try to continuously move the horizontal delimiter up and down. Wine will crash eventually (at the beginning you'll notice Miranda icons and other essential interface elements disappearing). -- 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=22256 --- Comment #27 from Rico <kgbricola(a)web.de> 2012-01-27 05:32:35 CST --- Could you please attach a new log? Which protocol do you use? -- 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=22256 --- Comment #28 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-27 05:48:03 CST --- (In reply to comment #27)
Could you please attach a new log? Which protocol do you use?
This bug has *nothing* to do with any protocols (as it happens in offline mode as well), it's *UI* related. It is always the same, an awful lot of "err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash" (like I said earlier up to 300 thousand messages) followed by a crash similar to the on posted in comment #14. I'm not sure there's any need to post a new crash dump as Dmitry said earlier:
"That backtrace is useless, the app crashes *after* the GDI handle allocation has failed."
-- 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=22256 --- Comment #29 from Rico <kgbricola(a)web.de> 2012-01-27 06:00:01 CST --- Your last log showed a couple of fixme:richedit:ME_RTFReadPictGroup Non supported attribute: 3 13 6 before there where the errors. Are they still present? I don't get those (I neither get the errs)! I'm using ICQ and the UI looks different for different contacts (regardless if offline/online). Some have pictures, others not. Would you please so helpful and answer the asked questions, so that we may try to reproduce the problem? It looks like you are using a special case which doesn't happen to other people. -- 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=22256 --- Comment #30 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-27 06:14:07 CST --- (In reply to comment #29)
Your last log showed a couple of fixme:richedit:ME_RTFReadPictGroup Non supported attribute: 3 13 6 before there where the errors. Are they still present?
I don't get those (I neither get the errs)! I'm using ICQ and the UI looks different for different contacts (regardless if offline/online). Some have pictures, others not. Would you please so helpful and answer the asked questions, so that we may try to reproduce the problem? It looks like you are using a special case which doesn't happen to other people.
I will create a portable Miranda installation and upload it here so that you could see it/debug it yourself. Right now ICQ.com server is down and I cannot populate the contact list, please, give me some time. -- 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=22256 --- Comment #31 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-01-27 08:12:03 CST --- Artem, are you sure you're using the same Miranda from the bug url? Also, It looks like Miranda was know to leak as seen in these links: http://code.google.com/p/miranda/issues/detail?id=93#c1 http://forums.miranda-im.org/showthread.php?10606-War-against-high-GDI-resou... http://groups.google.com/group/miranda-im-commits/msg/802e700d4dd18bf4 http://groups.google.com/group/miranda-im-commits/msg/5b106ebe0706df86 Maybe we are using this older version before it was fixed in the application side (?) -- 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=22256 --- Comment #32 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-27 09:03:26 CST --- Created attachment 38570 --> http://bugs.winehq.org/attachment.cgi?id=38570 A set up portable Miranda installation for demonstration purposes OK, here it is. Vanilla Miranda 0.9.42 which reliably crashes (under) Wine. It starts with: fixme:richedit:ME_RTFReadPictGroup Non supported attribute: 3 13 7 fixme:richedit:ME_RTFReadPictGroup Non supported attribute: 3 13 8 err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash ... (a million more such messages) err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash ending with already seen: Backtrace: =>0 0x7e12e47f xrenderdrv_SelectBrush+0x5f() in winex11 (0x0032cbdc) ... 0x7e12e47f xrenderdrv_SelectBrush+0x5f in winex11: movl 0x10(%ecx),%eax ... (not gonna repeat it since it's the same) To reproduce: 1) Unpack this archive anywhere 2) Double click Samantha Taylor 3) Try to a) actively move up and down the horizontal delimiter - nothing may happen immediately OR b) try to close this window, open it again, and then try to actively resize it all using the right low handle at some point Wine will go crazy and 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=22256 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #33 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-01-27 22:14:40 CST --- I can confirm the crash now. It took me about 2 minutes doing the up/down horizontal bar movement. I guess I should have tried harder in the older version too and it would soon or later crash. Tested in 1.4-rc1. It's possible to see it leaking using +gdi: trace:gdi:free_gdi_handle freed OBJ_PEN 0x700 4201/16360 ... trace:gdi:free_gdi_handle freed OBJ_PEN 0x700 9820/16360 ... trace:gdi:free_gdi_handle freed OBJ_PEN 0x700 12050/16360 ... It goes until it reaches the last valid handle, then it starts dropping the out of resources message. -- 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=22256 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |richedit --- Comment #34 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-28 05:29:11 CST --- http://www.winehq.org/pipermail/wine-patches/2012-January/111208.html should fix it. -- 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=22256 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Miranda: alloc_gdi_handle |Miranda runs out of GDI |out of GDI object handles, |object handles and crashes |expect a 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=22256 --- Comment #35 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-28 05:54:16 CST --- (In reply to comment #34)
http://www.winehq.org/pipermail/wine-patches/2012-January/111208.html should fix it.
It fixes this bug, thank you! Feel free to close this bug report whenever this patch gets committed. Dmitry, can I ask you to look you into another related issue? When you move the horizontal delimiter its appearance breaks until you minimize/maximize a dialog window - it looks like some strange kind of UI tearing. Should I open a new bug report? -- 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=22256 --- Comment #36 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-28 05:58:43 CST --- (In reply to comment #35)
Dmitry, can I ask you to look you into another related issue? When you move the horizontal delimiter its appearance breaks until you minimize/maximize a dialog window - it looks like some strange kind of UI tearing. Should I open a new bug report?
Please open another bug report. -- 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=22256 --- Comment #37 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-01-30 14:19:45 CST --- The commited patch was simpler than what Dmitry sent, I think a retest would be best before marking fixed. http://source.winehq.org/git/wine.git/commit/e2264859c8f8837b808e2ef9ce1dc0f... -- 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=22256 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e2264859c8f8837b808e2ef9ce1 | |dc0fe6b571e0c Status|NEW |RESOLVED Resolution| |FIXED --- Comment #38 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-30 22:01:58 CST --- (In reply to comment #37)
The commited patch was simpler than what Dmitry sent, I think a retest would be best before marking fixed.
http://source.winehq.org/git/wine.git/commit/e2264859c8f8837b808e2ef9ce1dc0f...
The leaks should be fixed by that version as well. DeleteDC() selects default bitmap into the being deleted DC, so DeleteObject(stgm.u.hBitmap) after it also works. It's not obvious without looking at the DeleteDC() internal implementaion, and somewhat convoluted, but it works same way as an explicit selection of an old (stock) 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=22256 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #39 from Alexandre Julliard <julliard(a)winehq.org> 2012-02-02 13:37:24 CST --- Closing bugs fixed in 1.4-rc2. -- 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