Menu

#163 Crash when reading CD, possibly copy-protected

open
nobody
None
5
2008-03-22
2008-03-22
Anonymous
No

(gdb) run
Starting program: /usr/local/bin/cdrdao read-cd --datafile /tmp/cd.bin --device /dev/sr0 --driver generic-mmc /tmp/cd.toc
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /usr/lib64/libstdc++.so.6
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/64/ce37a1b7ee7ce1c23dcfe9344cbb361c321b8f.debug
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/91/f8d452c6cc80573296b2bbb28a1dd076b0507f.debug
Cdrdao version 1.2.2 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

/dev/sr0: PIONEER DVD-RW DVR-212D Rev: 1.21
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

Reading toc and track data...

Track Mode Flags Start Length
------------------------------------------------------------
1 AUDIO 0 00:00:00( 0) 05:29:27( 24702)
2 AUDIO 0 05:29:27( 24702) 04:52:68( 21968)
3 AUDIO 0 10:22:20( 46670) 05:46:20( 25970)
4 AUDIO 0 16:08:40( 72640) 04:26:62( 20012)
5 AUDIO 0 20:35:27( 92652) 04:04:20( 18320)
6 AUDIO 0 24:39:47(110972) 06:30:28( 29278)
7 AUDIO 0 31:10:00(140250) 04:27:07( 20032)
8 AUDIO 0 35:37:07(160282) 04:22:43( 19693)
9 AUDIO 0 39:59:50(179975) 03:19:20( 14945)
10 AUDIO 0 43:18:70(194920) 04:49:05( 21680)
Leadout AUDIO 0 48:08:00(216600)

PQ sub-channel reading (audio track) is supported, data format is BCD.
Raw P-W sub-channel reading (audio track) is supported.
Copying audio tracks 1-10: start 00:00:00, length 48:08:00 to "/tmp/cd.bin"...
Track 1...
Found ISRC code.
Track 2...
Found pre-gap: 00:03:01
Found ISRC code.
Track 3...
Found ISRC code.
Track 4...
Found ISRC code.
Track 5...
Found pre-gap: 00:02:39
Found ISRC code.
Track 6...
Found ISRC code.
[New Thread 47012205433664 (LWP 30176)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47012205433664 (LWP 30176)]
0x0000003c41475ef9 in __libc_free (mem=0x900eb0) at malloc.c:3615
3615 ar_ptr = arena_for_chunk(p);
Current language: auto; currently c
(gdb) BT
#0 0x0000003c41475ef9 in __libc_free (mem=0x900eb0) at malloc.c:3615
#1 0x00000000004313b6 in i_cblock_destructor (c=0x6ce6b0) at p_block.c:88
#2 0x0000000000431436 in free_elem (e=0x8d5ba0, free_ptr=1) at p_block.c:42
#3 0x00000000004314e7 in recover_cache (p=0x6ce420) at p_block.c:201
#4 0x000000000042dfc9 in i_read_c_block (p=0x6ce420,
beginword=<value optimized out>, endword=<value optimized out>,
callback=0x40b320 <CdrDriver::paranoiaCallback(long, int)>)
at paranoia.c:1104
#5 0x000000000042fe90 in paranoia_read_limited (p=0x6ce420,
callback=0x40b320 <CdrDriver::paranoiaCallback(long, int)>, max_retries=20)
at paranoia.c:1240
#6 0x000000000040b52b in CdrDriver::readAudioRangeParanoia (this=0x6acc00,
info=0x7fffc8e0a650, fd=9, start=47012209266928,
end=<value optimized out>, startTrack=<value optimized out>, endTrack=9,
trackInfo=0x6ce930) at CdrDriver.cc:4310
#7 0x000000000041b7c0 in GenericMMC::readAudioRange (this=0x6acc00,
rinfo=0x7fffc8e0a650, fd=9, start=0, end=216600, startTrack=0, endTrack=9,
info=0x6ce930) at GenericMMC.cc:2343
#8 0x000000000040f050 in CdrDriver::readDisk (this=0x6acc00, session=1,
dataFilename=0x7fffc8e0c40d "/tmp/cd.bin") at CdrDriver.cc:3423
#9 0x00000000004098f5 in main (argc=<value optimized out>,
argv=0x7fffc8e0ae78) at main.cc:2640

Discussion


Log in to post a comment.