swift-project / pilotclient

Cross-platform cross-simulator pilot client for virtual air traffic networks
https://swift-project.org
GNU General Public License v3.0
93 stars 27 forks source link

Crash bad_alloc when trying to load CSL models in config wizard #108

Closed kellpossible closed 4 months ago

kellpossible commented 3 years ago

Operating System: Archlinux 64 bit Simulator: X-Plane

Model directory: /home/luke/.local/share/Steam/steamapps/common/X-Plane 11/Custom Data/CSL/ with BB model set inside BB directory.

Screen recording: swift-client-crash

gdb output:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Thread 71 "Model loader fo" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff8ffff640 (LWP 1413096)]
0x00007ffff3423ef5 in raise () from /usr/lib/libc.so.6
oktal3700 commented 3 years ago

How much RAM do you have available, and can you see how much is being used by the wizard when it crashes?

Please could you produce a core dump with gdb's gdump command after the crash and upload it here.

kellpossible commented 3 years ago

I'll check that soon. From memory I should have about 10 GB available.

ltoenning commented 4 months ago

Does this still happen?

kellpossible commented 4 months ago

No idea we could close for now