Segmentation Fault on PX-760A
eingrossfilou opened this issue · comments
Version
20230909
Describe the bug
Just acquire a PX-760A in order to validate/populate some redump dumps.
I get an segfault when reaching step Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm & .sub (LBA)
(see screenshot section)
The position is around -8xxx/ -10000 and varies each time I try to dump the disc
The last version in master branch also produces the segfault.
Previous release 20230606 don't segfaults but I have the error described in issue #217
I did a git bisect and find the problematic commit c6923db
Commits between 20230606 and c6923db produces an [F:GetEccEdcCmd][L:496] GetLastError: 2, No such file or directory
No segfault with 20230909 release on audio CD or a Windows 95 FR CD
Screenshots
$ sudo ./DiscImageCreator.out cd /dev/sr0 Test_segfault/Morrowind_GOTY_FR.bin 8 /c2
AppVersion
64 bit, AnsiBuild, 20230909T161330
/c2 val1 was omitted. set [4000]
/c2 val2 was omitted. set [8]
/c2 val3 was omitted. set [0]
/c2 val4 was omitted. set [0]
/home/filou/redump/DiscImageCreator_20230909/Test_segfault/ doesn't exist, so create.
CurrentDirectory
/home/filou/redump/DiscImageCreator_20230909
WorkingPath
Argument: Test_segfault/Morrowind_GOTY_FR.bin
FullPath: /home/filou/redump/DiscImageCreator_20230909/Test_segfault/Morrowind_GOTY_FR.bin
Drive: /
Directory: home/filou/redump/DiscImageCreator_20230909/Test_segfault/
Filename: Morrowind_GOTY_FR
Extension: .bin
StartTime: 2023-11-16T20:57:36+0100
Set the drive speed: 1411KB/sec
Block Size: 4096
Flagment Size: 4096
All Block Num: 27605031
Free Block Num: 18101571
Available Block Num: 16687763
I Node Num: 7053312
Free I Node Num: 6708768
Available I Node Num: 6708768
File System ID: 7995120163582185264
Mount Flag: 1024
Max Filename Length: 255
DiskSize of [/home/filou/redump/DiscImageCreator_20230909/Test_segfault]
Total: 113070206976 bytes
Used: 38926172160 bytes
---------------------------
Space: 74144034816 bytes
=> There is enough disk space for dumping
[INFO] c2 offset is set 295. Changed to /s 2.
This drive (DVDR PX-760A 1.07 08/18/07 15:10 ) supports [OpCode: 0xd8, SubCode: 0]
This drive (DVDR PX-760A 1.07 08/18/07 15:10 ) supports [OpCode: 0xd8, SubCode: 1]
This drive (DVDR PX-760A 1.07 08/18/07 15:10 ) supports [OpCode: 0xd8, SubCode: 2]
This drive (DVDR PX-760A 1.07 08/18/07 15:10 ) supports [OpCode: 0xd8, SubCode: 8]
Checking SubQ adr (Track) 1/ 1
Creating (Track AA).scm & .sub (LBA) 309525/ 309525
Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm & .sub (LBA) -834Erreur de segmentation
Disc title
eXclusive collection - The Elder Scrolls III - Morrowind
PC, Ubisoft, French
Disc ringcode
IFPI L039 08/11/05 03:35:36 PM
CR 5002345CD1 @
3 times a 'MPO' text under a logo
URL
Didn't find exactly the same release
Log file
If you can use gdb, try it plz.
I use gbd on the last stable release 20231201. It also produce a segfault (I join the related log file).
I use an up to date Manjaro with glibc-2.38, gcc compiler and ld from binutil 2.41 for building the debug release of DC.
It is my first time using gdb, I hope you will have enough information. I don't have debug symbol on my glibc lib. The list command doesn't seems to match the calls related to the segfault
Thanks. Uploaded (Not test).
DiscImageCreator_test.tar.gz
It works!