Segmentation fault in latest DIC with DOS game CD-ROM
gmipf opened this issue · comments
Version
Fedora 38 Kernel 6.6.4-100.fc38.x86_64
20211101T132455
Describe the bug
In redumper build_297 and DIC 20211101T132455 dump is possible.
There is also an error count difference between latest redumper and old DIC, but same hash.
$ sudo ./DiscImageCreator.out cd /dev/sr2 dumps/pc_rt_dic-latest/dump 0 /c2
AppVersion
64 bit, AnsiBuild, 20231201T225251
/c2 val1 was omitted. set [4000]
/c2 val2 was omitted. set [0]
/c2 val3 was omitted. set [0]
/c2 val4 was omitted. set [0]
valid extension was omitted. -> set .bin
/media/Daten/redump/dumps/pc_rt_dic-latest/ doesn't exist, so create.
CurrentDirectory
/media/Daten/redump
WorkingPath
Argument: dumps/pc_rt_dic-latest/dump.bin
FullPath: /media/Daten/redump/dumps/pc_rt_dic-latest/dump.bin
Drive: /
Directory: media/Daten/redump/dumps/pc_rt_dic-latest/
Filename: dump
Extension: .bin
StartTime: 2023-12-12T15:44:52+0100
Block Size: 4096
Flagment Size: 4096
All Block Num: 5126947328
Free Block Num: 348102623
Available Block Num: 346938079
I Node Num: 0
Free I Node Num: 0
Available I Node Num: 0
File System ID: 17735766084729673982
Mount Flag: 4096
Max Filename Length: 255
DiskSize of [/media/Daten/redump/dumps/pc_rt_dic-latest]
Total: 20999976255488 bytes
Used: 19574147911680 bytes
---------------------------
Space: 1425828343808 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) 6/ 6
Creating (Track AA).bin & .sub (LBA) 67403/ 67403
Searching last non-zero byte (size) 0/234192
There is not non-zero byte in the (Track AA)
Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm Segmentation fault435/ -10000
Disc title: ran trainer CD-ROM
Disc ringcode
Mastering Code: BOD[tab]SST 99901
Log file
DIC 20231201: (https://github.com/saramibreak/DiscImageCreator/releases/tag/20231201)[pc_rt_dic-latest.zip](https://github.com/saramibreak/DiscImageCreator/files/13649762/pc_rt_dic-latest.zip)
DIC 20211101T132455: pc_rt_dic.zip
redumper 297 pc_rt.zip
Try this test build, please.
#247 (comment)
It works now!