Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168235 - media-sound/cdparanoia-3.9.8-r5 crashes with 2.6.19-gentoo-r5
Summary: media-sound/cdparanoia-3.9.8-r5 crashes with 2.6.19-gentoo-r5
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-24 14:03 UTC by Torbjörn Svensson
Modified: 2007-11-27 18:19 UTC (History)
1 user (show)

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


Attachments
bt full (cdparanoia-bt.log,3.03 KB, text/plain)
2007-02-24 14:03 UTC, Torbjörn Svensson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjörn Svensson 2007-02-24 14:03:10 UTC
I have detected two problems with cdparanoia and sys-kernel/gentoo-sources-2.6.19-r5. The first is a bit easier to tell about.

cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Ripping from sector       0 (track  1 [0:00.00])
	  to sector  186424 (track  4 [9:11.24])

outputting to track01.cdda.wav

 (== PROGRESS == [                             +| 062424 09 ] == :^D * ==)   

outputting to track02.cdda.wav

 (== PROGRESS == [!>                            | 063725 09 ] == ;-( . ==)   *** glibc detected *** cdparanoia: free(): invalid next size (normal): 0x0000000000566d90 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b954d1c0aad]
/lib/libc.so.6(__libc_free+0x76)[0x2b954d1c20d6]
/usr/lib/libcdda_paranoia.so.0(i_cblock_destructor+0x24)[0x2b954cefd384]
/usr/lib/libcdda_paranoia.so.0(free_elem+0x56)[0x2b954cefd3f6]
/usr/lib/libcdda_paranoia.so.0(i_paranoia_trim+0xad)[0x2b954cefdd2d]
/usr/lib/libcdda_paranoia.so.0(paranoia_read_limited+0xed)[0x2b954cefbe6d]
cdparanoia[0x403761]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b954d173374]
cdparanoia[0x401a69]
======= Memory map: ========
00400000-00408000 r-xp 00000000 08:03 819106                             /usr/bin/cdparanoia
00507000-00508000 rw-p 00007000 08:03 819106                             /usr/bin/cdparanoia
00508000-00cef000 rw-p 00508000 00:00 0                                  [heap]
2b954cccd000-2b954cce8000 r-xp 00000000 08:03 1256702                    /lib64/ld-2.5.so
2b954cce8000-2b954ccea000 rw-p 2b954cce8000 00:00 0 
2b954cd07000-2b954cd89000 rw-p 2b954cd07000 00:00 0 
2b954cde8000-2b954cde9000 r--p 0001b000 08:03 1256702                    /lib64/ld-2.5.so
2b954cde9000-2b954cdea000 rw-p 0001c000 08:03 1256702                    /lib64/ld-2.5.so
2b954cdea000-2b954cdf7000 r-xp 00000000 08:03 819105                     /usr/lib64/libcdda_interface.so.0.9.8
2b954cdf7000-2b954cef7000 ---p 0000d000 08:03 819105                     /usr/lib64/libcdda_interface.so.0.9.8
2b954cef7000-2b954cef8000 rw-p 0000d000 08:03 819105                     /usr/lib64/libcdda_interface.so.0.9.8
2b954cef8000-2b954cf00000 r-xp 00000000 08:03 819112                     /usr/lib64/libcdda_paranoia.so.0.9.8
2b954cf00000-2b954cfff000 ---p 00008000 08:03 819112                     /usr/lib64/libcdda_paranoia.so.0.9.8
2b954cfff000-2b954d000000 rw-p 00007000 08:03 819112                     /usr/lib64/libcdda_paranoia.so.0.9.8
2b954d000000-2b954d054000 r-xp 00000000 08:03 1256749                    /lib64/libm-2.5.so
2b954d054000-2b954d153000 ---p 00054000 08:03 1256749                    /lib64/libm-2.5.so
2b954d153000-2b954d155000 rw-p 00053000 08:03 1256749                    /lib64/libm-2.5.so
2b954d155000-2b954d156000 rw-p 2b954d155000 00:00 0 
2b954d156000-2b954d287000 r-xp 00000000 08:03 1256705                    /lib64/libc-2.5.so
2b954d287000-2b954d387000 ---p 00131000 08:03 1256705                    /lib64/libc-2.5.so
2b954d387000-2b954d38a000 r--p 00131000 08:03 1256705                    /lib64/libc-2.5.so
2b954d38a000-2b954d38c000 rw-p 00134000 08:03 1256705                    /lib64/libc-2.5.so
2b954d38c000-2b954d56c000 rw-p 2b954d38c000 00:00 0 
2b954d7cf000-2b954d842000 rw-p 2b954d672000 00:00 0 
2b954d842000-2b954d84e000 r-xp 00000000 08:03 2394555                    /lib64/libgcc_s.so.1
2b954d84e000-2b954d94e000 ---p 0000c000 08:03 2394555                    /lib64/libgcc_s.so.1
2b954d94e000-2b954d94f000 rw-p 0000c000 08:03 2394555                    /lib64/libgcc_s.so.1
2b9550000000-2b9550021000 rw-p 2b9550000000 00:00 0 
2b9550021000-2b9554000000 ---p 2b9550021000 00:00 0 
7fff5ddc8000-7fff5dddd000 rw-p 7fff5ddc8000 00:00 0                      [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]



The second didn't produce this backtrace, but I was able to get a coredump, bt full attached.

This problems appeared after I recently upgraded from gentoo-sources-2.6.18-r4 to gentoo-sources-2.6.19-r5. With .18 I have successfully ripped around 500 cd's without a single problem. Now, almost every cd fails.
I tried fetching latest svn from http://svn.xiph.org/trunk/cdparanoia/ and it seams to work. At least on some of the cd's the gentoo-version failed on (haven't got time to test all yet).


To me, it looks like some changes in 2.6.18->2.6.19 broke cdparanoia in portage.
Comment 1 Torbjörn Svensson 2007-02-24 14:03:49 UTC
Created attachment 111124 [details]
bt full
Comment 2 Stian Skjelstad 2007-07-19 07:18:50 UTC
Is this still an issue, if so, could you try to:

CFLAGS=-g FEATURES=nostrip emerge cdparanoia

emerge valgrind

valgrind cdparanoia

Since issues with free() and friends often comes from errors valgrind can detect.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-10-20 19:07:15 UTC
Please try with media-sound/cdparanoia-3.10_pre0 which is in tree now.

Note: It's temporarily masked because it needs to be tested on FreeBSD but other than that, it's good to go.
Comment 4 Torbjörn Svensson 2007-11-02 16:03:00 UTC
Sorry for taking so long to respond. I have just moved and can therefor not find any of those CD:s that caused this bug. I can see if I can get my hands on one again, but it will take a while (like 2 months or something).

I'll get back to you whenever I can find another CD that causes this error.
Comment 5 Torbjörn Svensson 2007-11-27 18:19:31 UTC
Finally, I found one cd that did make cdparanoia crach (the 3.8.9-r5 version) and that particular case were fixed when I upgraded to 3.10_pre0. 

As this cd worked, I will close this bug. If someone should find that this isn't the case, then reopen it. I do no longer have access to that huge amount of broken cd's that I had last spring so I can't do a real testcase here.