Summary: | xmms-mad: segfault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | crusaderky |
Component: | Current packages | Assignee: | Jeremy Huddleston (RETIRED) <eradicator> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | sound |
Priority: | High | ||
Version: | 1.4 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
crusaderky
2003-10-08 07:49:30 UTC
Did some extra debugging. So I emerged #CFLAGS="-g" USE="debug" xmms (note that this time it's 1.2.7-r20) #CFLAGS="-g" USE="debug" libid3tag then (as normal user) gdb xmms (gdb) set args xmms_segfault.mp3 (gdb) run Starting program: /usr/bin/xmms xmms_segfault.mp3 (no debugging symbols found)...[New Thread 16384 (LWP 29604)] (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...[New Thread 32769 (LWP 29605)] [New Thread 16386 (LWP 29606)] (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16386 (LWP 29606)] 0x40c39203 in id3_ucs4_length () from /usr/lib/libid3tag.so.0 (gdb) bt #0 0x40c39203 in id3_ucs4_length () from /usr/lib/libid3tag.so.0 #1 0x40c3923c in id3_ucs4_size () from /usr/lib/libid3tag.so.0 #2 0x40c39260 in id3_ucs4_latin1size () from /usr/lib/libid3tag.so.0 #3 0x40c3935d in id3_ucs4_latin1duplicate () from /usr/lib/libid3tag.so.0 #4 0x40b677f9 in input_read_tag () from /usr/lib/xmms/Input/libxmmsmad.so As, usual, MP... :) As you may note if you read the bug report, the segfault has NOTHING to do with the cdread warning; in fact it happens both on 1.2.8 and 1.2.7; on the latter there is NO warning about cdread and no reason to think it could be related to it That is, obviously, unless you're saying that audio CD use ID3. Can you try disabling the 'MAD MPEG Decoder' in the Input Plugin section of XMMS preferences. Make sure you have 'MPEG Layer 1/2/3 Player' enabled. This will force xmms to use libmpg123.so instead of libxmmsmad.so to decode mp3s. Also, if you want to keep debugging symbols (added with the -g option to CFLAGS), you need to add '-nostrip' to features... What I do is keep a section at the end of my make.conf that I uncomment when I want to debug stuff: # # Debug options # #CFLAGS="-march=pentium3 -mcpu=pentium3 -pipe -g" #USE="${USE} debug" #FEATURES="${FEATURES} nostrip" If that doesn't work, could you please try the re-emerging libid3tag, xmms, mad, and xmms-mad and providing us with the backtrace? CFLAGS="-g" USE="debug" FEATURES="nostrip" emerge libid3tag xmms mad xmms-mad Thanks. Yes, disablin MAD makes it work. I have recently added xmms-mad-0.5.6 to portage. Can please test with this new build and let me know if you find the same problems or if they have been resolved. xmms-mad-0.5.6 processes the ID3 correctly; however, it cuts off about the first 2 seconds of the song. It's a 192 kbps CBR 44100 kHz stereo mp3. By 'cuts off,' do you mean segfaults still, or does the audio just mute? Can you rovide us with a sample mp3 (small) that causes this problem? I mean that it starts from second 2, while claiming to start from second 0. Sorry I can't give you a sample since when I tried to trim it with audacity I got very bad distortion effects and the "cut" problem vanished, too. However, you can download the whole file from eDonkey: ed2k://|file|Eros Ramazzotti - Un Attimo Di Pace.mp3|6658048|5ed3dd3dd1634a0fbd7b7293bd7f366d|/ can you try updating to mad-0.15.0b xmms-mad-0.5.6 Hopefully this will clear it up... I already have those. mad-0.15.1b? I don't use edonkey. Can you provide the file to me some other way? ftp? http? ack... i keep forgetting about this bug when I have the chance... and I notice it when I don't... bumping severity so it'll catch my eye better Crusader, the mp3 you sent me works with the following installed: $ qpkg -I -v mad media-libs/libmad-0.15.1b * media-sound/gnomad-2.4.2 * media-sound/mad-0.15.1b * media-sound/madplay-0.15.1b * media-plugins/xmms-mad-0.5.6 * media-plugins/gst-plugins-mad-0.6.4 * (09:33:37 Thu Mar 18 2004 jeremy@eradicator) ~ $ qpkg -I -v xmms xfce-extra/xfce4-xmms-0.1.1 * media-sound/xmms-1.2.10-r1 * media-video/smpeg-xmms-0.3.5-r1 * media-plugins/xmms-arts-0.7.1 * media-plugins/xmms-finespectrum-1.0.1_alpha1 * media-plugins/xmms-mad-0.5.6 * media-plugins/xmms-imms-1.0.1 * Sorry this took so long to respond to. Are you having the problem still with 1.2.10-r1? It's starting at 0:00 for me. I like the song, btw. That's strange, it works for me too, without updating anything (only "x86" packages). It looks like it was some dependency's problem that has been fixed in the meantime ;) |