Segfault when loading saved game [Linux]
Author: pnomolosCreated Sep 23, 2019Updated Aug 8, 2021
I left citybound running while I went and had lunch. When I came back I noticed that the interface seemed stuck. I checked the terminal process and saw that citybound had segfaulted. Tried restarting and now get a segfault before it can finish launching. Trace from gdb below. I can upload the savegame somewhere if that would help.
This is on nightly build citybound-v0.1.2-790-g7c076e3. Ubuntu 19.04.
warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts
of file /home/pnomolos/Downloads/citybound-v0.1.2-790-g7c076e3.
Use `info auto-load python-scripts [REGEXP]' to list them.
(gdb) run
Starting program: /home/pnomolos/Downloads/citybound-v0.1.2-790-g7c076e3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Citybound v0.1.2-790-g7c076e3
This is the simulation server.
To connect and start playing, please open
this address in Chrome/Firefox/Safari:
╭───────────────────────────────────────────╮
│ http://localhost:1234 │
╰───────────────────────────────────────────╯
[New Thread 0x7ffff79ff700 (LWP 711751)]
[New Thread 0x7ffff77fe700 (LWP 711752)]
Loading from savegame ./city...
[New Thread 0x7ffff75fd700 (LWP 711753)]
[New Thread 0x7ffff73fc700 (LWP 711754)]
[New Thread 0x7ffff6312700 (LWP 711755)]
[New Thread 0x7ffff5ef5700 (LWP 711756)]
[New Thread 0x7ffff5442700 (LWP 711757)]
Simulation running.
(You can stop this process at any point and the savegame should be fine)
Thread 1 "citybound-v0.1." received signal SIGSEGV, Segmentation fault.
compact::compact_vec::CompactVec<T,A>::double_buf (self=0x7ffe28000018)
at /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/compact-0.2.13/src/compact_vec.rs:78
78 /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/compact-0.2.13/src/compact_vec.rs: No such file or directory.Source: citybound/citybound