PDA

View Full Version : Slimserver 6.2.x rev 4319 crashes (and burns) on initial scan.



gharris999
2005-09-16, 10:27
For the past several days, Slimserver 6.2 has been crashing when completing an initial scan
of my library. If I delete slimserver.pref and slimserversql.db, then start slimserver and
set the prefs to point to my music library, slimserver manages to complete the scan (I think)
but crashes after outputting this error message over and over:



2005-09-16 11:16:14.4870 The following error occurred: Can't call method "get" o
n an undefined value at C:/Program Files/SlimServerBeta/server/Slim/DataStores/D
BI/DBIStore.pm line 1499.

2005-09-16 11:16:14.4875 Backtrace:

frame 0: Slim::DataStores::DBI::DBIStore::readTags (C:/Program Files/SlimServ
erBeta/server/Slim/DataStores/DBI/DBIStore.pm line 399)
frame 1: Slim::DataStores::DBI::DBIStore::newTrack (C:/Program Files/SlimServ
erBeta/server/Slim/DataStores/DBI/DBIStore.pm line 520)
frame 2: Slim::DataStores::DBI::DBIStore::updateOrCreate (C:/Program Files/Sl
imServerBeta/server/Slim/DataStores/DBI/DBIStore.pm line 182)
frame 3: Slim::DataStores::DBI::DBIStore::objectForUrl (C:/Program Files/Slim
ServerBeta/server/Slim/Utils/Scan.pm line 542)
frame 4: Slim::Utils::Scan::readList (C:/Program Files/SlimServerBeta/server/
Slim/Utils/Scan.pm line 214)
frame 5: Slim::Utils::Scan::addToList_run (C:/Program Files/SlimServerBeta/se
rver/Slim/Utils/Scheduler.pm line 97)
frame 6: Slim::Utils::Scheduler::run_tasks (slimserver.pl line 622)
frame 7: main::idle (slimserver.pl line 581)
frame 8: main::main (slimserver.pl line 1187)

Can't call method "get" on an undefined value at C:/Program Files/SlimServerBeta
/server/Slim/DataStores/DBI/DBIStore.pm line 1499.
Press any key to continue . . .

I'm running ActiveState Perl 5.8.7 on WinXP Pro SB2.

Dan Sully
2005-09-16, 10:32
* gharris999 shaped the electrons to say...

>For the past several days, Slimserver 6.2 has been crashing when
>completing an initial scan
>of my library. If I delete slimserver.pref and slimserversql.db, then
>start slimserver and
>set the prefs to point to my music library, slimserver manages to
>complete the scan (I think)
>but crashes after outputting this error message over and over:

I just commited a fix for this.. would love to know what track it's crashing on though.

-D
--
<noah> the auto mechanic told me there was something wrong with my rear differential.
I told him I never took calculus.

gharris999
2005-09-16, 10:39
I'm giving the new version a try. In case it does crash again, what debugging flags do you suggest that I try in order to identify the offending, killer track?

For that matter, which debugging tools you would reccomend for tracing and stepping through the perl code? I'm a "c" only guy, so I don't really know the perl tool chain.

Dan Sully
2005-09-16, 10:55
* gharris999 shaped the electrons to say...

>I'm giving the new version a try. In case it does crash again, what
>debugging flags do you suggest that I try in order to identify the
>offending, killer track?

--d_scan & --d_info

Thanks.

-D
--
They're techno trousers, ex-NASA, fantastic for walkies!

gharris999
2005-09-16, 10:57
Well, you fixed it, thank you very much. So I don't know what the offending tack was.