Old 29th May 2005, 00:31   #1
dracula78
Junior Member
 
Join Date: May 2005
Posts: 1
[5.092] GDI object leak

Reproducible for me:
* Start Winamp, and make sure you're using the default modern skin
* Now open the Preferences
* Go to the Skins->Modern skin page
* Go to the Current skin tab
* Close the Preferences window

I use Windows taskmanager, and enabled the GDI objects column on the Processes tab. After doing the actions above the "GDI objects" count increases by approx. one every second...

When it reaches 10.000 exactly, Winamp crashes.
dracula78 is offline   Reply With Quote
Old 30th May 2005, 03:59   #2
drewbar
Sawg 2.0
Major Dude
 
Join Date: Mar 2004
Posts: 5,916
Reproduced the GDI Object leak via above instructions. But I don't want to wait the several hours to reproduce the 10,000 crash.

Egg?

Count with us!
Jan 1st, 12AM (PST, GMT -8) 2010 - 282,246
drewbar is offline   Reply With Quote
Old 30th May 2005, 04:19   #3
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,862
Yeah, for sure, I/we reproduced it, but also didn't have a few hours spare to wait for it to reach 10,000 (which is the Windows OS limit, btw).

It keeps leaking as soon as the Current Skin page is viewed (but only for any modern skin that displays an image on that page), and doesn't stop even after switching to another Prefs page. Though refreshing or switching skins makes it go away.

It'll be a bug somewhere in gen_ff no doubt... heh.
DJ Egg is offline   Reply With Quote
Old 30th May 2005, 04:25   #4
iron2000
Senior Member
 
iron2000's Avatar
 
Join Date: Mar 2002
Location: Singapore
Posts: 391
Using 5.08d and by following the instructions I too get the increasing GDI objects.

Something to do with the credits animation of the default modern skin?

Thanx
iron2000 is offline   Reply With Quote
Old 2nd June 2005, 16:13   #5
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,862
Alas, after further analysis, we still aren't sure of the cause :-(

Can you please tell us what the exact crash error message is?
DJ Egg is offline   Reply With Quote
Old 18th July 2005, 11:30   #6
Kiyouta
Member
 
Join Date: Jul 2005
Posts: 56
Unfortunately when the crash error message appears, it sort of doesn't because of the 10,000 GDI objects heh.

Something about an assertion failure in a certain .cpp file, but its hard to read anything else. That narrows it down huh?
Kiyouta is offline   Reply With Quote
Old 18th July 2005, 11:56   #7
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,862
Yeah, it's the name of the .cpp file we need, heh.
DJ Egg is offline   Reply With Quote
Old 18th July 2005, 20:54   #8
jmatthews112
Major Dude
 
Join Date: Jun 2003
Posts: 1,661
Send a message via AIM to jmatthews112 Send a message via Yahoo to jmatthews112
Error message at 10,000 GDI Objects reads:

Title: Assertion failed
Message box text:
Expression: hrgn != NULL
File: C:\projects\wasabi\api\wnd\platform\win32\win32_region.cpp
Line: 472
jmatthews112 is offline   Reply With Quote
Old 23rd July 2005, 20:31   #9
jahwz
Junior Member
 
Join Date: Jul 2005
Posts: 1
bug still in 5.094

just installed 5.094 on Windows XP Pro SP2, happened to open the "Current Skin" window then came back to the computer a few hours later to the crash screen. The error message here was the same:

code:

Expression: hrgn != NULL
File: C:\projects\wasabi\api\wnd\platform\win32\win32_region.cpp
Line: 472



Hope that helps!
jahwz is offline   Reply With Quote
Old 23rd July 2005, 20:40   #10
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,862
Yes. We know... that's why this is still referred to in the Known Bugs list. Thanks.
DJ Egg is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Bug Reports

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump