Skip to content

Instant crash on launch — Scudo "invalid chunk state" in SDL_main, Samsung Galaxy S24+ (Exynos 2400 / Xclipse 940) #4

Description

@hufgacer

crash_filtered_clean.txt

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Operating System

  • macOS
  • Linux
  • Windows
  • Other (please specify below)

Bug Description

App crashes instantly on launch, before reaching the main menu. Crash is a Scudo "invalid chunk state" abort occurring inside SDL_main itself, before any BIG-archive or file-system access begins. Reproduced identically across two separate fresh installs/reboots — same offset both times.

Crash log:
GeneralsX: === SDL_main entered ===
GeneralsX: CWD -> /storage/emulated/0/Android/data/me.generalsx.zh/files/GameData (external)
scudo : Scudo ERROR: invalid chunk state when deallocating address 0x20000758f0faaa0
libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 30271 (SDLThread), pid 30247 (SDLActivity)

Native backtrace (tombstone):
#6 pc 00000000005e6024 libmain.so (offset 0x15fc000) (SDL_main+536) (BuildId: 1e6f0b6f876fa15af62afbf339d1223539bf3dc6)
#7 pc 00000000001a0188 libSDL3.so (offset 0x1f8000) (BuildId: c2d504b34adc49d47e3dba3eab584863c6fdac94)
#8 pc 0000000000db8a80 boot.oat (art_jni_trampoline+144)
#10 pc 00000000002ad6da base.vdex (org.libsdl.app.SDLActivity.main+102)

Possibly related to the allocator-conflict class of bug noted in android.md §4.5 (custom TheDynamicMemoryAllocator vs standard operator delete) — may be an uncovered case specific to Exynos/Xclipse, since the original dev build/testing was on an Adreno device (OnePlus Pad 2).

Reproduction Steps

  1. Install GeneralsZH-full.apk from Releases
  2. Populate /sdcard/Android/data/me.generalsx.zh/files/GameData/Data/ with vanilla .big files from a legitimate EA App (Origin) install of Zero Hour (33 files, no mods)
  3. Launch "Generals ZH" from app drawer
  4. App closes immediately — crash occurs before any file/asset loading begins

Additional Context

Platform: Android (Samsung Galaxy S24+, SM-S926B, Exynos 2400 / Xclipse 940 GPU, Android 14)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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