Closed DanFritz closed 4 years ago
Tried to build this and got a build failure: https://gist.github.com/bendlas/7c5cfbca2c8970a9457c4f20394bf6b3
Crashes for me whenever I try to read a fort that has a squad. Log: 2017-Aug-12 15:40:51.805 INFO core FOUND 134 squads [src/dfinstance.cpp:873] (load_squads) Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted
I'm sure I had 2 squads at this point. Crashed when I had only 1 as well.
Can confirm Abkaals crash. If a unit is assigned to a squad then DF Therapist will crash squads themselves will cause no issue.
Tested against v0.43.05 on Archlinux x86_64 system