I can confirm cdparanoia segfaulting on the ppc architecture with 
a similar backtrace as found in #509762 and #507795.  I ran it with
the -A argument to try to analyze the disk.  I'm using lenny
on an old iBook.

Since the reports all seem to be from big-endian architectures (i
think PS3 is big-endian -- please correct me if i'm mistaken), this 
seems like it might be an avenue worth exploring.

At the very least, cdparanoia probably should quit cleanly instead 
of segfaulting.

        --dkg

d...@clam:~/src$ dpkg -l | grep cdparanoia
ii  cdparanoia                            3.10.2+debian-4       audio 
extraction tool for sampling CDs
ii  cdparanoia-dbg                        3.10.2+debian-4       audio 
extraction tool for sampling CDs (debu
ii  libcdparanoia-dev                     3.10.2+debian-4       audio 
extraction tool for sampling CDs (deve
ii  libcdparanoia0                        3.10.2+debian-4       audio 
extraction tool for sampling CDs (libr
d...@clam:~/src$ cat /proc/cpuinfo 
processor       : 0
cpu             : 740/750
temperature     : 39-41 C (uncalibrated)
clock           : 299.999997MHz
revision        : 131.0 (pvr 0008 8300)
bogomips        : 33.15
timebase        : 16644333
platform        : PowerMac
model           : PowerBook2,1
machine         : PowerBook2,1
motherboard     : PowerBook2,1 MacRISC Power Macintosh
detected as     : 64 (iBook (first generation))
pmac flags      : 0000000d
L2 cache        : 512K unified
pmac-generation : NewWorld
d...@clam:~/src$ uname -a
Linux clam 2.6.26-1-powerpc #1 Wed Nov 26 15:34:33 CET 2008 ppc GNU/Linux
d...@clam:~/src$ gdb cdparanoia
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu"...
(gdb) run -A
Starting program: /usr/bin/cdparanoia -A
[Thread debugging using libthread_db enabled]
cdparanoia III release 10.2 (September 11, 2008)

Using cdda library version: 10.2
Using paranoia library version: 10.2
Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for SCSI/MMC interface
                SG_IO device: /dev/hdc

CDROM model sensed sensed: MATSHITA CD-ROM CR-175 5AAE 
 

Checking for SCSI emulation...
        Drive is ATAPI (using SG_IO host adaptor emulation)

Checking for MMC style command set...
        Drive is MMC style
        DMA scatter/gather table entries: 1
        table entry size: 131072 bytes
        maximum theoretical transfer: 55 sectors
        Setting default read size to 27 sectors (63504 bytes).

Verifying CDDA command set...
        Expected command set reads OK.

Attempting to set cdrom to full speed... 
        drive returned OK.

=================== Checking drive cache/timing behavior ===================

Seek/read timing:
        [41:02.49]: [New Thread 0x48027430 (LWP 6589)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x48027430 (LWP 6589)]
cdda_read_timed (d=0x10027210, buffer=0x0, beginsector=<value optimized out>, 
    sectors=1, ms=0x0) at interface.c:139
139     interface.c: No such file or directory.
        in interface.c
(gdb) bt
#0  cdda_read_timed (d=0x10027210, buffer=0x0, 
    beginsector=<value optimized out>, sectors=1, ms=0x0) at interface.c:139
#1  0x0ffd57e8 in cdda_read (d=<value optimized out>, 
    buffer=<value optimized out>, beginsector=<value optimized out>, 
    sectors=<value optimized out>) at interface.c:152
#2  0x100079e8 in analyze_cache (d=0x10027210, progress=0xfe9a4a0, 
    log=0x10027020, speed=-1) at cachetest.c:223
#3  0x10005dec in main (argc=2, argv=0xbfb26924) at main.c:1055
(gdb) 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to