crashes if i use the -a option
Hello, friidump crashes when I try to rip a game to iso:
$ ./friidump -d /dev/sr1 -a
FriiDump 0.5.3.1 - Copyright (C) 2007 Arep
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see COPYING for details.
Official support forum: http://wii.console-tribe.com
Forum for this UNOFFICIAL VERSION: http://forum.redump.org
Initializing DVD drive... OK
Drive information:
----------------------------------------------------------------------
Drive model........: HL-DT-ST/DVD-ROM GDR8164B/0L06
Supported..........: Yes
Command............: 2
Method.............: 9
Press Ctrl+C at any time to terminate
Retrieving disc seeds, this might take a while... OK
Disc information:
----------------------------------------------------------------------
Disc type..........: Wii
Disc size..........: 2294912
Game ID............: W5
Region.............: Europe/PAL
Maker..............: 41 - Ubi Soft Entertainment
Version............: 1.00
Game title.........: WWTBAM 2008
Contains update....: Yes
Writing to file "WWTBAM 2008.iso" in ISO format
Erreur de segmentation
but if I ask it to write a raw image:
$ friidump -d /dev/sr1 -r WWTBAM2008.raw
it works!
I'm getting the same issue when I try to dump an iso.
I can't test it yet, but there is a --unscramble <file> option for friidump that looks like it can convert the .raw file to an iso.
@zicklag, @legluondunet:
I know this is a bit late (>1 year!), but the error seems to be caused by the use of sha-1 in the included libmultihash. (Specifically the use of SHA1Update()).
Try running with the -H option (e.g. friidump -d /dev/sr0 -a -H), which skips the invocation of the code that ultimately calls SHA1Update().
Is this issue fixed?
@superseeker13 : the bug is because there’s an error when using 64 bits pointers. I could spot the issue in the code. You should compile using ɢᴄᴄ for the https://fr.wikipedia.org/wiki/X32_ABI along an enabled kernel or please just tell where the issue is.