Bugzilla – Bug 4282
Slimserver crashes on sample MP3 files
Last modified: 2008-12-18 11:11:39 UTC
On scanning either of these files, Slimserver 6.5.1 crashes on both Mac and XP. These files play fine in Quicktime & iTunes on a Mac. They play fine in WinAmp & iTunes on XP. However, iTunes cannot read the tags it appears. ID3X also cannot read the tags. MP3-info reads them.
Created attachment 1616 [details] MP3 file that crashes Slimserver
Created attachment 1617 [details] MP3 file that crashes Slimserver
Hi Dan. Did you receive these from a customer? Were you able to reproduce the crash on your system, or should I verify?
Subject: Re: Slimserver crashes on sample MP3 files I received these from a customer. (tmid 10118) I have reproduced the crash on both my Mac and my PC.
I can't get SlimServer to crash with one of these files in my music dir. It scans and plays fine for me (only tested with Softsqueeze). The tags are not read, however. What's the crash message you get? I do get this though: Use of uninitialized value in multiplication (*) at /Users/andy/dev/Slim/6.5/server/lib/MP3/Info.pm line 1821, <$fh> line 1. Use of uninitialized value in multiplication (*) at /Users/andy/dev/Slim/6.5/server/lib/MP3/Info.pm line 1821, <$fh> line 1. Use of uninitialized value in multiplication (*) at /Users/andy/dev/Slim/6.5/server/lib/MP3/Info.pm line 1821, <$fh> line 1. Use of uninitialized value in multiplication (*) at /Users/andy/dev/Slim/6.5/server/lib/MP3/Info.pm line 1821, <$fh> line 1.
Event log shows the following for scanner.exe: Faulting application scanner.exe, version 0.0.0.0, faulting module perl58.dll, version 5.8.8.819, fault addresss 0x00085b62. Just afterwards there is a drwatson report with the following: The application, C:\PROGRA~1\SLIMSE~1\server\scanner.exe, generated an application error. The error occurred on 10/05/2006 @ 14:07:50.796. The exception generated was c0000005 at address 28085B62 (perl58!Perl_stashpv_hvname_match) I'll attach the log file from running scanner at the command line.
Created attachment 1622 [details] log from running scanner.exe at command line just with the -d_scan option
Created attachment 1646 [details] Another MP3 file that crashes slimserver Here's a file from my library that crashes slimserver. I get the following error message while scanning: 2006-10-14 10:32:31.5341 ERROR: Error executing 'INSERT INTO tracks (audio, audio_offset, audio_size, bitrate, block_alignment, content_type, drm, filesize, lossless, lyrics, rating, remote, replay_gain, replay_peak, samplerate, secs, tagversion, timestamp, title, titlesearch, titlesort, tracknum, url, year) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, Created with mp3Tag, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)': DBD::mysql::st execute failed: called with 24 bind variables when 23 are needed at /usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 771. 2006-10-14 10:32:31.5343 ERROR: Backtrace follows: 2006-10-14 10:32:31.5346 Backtrace: frame 0: Slim::Schema::Storage::throw_exception (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 773) frame 1: DBIx::Class::Storage::DBI::_execute (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 788) frame 2: DBIx::Class::Storage::DBI::insert (/usr/local/slimserver/CPAN/DBIx/Class/Row.pm line 75) frame 3: DBIx::Class::Row::insert (/usr/local/slimserver/CPAN/DBIx/Class/PK/Auto.pm line 43) frame 4: DBIx::Class::PK::Auto::insert (/usr/local/slimserver/CPAN/DBIx/Class/ResultSet.pm line 1335) frame 5: DBIx::Class::ResultSet::create (/usr/local/slimserver/Slim/Schema.pm line 794) frame 6: Slim::Schema::newTrack (/usr/local/slimserver/Slim/Utils/Scanner.pm line 322) frame 7: Slim::Utils::Scanner::scanDirectory (/usr/local/slimserver/Slim/Music/MusicFolderScan.pm line 72) frame 8: Slim::Music::MusicFolderScan::startScan (/usr/local/slimserver/Slim/Music/Import.pm line 422) frame 9: Slim::Music::Import::runImporter (/usr/local/slimserver/Slim/Music/Import.pm line 265) frame 10: Slim::Music::Import::runScan (/usr/local/slimserver/scanner.pl line 180) frame 11: (eval) (/usr/local/slimserver/scanner.pl line 174) frame 12: main::main (/usr/local/slimserver/scanner.pl line 312) 2006-10-14 10:32:31.5429 ERROR: Scanner: Failed when running main scan: [Carp::Clan::__ANON__(): Error executing 'INSERT INTO tracks (audio, audio_offset, audio_size, bitrate, block_alignment, content_type, drm, filesize, lossless, lyrics, rating, remote, replay_gain, replay_peak, samplerate, secs, tagversion, timestamp, title, titlesearch, titlesort, tracknum, url, year) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, Created with mp3Tag, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)': DBD::mysql::st execute failed: called with 24 bind variables when 23 are needed at /usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 771. ] 2006-10-14 10:32:31.5431 ERROR: Scanner: Skipping post-process & Not updating lastRescanTime!
Extra information about my experience with this bug is being discussed in the forum: http://forums.slimdevices.com/showthread.php?t=28674
Fixed in change 10369
Created attachment 1650 [details] MP3 that caused SlimServer to crash whilst scanning