Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56821 - amd64: madplay segfaults on some id3 headers
Summary: amd64: madplay segfaults on some id3 headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL: http://dev.gentoo.org/~eradicator/id3...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 12:35 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-01-03 03:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-12 12:35:10 UTC
madman has a problem reading some mp3 tags.  sparc and x86 are fine with the same version of id3lib and madman (0.93 and 3.8.3-r2)

read tag: /home/jeremy/gentoo/sounds/id3lib.madplay.segfault.mp3
Segmentation fault

read tag: /home/jeremy/Music/Old Encodes/Rock/Pink Floyd/Us And Them Symphonic/03 Another Brick in the Wall (Part 2).mp3

Program received signal SIGSEGV, Segmentation fault.
0x00000000005034ce in header_bitrate ()
(gdb) bt
#0  0x00000000005034ce in header_bitrate ()
#1  0x0000000000503431 in frame_length ()
#2  0x00000000005033c7 in get_header ()
#3  0x0000000000503035 in get_first_header ()
#4  0x0000000000502c16 in get_mp3_info ()
#5  0x000000000049fbe1 in tMP3Song::readInfo() const ()
#6  0x000000000049e4a7 in tSong::ensureInfoIsThere() const ()
#7  0x00000000004a29d7 in tSongCollection::readTags(tProgress*, QString const&, std::vector<tSong*, std::allocator<tSong*> >*) ()
#8  0x00000000004a347b in tSongCollection::scan(std::vector<std::string, std::allocator<std::string> > const&, tProgress*) ()
#9  0x0000000000427bbc in tMainWindow::rescan(tDatabase*) ()
#10 0x00000000004298ef in tMainWindow::showPreferences(tDatabase*, int) ()
#11 0x0000000000428061 in tMainWindow::startNewDatabase() ()
#12 0x0000000000424fa0 in tMainWindow::tMainWindow(QString const&) ()
#13 0x000000000041fda6 in main ()

id3info (which is included in id3lib) reports:
=== TIT2 (Title/songname/content description): Another Brick in the Wall (Par
=== TPE1 (Lead performer(s)/Soloist(s)): Pink Floyd
=== TALB (Album/Movie/Show title): Us And Them Symphonic
=== COMM (Comments): (ID3v1 Comment)[XXX]: Ripped by Eradicator
=== TCON (Content type): (13)
*** mp3 info
MPEG1/layer III
Bitrate: 48KBps
Frequency: 44KHz

See the URL for the bad mp3
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-07-12 14:48:40 UTC
Sorry, dude. Works like a charm here ! :-/

phi root # id3info id3lib.madplay.segfault.mp3

*** Tag information for id3lib.madplay.segfault.mp3
=== TIT2 (Title/songname/content description): Another Brick in the Wall (Par
=== TPE1 (Lead performer(s)/Soloist(s)): Pink Floyd
=== TALB (Album/Movie/Show title): Us And Them Symphonic
=== COMM (Comments): (ID3v1 Comment)[XXX]: Ripped by Eradicator
=== TCON (Content type): (13)
*** mp3 info
MPEG1/layer III
Bitrate: 48KBps
Frequency: 44KHz
phi root # madplay id3lib.madplay.segfault.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
          Title: Another Brick in the Wall (Par
         Artist: Pink Floyd
          Album: Us And Them Symphonic
          Genre: Pop
        Comment: Ripped by Eradicator

phi root #

have you already tried to remerge ?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 03:45:04 UTC
seems it's related to the binutils problem fixed in cvs...