friidump icon indicating copy to clipboard operation
friidump copied to clipboard

crashes if i use the -a option

Open legluondunet opened this issue 8 years ago • 6 comments

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!

legluondunet avatar Sep 30 '17 14:09 legluondunet

I'm getting the same issue when I try to dump an iso.

zicklag avatar Oct 24 '17 03:10 zicklag

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 avatar Oct 25 '17 02:10 zicklag

@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().

ParoXoN avatar Oct 13 '18 08:10 ParoXoN

Is this issue fixed?

superseeker13 avatar Aug 24 '21 02:08 superseeker13

@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.

ytrezq avatar Aug 28 '21 19:08 ytrezq