Old 1st September 2012, 11:31   #1
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,207
Send a message via AIM to MrSinatra
BUG: history page = blank box

win7 5.63

pretty simple, seems to be a bug. i click "history" in the nav tree and get a blank slate as if the DB is dead, but the smartviews, etc still work.

maybe its a corrupted file? i did have to rebuild the ML DB from scratch a week or two ago, maybe this history file is not fixed by that fix?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 1st September 2012, 12:00   #2
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,781
The History view isn't provided by ml_local and doesn't use the mldb (main.dat/.idx), it's provided by ml_history and uses recent.dat/.idx

Does your recent.idx file = 0 bytes?
DJ Egg is offline   Reply With Quote
Old 1st September 2012, 14:17   #3
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,207
Send a message via AIM to MrSinatra
no, my recent.idx = 20KB and my recent.dat = 502KB

what do you think is going on here? is there a fix? do i just delete these?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 1st September 2012, 14:38   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
upload the files.

-daz
DrO is offline   Reply With Quote
Old 1st September 2012, 14:54   #5
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,207
Send a message via AIM to MrSinatra
attached
Attached Files
File Type: zip Desktop.zip (936 Bytes, 271 views)

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 1st September 2012, 15:01   #6
DrO
 
Join Date: Sep 2003
Posts: 27,873
they're both full of null characters. you'll have to delete them to get the view to work again so it recreates new files. however the info which was in them is now gone.

is the first time i've seen it happen to the history files so like when it happens to the library version, am clueless on the cause. where there any other recent.* files in the settings folder?

-daz
DrO is offline   Reply With Quote
Old 1st September 2012, 15:14   #7
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,207
Send a message via AIM to MrSinatra
to find those files, i did C drive searches of the exact filenames. they were the only results.

here's what i think happened: i had winamp open (and probably actively playing something) a week or two ago, and something knocked my laptop, which rebooted it. its a great laptop, but it has a freefall sensor which is WAY too sensitive (i posted about that a few months ago). slight knocks cause hard reboots, and i can't do squat about it.

anyway, i launched winamp, and for the first time ever (that i can remember anyway) i got the "blank ML" screen, and it had the explanatory msg you put there with the button to click to delete and make new ML DB files. i did that and it worked, and i rescanned in the files to ML and np. but i never checked the history view. i think i have manually cleared and rescanned in the ML since then too.

so, if the laptop died or rebooted while playing, i think it could have killed both DB entities, (ie. history and ML). does that sound reasonable to you?

perhaps the history view now needs a similar "jic" button like the ML has when corrupted?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 1st September 2012, 15:23   #8
DrO
 
Join Date: Sep 2003
Posts: 27,873
that sounds reasonable with what has been assumed to be the likely cause of an incomplete write / update of the files which if the OS is trying to shut things down but there's the potential for Winamp to not enough time to do things (or it even gets halted part-way before Winamp is properly killed). unless the reboot was a an instant power-off event and then it's still likely but is harder to explain as there shouldn't have been a chance for Winamp to even attempt to start writing things out.

really a backup of the files is needed when a write / update happens (which is a better option and could be applied for _all_ database files) and / or like you mention a jic button like the library now has.

-daz
DrO is offline   Reply With Quote
Old 1st September 2012, 15:30   #9
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,207
Send a message via AIM to MrSinatra
there is no OS shutting down... the freefall sensor essentially turns off the computer instantly, immediate power cycle, (when it "senses" the need, which in my case is way too much). maybe winamp was writing the history at that moment, idk.

i was going to mention the backup thing, meaning building that smart redundancy into winamp, but i didn't want to annoy you.

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 1st September 2012, 15:37   #10
DrO
 
Join Date: Sep 2003
Posts: 27,873
it wouldn't be annoying me, is just a complete lack of time to get around to implementing it (and all of the other things that we've all agreed on should be done but just haven't). and with that now the gf is back home from work, i'm going to have some sort of break from work (as i've already done 10:30 to 16:30 today).

-daz
DrO is offline   Reply With Quote
Old 22nd April 2013, 12:41   #11
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,207
Send a message via AIM to MrSinatra
just a reminder to include the "jic" button to rebuild history like the ML has, as the history blanked out on me again recently (as I mentioned in the beta thread).

also, a reminder about implementing some kind of auto backup as discussed above.

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 6th June 2013, 10:49   #12
NiMareQ
Junior Member
 
Join Date: Nov 2012
Posts: 17
So, what is the solution?
NiMareQ is offline   Reply With Quote
Old 6th June 2013, 18:33   #13
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,207
Send a message via AIM to MrSinatra
you have to close winamp, and delete the files mentioned above, then restart winamp.

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Bug Reports

Tags
bug, history, media library, ml db, rebuild

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