SebLague / Digital-Logic-Sim

https://sebastian.itch.io/digital-logic-sim
Other
3.54k stars 431 forks source link

[BUG] Segmentation fault on linux #210

Closed Silica163 closed 8 months ago

Silica163 commented 8 months ago

After I download the game from itch.io, unzip it then run ./Digital-Logic-Sim.x86_64 the command start and crash when it create a game window.

./Digital-Logic-Sim.x86_64

[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
Loading in SingleInstance mode
Segmentation fault (core dumped)

journalctl -f

(sd-parse-elf)[2033]: Could not parse number of program headers from core file: invalid `Elf' handle
Mar 14 10:28:58 archlinux systemd-coredump[2020]: [🡕] Process 1975 (Digital-Logic-S) of user 1000 dumped core.

                                                  Module /home/[username]/Downloads/Digital-Logic-Sim/Digital-Logic-Sim_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so without build-id.
                                                  Module /home/[username]/Downloads/Digital-Logic-Sim/Digital-Logic-Sim_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
                                                  Stack trace of thread 1975:
                                                  #0  0x00007aba11f1c0c8 n/a (/home/[username]/Downloads/Digital-Logic-Sim/UnityPlayer.so + 0xd1c0c8)
                                                  ELF object binary architecture: AMD x86-64
Mar 14 10:28:59 archlinux systemd[1]: systemd-coredump@0-2019-0.service: Deactivated successfully.

uname -a

Linux archlinux 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux
Silica163 commented 8 months ago

It seem like the problem is from linux kernel I used after some update the game start as normal.