Skip to content

ISO Loader crashes when selecting a game #136

@MastaG

Description

@MastaG

Hi @DC-SWAT

I'm trying to build the latest DreamShell from master, which is currently at revision: 4c89d26
I'm following the build instructions exactly as described in https://github.com/DC-SWAT/DreamShell/blob/master/README.md
I'm also starting out with clean /opt/toolchains/dc and /usr/local/dc without any files from prior builds.

With your recent changes the dc-chain and KOS build fine from revision specified in: https://github.com/DC-SWAT/DreamShell/blob/master/sdk/doc/KallistiOS.txt

The only change I've made is enabling debugging so I can get serial output:

diff --git a/Makefile b/Makefile
index ab0e6e18..437ec0ba 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ TRAGET_VERSION = -DVER_MAJOR=$(VER_MAJOR) \
                                -DVER_MINOR=$(VER_MINOR) \
                                -DVER_MICRO=$(VER_MICRO) \
                                -DVER_BUILD=$(VER_BUILD)
-# TARGET_DEBUG = 1 # or 2 for GDB
+TARGET_DEBUG = 1^M
 # TARGET_EMU = 1
 # TARGET_PROF = 1

For the record, I did NOT apply any of my changes for switching to m4-single.

When I open the ISO Loader everything is okay, but when I select a game it freezes.

Serial output:

KallistiOS v2.2.2 [dreamcast/pristine]
  Git revision: a838d8ab
  zo 25 jan 2026 22:15:16 CET
  mastag@LIN-9950X3D.sexydomain.lan:/usr/local/dc/kos/kos
  sh-elf-gcc (GCC) 15.2.0
maple: active drivers:
    Dreameye (Camera): Camera
    Sound Input Peripheral: Microphone
    PuruPuru (Vibration) Pack: JumpPack
    VMU Driver: Clock, LCD, MemoryCard
    Mouse Driver: Mouse
    Keyboard Driver: Keyboard
    Controller Driver: Controller
    Lightgun: LightGun
  DMA Buffer at ac2be800
vid_set_mode: 640x480 VGA with 1 framebuffers.
maple: attached devices:
  A0: Dreamcast Controller           (01000000: Controller)
  A1:  (00000000: Controller)
  A2: Puru Puru Pack                 (00010000: JumpPack)

FATFS: Checking for G1 ATA devices...
FATFS: Detected FAT32 on partition 0
FATFS: Mounting filesystem to /ide...
FATFS: 244224 MB total, 8798 MB free.
FATFS: Checking for SD cards...
�Checking for root directory on /ide
Root directory is /ide/DS
snd_init(): loading 3272 bytes into SPU RAM
vid_set_mode: 640x480 VGA with 1 framebuffers.
Initializing DreamShell Core...
Console initialised.
Enter 'help' for print command list.

Initializing time: 1100 ms
DreamShell 4.0.4.RC.2 Dreamcast
Dreamcast: FFFFFFFFFFFFFFFF
Date: Mon Jan 25 21:27:25 2026
Base path: /ide/DS
User: Default

DS_PROCESS: Loading module vkb...
DS_PROCESS: Installing apps...
DS_OK: VMU Manager
DS_OK: Speedtest
DS_OK: Settings
DS_OK: Region Changer
DS_OK: Network
DS_OK: Main
DS_OK: ISO Loader
DS_OK: GD Play
DS_OK: GD Ripper
DS_OK: Games Menu
DS_OK: File Manager
DS_OK: Dreameye
DS_OK: BIOS Flasher
DS_PROCESS: Opening app Main
DS_PROCESS: Loading app Main ...
DS_OK: App Main opened
Startup time: 2062 ms
DS_PROCESS: Opening app ISO Loader
DS_OK: App Main closed and unloaded.
DS_PROCESS: Loading app ISO Loader ...
DS_OK: App ISO Loader opened

*** ASSERTION FAILURE ***
Assertion "m->holder == thd && m->count > 0" failed at mutex.c:184 in `mutex_unlock'

arch: aborting the system

Video clip:
https://github.com/user-attachments/assets/bf2c921b-ad29-4243-9275-9796dd3a538a

Here is a link to the build:
https://mega.nz/file/mpdnEZzY#qI98z6sg4vjIjIIri4wwGVEaJxobSYe39WQnNQkZ5jk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions