Pcsxr-98108 segfault

Developer
Jun 18 at 6:18 PM
Hello Everyone,

I'm getting a segfault when there is no cue file for Driver. Here is the bt
#0  0x00007fffee4a2df1 in fseek () at /lib64/libc.so.6
#1  0x0000000000435c99 in handleecm (isoname=0x68c240 <IsoFile> "/mnt/sda2/Games/PSX/Driver/Driver.bin", cdh=0x0, accurate_length=0x0) at cdriso.c:1438
#2  0x0000000000436d56 in ISOopen () at cdriso.c:1721
#3  0x0000000000408277 in _OpenPlugins () at Plugin.c:325
#4  0x00000000004088f9 in OpenPlugins () at Plugin.c:412
#5  0x000000000040c54f in OnFile_RunImage () at GtkGui.c:820
#6  0x00007ffff1cd0c04 in  () at /usr/lib64/../lib64/libgobject-2.0.so.0
#7  0x00007ffff1ceaa68 in g_signal_emit_valist ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#8  0x00007ffff1ceb5a8 in g_signal_emit_by_name ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#9  0x00007ffff1cd0c04 in  () at /usr/lib64/../lib64/libgobject-2.0.so.0
#10 0x00007ffff1ceaa68 in g_signal_emit_valist ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#11 0x00007ffff1ceb132 in g_signal_emit ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#12 0x00007ffff75dc1bd in  () at /usr/lib64/../lib64/libgtk-3.so.0
#13 0x00007ffff75dc215 in  () at /usr/lib64/../lib64/libgtk-3.so.0
#14 0x00007ffff1cd0c04 in  () at /usr/lib64/../lib64/libgobject-2.0.so.0
#15 0x00007ffff1ceaa68 in g_signal_emit_valist ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#16 0x00007ffff1ceb132 in g_signal_emit ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#17 0x00007ffff75da3d0 in  () at /usr/lib64/../lib64/libgtk-3.so.0
#18 0x00007ffff1abed2c in ffi_call_unix64 () at /usr/lib64/../lib64/libffi.so.6
#19 0x00007ffff1abe835 in ffi_call () at /usr/lib64/../lib64/libffi.so.6
#20 0x00007ffff1cd16d5 in g_cclosure_marshal_generic_va ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#21 0x00007ffff1cd0c04 in  () at /usr/lib64/../lib64/libgobject-2.0.so.0
#22 0x00007ffff1ceaa68 in g_signal_emit_valist ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#23 0x00007ffff1ceb132 in g_signal_emit ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#24 0x00007ffff7682fce in  () at /usr/lib64/../lib64/libgtk-3.so.0
#25 0x00007ffff1cd35fe in g_cclosure_marshal_VOID__BOXEDv ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#26 0x00007ffff1cd0c04 in  () at /usr/lib64/../lib64/libgobject-2.0.so.0
#27 0x00007ffff1ceaa68 in g_signal_emit_valist ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#28 0x00007ffff1ceb132 in g_signal_emit ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#29 0x00007ffff768051e in  () at /usr/lib64/../lib64/libgtk-3.so.0
#30 0x00007ffff7681a33 in  () at /usr/lib64/../lib64/libgtk-3.so.0
#31 0x00007ffff7684475 in  () at /usr/lib64/../lib64/libgtk-3.so.0
#32 0x00007ffff7655cab in gtk_event_controller_handle_event ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib64/../lib64/libgtk-3.so.0
#33 0x00007ffff77f8e6b in  () at /usr/lib64/../lib64/libgtk-3.so.0
#34 0x00007ffff76c75e7 in  () at /usr/lib64/../lib64/libgtk-3.so.0
#35 0x00007ffff1cd0c04 in  () at /usr/lib64/../lib64/libgobject-2.0.so.0
#36 0x00007ffff1cea57b in g_signal_emit_valist ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#37 0x00007ffff1ceb132 in g_signal_emit ()
    at /usr/lib64/../lib64/libgobject-2.0.so.0
#38 0x00007ffff77fad04 in  () at /usr/lib64/../lib64/libgtk-3.so.0
#39 0x00007ffff76c49fe in  () at /usr/lib64/../lib64/libgtk-3.so.0
#40 0x00007ffff76c6730 in gtk_main_do_event ()
    at /usr/lib64/../lib64/libgtk-3.so.0
#41 0x00007ffff726d752 in  () at /usr/lib64/../lib64/libgdk-3.so.0
#42 0x00007ffff17cb787 in g_main_context_dispatch ()
    at /usr/lib64/../lib64/libglib-2.0.so.0
#43 0x00007ffff17cb9b8 in  () at /usr/lib64/../lib64/libglib-2.0.so.0
#44 0x00007ffff17cbcd2 in g_main_loop_run ()
    at /usr/lib64/../lib64/libglib-2.0.so.0
#45 0x00007ffff76c5985 in gtk_main () at /usr/lib64/../lib64/libgtk-3.so.0
#46 0x0000000000406fc3 in main (argc=1, argv=0x7fffffffe228) at LnxMain.c:419
Coordinator
Jun 18 at 9:52 PM
use the cue file.
Jul 25 at 10:13 AM
I don't have Driver, but Tomb Raider and Gran Turismo work fine using .bin files.

How did you obtain the Driver.bin file? Could it be corrupt?
Developer
Jul 25 at 12:40 PM
Edited Jul 25 at 12:49 PM
Hello Phenest,

The problem seems to be i have a .toc with .bin causes it to crash. If i remove the .toc the game loads up fine.

I also checked the md5sum of driver b0e1270a6c916e1c6be860fc46b76863 and it matches the one
found in redump.org. So it's not corrupt.

This what the info in the .toc looks like.

CD_ROM_XA


// Track 1
TRACK MODE2_RAW
NO COPY
DATAFILE "/mnt/sda3/Games/PSX/Driver/Driver.bin" 70:34:65 // length in bytes: 747030480