atrus@DESKTOP-0SCVT0H:~/repos/scummvmfork$ arm-none-eabi-gdb scummvm.elf GNU gdb (GDB) 14.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-linux-gnu --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from scummvm.elf... (gdb) target remote 192.168.1.238:4000 Remote debugging using 192.168.1.238:4000 svcWaitSynchronization () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s:263 warning: 263 /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s: No such file or directory (gdb) c Continuing. Thread 1 received signal SIGSEGV, Segmentation fault. [Switching to Thread 40.224] 0x0807c740 in ?? () (gdb) thread apply all bt Thread 7 (Thread 40.236 (TLS: 0x1ffafc00, running, dynamic prio.: 47, static prio.: 47, ideal core: 0, running on core 0)): #0 svcSleepThread () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s:85 #1 0x0012118c in N3DS::eventThreadFunc (arg=0x802bec8) at backends/platform/3ds/osystem-events.cpp:102 #2 0x00110e0c in _thread_begin (arg=0x85fe228) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/thread.c:16 #3 0x00000000 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 6 (Thread 40.235 (TLS: 0x1ffafa00, running, dynamic prio.: 47, static prio.: 47, ideal core: 0, running on core 0)): #0 svcSleepThread () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s:85 #1 0x00120cb0 in N3DS::timerThreadFunc (arg=0x802b020) at backends/platform/3ds/osystem-events.cpp:240 #2 0x00110e0c in _thread_begin (arg=0x85f54d8) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/thread.c:16 #3 0x00000000 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 5 (Thread 40.234 (TLS: 0x1ffaf800, running, dynamic prio.: 47, static prio.: 47, ideal core: 0, running on core 0)): #0 svcSleepThread () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s:85 #1 0x0012088c in N3DS::audioThreadFunc (arg=0x85dd2a0) at backends/platform/3ds/osystem-audio.cpp:55 #2 0x00110e0c in _thread_begin (arg=0x85ec430) at /home/davem/projects/devkitpro/pacman-packages/libctru/sr--Type for more, q to quit, c to continue without paging-- c/libctru-2.4.1/libctru/source/thread.c:16 #3 0x00000000 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 40.233 (TLS: 0x1ffaf600, running, dynamic prio.: 24, static prio.: 24, ideal core: 0, running on core 0)): #0 svcWaitSynchronization () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s:263 #1 0x0090323c in ndspWaitForIrq (timeout_ns=18446744073709551615) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/ndsp/ndsp.c:44 #2 ndspSync () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/ndsp/ndsp.c:407 #3 ndspThreadMain (arg=) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/ndsp/ndsp.c:432 #4 0x00110e0c in _thread_begin (arg=0x85ea6e0) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/thread.c:16 #5 0x00000000 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 40.230 (TLS: 0x1ffaf400, running, dynamic prio.: 26, static prio.: 26, ideal core: 0, running on core 0)): #0 svcWaitSynchronization () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s:263 #1 0x001176f4 in gspEventThreadMain (arg=) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/services/gspgpu.c:362 #2 0x00110e0c in _thread_begin (arg=0x80165a8) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/thread.c:16 --Type for more, q to quit, c to continue without paging-- #3 0x00000000 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 2 (Thread 40.225 (TLS: 0x1ffaf200, idle, dynamic prio.: 49, static prio.: 49, ideal core: 0, running on core 0)): #0 svcWaitSynchronizationN () at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/svc.s:273 #1 0x00112064 in aptEventHandler (arg=) at /home/davem/projects/devkitpro/pacman-packages/libctru/src/libctru-2.4.1/libctru/source/services/apt.c:474 #2 0x00000000 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 1 (Thread 40.224 (TLS: 0x1ffaf000, running, dynamic prio.: 48, static prio.: 48, ideal core: 0, running on core 0)): #0 0x0807c740 in ?? () #1 0x001368e8 in StaticPlugin::~StaticPlugin (this=0x8044dd0, __in_chrg=) at base/plugins.cpp:66 #2 StaticPlugin::~StaticPlugin (this=0x8044dd0, __in_chrg=) at base/plugins.cpp:67 #3 PluginManager::unloadPluginsExcept (this=this@entry=0x801a4c0, type=, plugin=plugin@entry=0x0, deletePlugin=deletePlugin@entry=true) at base/plugins.cpp:562 #4 0x00136bfc in PluginManager::unloadAllPlugins (this=0x801a4c0) at base/plugins.cpp:551 #5 PluginManager::~PluginManager (this=this@entry=0x801a4c0, __in_chrg=) at base/plugins.cpp:275 #6 0x00136ddc in PluginManagerUncached::~PluginManagerUncached (this=0x801a4c0, __in_chrg=) at base/plugins.cpp:300 #7 0x00136e0c in PluginManagerUncached::~PluginManagerUncached (this=0x801a4c0, __in_chrg=) at base/plugins.cpp:300 --Type for more, q to quit, c to continue without paging-- #8 0x001261ec in PluginManager::destroy () at ./base/plugins.h:304 #9 scummvm_main (argc=, argv=) at base/main.cpp:893 #10 0x00119be0 in main (argc=0, argv=0x0) at backends/platform/3ds/main.cpp:64