Old 10th June 2007, 08:11   #1
fatcerberus1
Major Dude
 
fatcerberus1's Avatar
 
Join Date: Mar 2007
Location: United States
Posts: 806
Probe for lost songs causes crash

I recently tried to run a "probe for lost songs" on my shuffle, since the DB seems to have been inexplicably wiped out. Unfortunately, probe for lost songs crashes Winamp every time for me.

If it helps, I've attached a debuglog from immediately after the crash.
Attached Files
File Type: zip debuglogs.zip (1.4 KB, 99 views)

Windows 7 Beta
iPod touch (Second Generation), 8GB
Winamp 5.55 with ml_iPod 3.08
fatcerberus1 is offline   Reply With Quote
Old 10th June 2007, 17:52   #2
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Could not reproduce this. Try the debugger, please... Might be some special track that causes problems...???

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 10th June 2007, 19:34   #3
fatcerberus1
Major Dude
 
fatcerberus1's Avatar
 
Join Date: Mar 2007
Location: United States
Posts: 806
It's crashing in itemlist.cpp, specifically in C_ItemList::Add. The reason appears to be an invalid this pointer (at the time of the crash, this = 0x00000034)

I'll have to investigate this some more...

Edit: If it helps, it only seems to crash if there actually are lost songs. I was only able to reproduce it by deleting all the songs off the iPod, transferring some new songs, then doing Safely Remove on the iPod without ejecting it.

Windows 7 Beta
iPod touch (Second Generation), 8GB
Winamp 5.55 with ml_iPod 3.08
fatcerberus1 is offline   Reply With Quote
Old 10th June 2007, 19:48   #4
fatcerberus1
Major Dude
 
fatcerberus1's Avatar
 
Join Date: Mar 2007
Location: United States
Posts: 806
Found it.

shuffles don't support playlists. So when ml_iPod tries to create a "Lost & Found" playlist to contain the missing tracks, add_new_playlist returns NULL. Therefore, pl==NULL, so when you try to call Add on it to add a track, ml_iPod crashes.

Should be simple enough to fix myself...

Edit: Fixed.

Windows 7 Beta
iPod touch (Second Generation), 8GB
Winamp 5.55 with ml_iPod 3.08
fatcerberus1 is offline   Reply With Quote
Old 11th June 2007, 05:48   #5
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Cool. But I think I'll change that later, to allow this special playlist even on a shuffle. It's very handy.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 11th June 2007, 13:28   #6
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Ok, this is fixed now with 3.00p05. Thanks for finding the cause.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp iPod Plugin Discussion

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