Bug 13486 - Scanner crashes on m4a file (7.4~28225)
: Scanner crashes on m4a file (7.4~28225)
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.0
: PC Ubuntu Linux
: P1 normal (vote)
: 7.4.0
Assigned To: Andy Grundman
: Audio::Scan
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-19 12:34 UTC by Ben Sandee
Modified: 2009-10-06 13:16 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
file that causes the crash (7.60 MB, audio/mpeg)
2009-08-19 12:34 UTC, Ben Sandee
Details
Scanner/Server log file (4.59 KB, application/rtf)
2009-08-24 07:52 UTC, James Richardson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Sandee 2009-08-19 12:34:56 UTC
Created attachment 5632 [details]
file that causes the crash

The scanner from 7.4~28225 crashes on an m4a file I have (attached).

[09-08-19 10:13:54.7691] Slim::Utils::Scanner::scanDirectory (328) Scanning:
/net/cedar/home/music/Sonic Youth/Goo/01 Dirty Boots.m4a
[09-08-19 10:13:54.8526] main::main (287) Warning: Attempt to free unreferenced
scalar: SV 0x9e0ab70, Perl interpreter: 0x8378008 at
/usr/sbin/squeezeboxserver-scanner line 287.
[09-08-19 10:13:54.8533] main::main (287) Warning: Attempt to free unreferenced
scalar: SV 0x9e0ab70, Perl interpreter: 0x8378008 at
/usr/sbin/squeezeboxserver-scanner line 287.
[09-08-19 10:13:54.8538] main::main (287) Warning: Attempt to free unreferenced
scalar: SV 0x9e0ab70, Perl interpreter: 0x8378008 at
/usr/sbin/squeezeboxserver-scanner line 287.
[09-08-19 10:13:54.8544] main::main (287) Warning: Attempt to free unreferenced
scalar: SV 0x9e0ab70, Perl interpreter: 0x8378008 at
/usr/sbin/squeezeboxserver-scanner line 287.
[09-08-19 10:13:54.8636] main::main (299) Error: Failed when running main scan:
[panic: attempt to copy freed scalar 9e0ab70 to 9deece0 at
/usr/share/perl5/Slim/Formats.pm line 252.
]
[09-08-19 10:13:54.8645] main::main (300) Error: Skipping post-process & Not
updating lastRescanTime!
Comment 1 James Richardson 2009-08-24 07:50:00 UTC
QA confirmed, the attached file does cause the scanner in Version: 7.4 - r28249 to crash.  Logs attached
Comment 2 James Richardson 2009-08-24 07:52:40 UTC
Created attachment 5671 [details]
Scanner/Server log file
Comment 3 SVN Bot 2009-08-26 17:01:15 UTC
 == Auto-comment from SVN commit #406 to the opensource repo by andy ==
 == https://svn.slimdevices.com/opensource?view=revision&revision=406 ==

Bug 13486, fix crasher when parsing MP4 files with multiple values for a key.  Will add proper parsing of these keys soon
Comment 4 SVN Bot 2009-08-26 18:17:06 UTC
 == Auto-comment from SVN commit #407 to the opensource repo by andy ==
 == https://svn.slimdevices.com/opensource?view=revision&revision=407 ==

Fixed bug 13486, properly parse MP4 files with array keys
Comment 5 Ben Sandee 2009-08-28 10:09:49 UTC
I'm still seeing this crash using the 'unstable' Debian repository.  Has it not made its way from the 'opensource' repo into the SBS builds?

Version: 7.4 - r28321 @ Fri Aug 28 04:01:03 PDT 2009
Hostname: monty
Server IP Address: 192.168.0.3
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: i686-linux
Perl Version: 5.10.0 - i486-linux-gnu-thread-multi
MySQL Version: 5.0.75-0ubuntu10.2
Total Players Recognized: 0
Comment 6 Andy Grundman 2009-08-28 10:13:28 UTC
No, not yet, sorry.
Comment 7 Ben Sandee 2009-08-31 10:26:34 UTC
confirmed fixed, thanks Andy.
Comment 8 James Richardson 2009-10-06 13:16:53 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.