ROM sub-directories on DVD = CRASH

Issue #153 invalid
Former user created an issue

Original [issue 153](https://code.google.com/p/genplus-gx/issues/detail?id=153) created by JJBunks on 2011-02-06T22:13:48.000Z:

Hi!

I'm having problems with Genesis Plus GX 1.4.1. I have two DVDs that I've burned with ROMs for various systems. Here is some information on both of these discs:

First disc: root directory has six folders, none of these folders have sub-directories Second disc: root directory has six folders, the Genesis folder is divided into five sub-directories

The first disc mounts and loads fine in Genesis Plus GX. However, the second disc crashes with an "Exception (DSI) occurred!" error message. The only differences with the Genesis folder on both of these discs are that there are sub-directories and more ROMs.

What can I do about this?

Comments (6)

  1. Former user Account Deleted

    Comment # 1 originally posted by ekeeke31 on 2011-02-07T14:47:16.000Z:

    The DVD I use has many subdirectories and it does not crash so no, this is not the issue.

    Without a screenshot of the DSI exception screen, there is nothing i can do, so please provide one or copy the stuff you see when it crashes.

    I also need more detailled informations as i can't reproduce the crash: Does it happen EVERYTIME you browse that specific DVD or is it random ? When does the crash EXACTLY occurs ? As soon as you choose "load from dvd" ? When you go to a specific directory ? When you try to load a game ?

    Also try to delete config.ini file from genplus directory and see if that helps...

  2. Former user Account Deleted

    Comment # 2 originally posted by JJBunks on 2011-02-07T18:42:54.000Z:

    Sorry for not being more specific!

    First, here's the error message I'm getting:

    Exception (DSI) occurred! GPR00 1A3F0B18 GPR08 80000000 GPR16 0000004E GPR24 80360000 GPR01 804C1000 GPR09 E6BF9C88 GPR17 000001C3 GPR25 814AA000 GPR02 80246B80 GPR10 00000005 GPR18 802E2121 GPR26 00001000 GPR03 815AF000 GPR11 680A3138 GPR19 802E2122 GRP27 E6BF9C98 GPR04 00001000 GPR12 20000008 GPR20 00000000 GPR28 814A94B0 GPR05 00104360 GPR13 80250160 GPR21 001042D0 GPR29 804A1BE0 GPR06 0000007F GPR14 62B2A156 GPR22 813A51E0 GPR30 8024FA58 GPR07 00000000 GPR15 00000029 GPR23 80250000 GPR31 00104368 LR 8011B454 SRR0 8011b4a0 SRR1 00009032 MSR 00001000 DAR 680A313C DSISR 06000000

    STACK DUMP: 8011b4a0 --> 8011b454 --> 800e6630 --> 800e6a60 --> 800e6b5c --> 80038fec --> 800dd498 --> 800dd968 --> 800dbfbc

    CODE DUMP: 8011b4a0: 914B0004 914B0008 817C0004 556B07FE 8011b4b0: 7D295B78 913C0004 419D0320 3D208025 8011b4c0: 81690760 7F805840 409D0008 90090760

    This does happen every time I try to mount this particular DVD. I choose "Load game," then "From DVD." The window saying "Mounting DVD" appears, then the program crashes. I have tried deleting the config.ini file and that does not help.

  3. Former user Account Deleted

    Comment # 3 originally posted by ekeeke31 on 2011-02-07T21:38:00.000Z:

    Here is the code path leading to crash:

    \_malloc\_r <-- entry\_from\_path <-- \_ISO9660\_diropen\_r <-- diropen <-- ParseDirectory <-- OpenDirectory

    As you can see, the crash is within libogc, not within Genesis Plus GX code, and more specifically in the libiso9660 library which should handles ISO9660 DVD file system.

    This can be due to a DVD with wrong format or a bug within the library that cause it to crash, have you tried that particular DVD with other emulators ?

    Otherwise, Genesis Plus GX 1.4.1 has been compiled with libogc 1.8.5, you could also try compiling with 1.8.6 and see if this fixes the issue.

    For your own information, here's what the emulator does usually: first it tries to open dvd:/ using libiso9660, and if an error is returned, it tries to mount the disc (you should see a message saying "mounting dvd"). Once mounted, it tries to open last opened directory: directory name is saved in config.ini file and is set to dvd:/genplus/roms by default. If not found, the emulator opens dvd:/ which let you browse from DVD root directory. Here, the crash seems to happen AFTER dvd has been mounted (do you confirm ?), when opening default directory. Only reason I see is that somehow the DVD has an unsupported file system.

  4. Former user Account Deleted

    Comment # 4 originally posted by ekeeke31 on 2011-02-07T21:40:40.000Z:

    To be sure, could you paste the directory structure of both discs (the one that works and the other that does not work) ?

  5. Former user Account Deleted

    Comment # 6 originally posted by JJBunks on 2011-02-16T23:37:30.000Z:

    I have some news to report! I tried burning the same files on another DVD with an earlier version of the burning software I use (ImgBurn) and it loads fine! I'll get in touch with the maintainers of libogc to notify them of this issue.

  6. Log in to comment