Bug 4416 - Slimserver crashes on rescan
: Slimserver crashes on rescan
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 6.5.1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-23 11:38 UTC by Dan Evans
Modified: 2007-05-21 13:14 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
log file from manual scanner run (1.71 KB, application/octet-stream)
2006-10-23 11:40 UTC, Dan Evans
Details
New log from manual scan per KDF's flags (6.20 KB, application/octet-stream)
2006-10-30 16:28 UTC, Dan Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Evans 2006-10-23 11:38:37 UTC
(reference tmid 11714)

Customer upgraded to 6.5.  Now his server crashes if he rescans his library.  But if if rescans with "Clear library and rescan everything" it does not crash.  Only when he uses "Look for new and changed music".
Comment 1 Dan Evans 2006-10-23 11:40:19 UTC
Created attachment 1662 [details]
log file from manual scanner run

this is the results from > scanner.exe --wipe --d_import --d_server --d_scan 
--logfile=C:\slimserver.log
Comment 2 KDF 2006-10-23 11:42:22 UTC
that looks like a failure to connect to mysql.  the server MUST be running when scanner is run manually.
Comment 3 Dan Evans 2006-10-24 11:42:40 UTC
we checked.  mysql is indeed running.
Comment 4 KDF 2006-10-24 12:08:26 UTC
try running slim.exe --d_import --d_scan --d_server --logfile=c:\slimserver.log instead.  The previous log isn't really showing a proper "crash".  Rather it is an inability to initialise and can't be trusted to be the SAME problem that is causing slimserver to crash.

this is rather similar to bug 4299.
Comment 5 Chris Owens 2006-10-30 14:40:59 UTC
Did you have a chance to try KDF's suggestion, Dan?
Comment 6 Dan Evans 2006-10-30 16:28:44 UTC
Created attachment 1677 [details]
New log from manual scan per KDF's flags
Comment 7 Dan Evans 2006-10-30 17:04:26 UTC
I have an additional support ticket that is showing something similar to this behavior. (support tmid 11953)  Scanner.exe is crashing if he tries either "Clear library and rescan everything" or "Look for new and changed music".  But, when he manually runs scanner.exe it successfully scans his files.

He's running: scanner.exe --wipe --d_import --d_server --d_scan --logfile=C:\slimserver.log  (but because it worked, he did not provide the log file)
Comment 8 KDF 2006-10-30 20:45:43 UTC
if scanner.exe works, when a launch from slim.exe fails it may be a permissions problem.
Comment 9 Chris Owens 2006-10-31 09:42:54 UTC
Or it could be that some scanner option is being tried by slim.exe that is not being specified when he types it in by hand.  For instance musicmagic, moodlogic, iTunes, or some debug flags.  I'd be interested to know if he has musicmagic, moodlogic, itunes, or any debug settings turned on in the GUI, if you talk to him again, Dan.
Comment 10 KDF 2007-05-17 16:06:57 UTC
Any more info here?
Comment 11 Dan Evans 2007-05-21 11:25:57 UTC
Regarding the first customer (11714) he updated to the new Slimserver on 11/05/06 and reported that everything was working correctly.

Regarding the second customer (11953) he suffered thru the odd behavior until he bought a new computer in February.  The new system has Vista and therefore he ran into the common Vista problems, but did not report any scanning issues.  He stopped responding after that.

Close bug?