atrosha@atrosha-desktop:~/OpenApoc$ gdb build/bin/OpenApoc GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html 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 "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from build/bin/OpenApoc...done. (gdb) start Temporary breakpoint 1 at 0x439f91: file /home/atrosha/OpenApoc/game/main.cpp, line 14. Starting program: /home/atrosha/OpenApoc/build/bin/OpenApoc [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdd68) at /home/atrosha/OpenApoc/game/main.cpp:14 14 if (config().parseOptions(argc, argv)) (gdb) continue Continuing. I 5603117110 bool OpenApoc::ConfigFileImpl::parseOptions(int, char **): portable mode set [New Thread 0x7fffedbb9700 (LWP 30818)] [New Thread 0x7fffed3b8700 (LWP 30819)] [New Thread 0x7fffecbb7700 (LWP 30820)] [New Thread 0x7fffec3b6700 (LWP 30821)] [New Thread 0x7fffebbb5700 (LWP 30822)] [New Thread 0x7fffeb3b4700 (LWP 30823)] [New Thread 0x7fffeabb3700 (LWP 30824)] [New Thread 0x7fffea3b2700 (LWP 30825)] [New Thread 0x7fffe9bb1700 (LWP 30826)] [New Thread 0x7fffe93b0700 (LWP 30827)] [New Thread 0x7fffe8baf700 (LWP 30828)] [New Thread 0x7fffe83ae700 (LWP 30829)] [New Thread 0x7fffe7bad700 (LWP 30830)] W 5872083551 virtual OpenApoc::SoundBackend *(anonymous namespace)::SDLRawBackendFactory::create(): Creating SDLRaw sound backend (Might have issues!) [New Thread 0x7fffe4ada700 (LWP 30831)] W 5873567894 (anonymous namespace)::SDLRawBackend::SDLRawBackend(): Changing audio drivers is not currently implemented! W 5873593875 (anonymous namespace)::SDLRawBackend::SDLRawBackend(): Selecting audio devices not currently implemented! Selecting first available device. [New Thread 0x7fffbffff700 (LWP 30832)] W 5875614671 (anonymous namespace)::SDLRawBackend::SDLRawBackend(): Audio output format: Channels 2, format: signed int LE 16bit, freq 22050, samples 512 libsmacker::palette_render(s,p,size) - ERROR: overflow, 0x40 attempt to copy 2 entries from 140 to 141 W 26233531318 void OpenApoc::GameState::validate(): Validating GameState W 26234800898 void OpenApoc::GameState::validate(): Validated GameState W 53500789919 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 53984290517 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 54451062733 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 54884178228 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 55284165773 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 55700926957 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 56100872456 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 67650705898 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 68150897863 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 68634257102 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 69067831177 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 69534354408 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 69917635849 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 70384309938 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 70784226105 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 71234152744 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 71684082387 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 74484331556 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 75867679288 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 76117693731 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 76334147275 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 76567648098 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 76784060505 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 77017787265 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 77250803946 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 77467553968 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 77667770605 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 79917620941 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 80167807962 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 80417804874 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 80667538065 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 80884356391 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 81134384313 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 81350932911 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 81567631599 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 81800939659 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 82034367707 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 84434417014 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 84701133648 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 84967721843 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 85167692009 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 85384392094 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 85600996007 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 85800852052 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 86017797769 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 86217775618 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 86450896013 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 88198445379 void OpenApoc::StateRefOpenApoc::ResearchTopic::resolve() const [T = OpenApoc::ResearchTopic]: ResearchTopic object has invalid prefix - expected "RESEARCH_" ID "MANUFACTURE_TOXIGUN" W 112200881161 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 112467896577 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 112684359061 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 112900890339 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 113100961705 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 113300936830 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 113501138660 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 113700895041 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 113900903341 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 114100900815 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 147930245432 void OpenApoc::StateRefOpenApoc::ResearchTopic::resolve() const [T = OpenApoc::ResearchTopic]: ResearchTopic object has invalid prefix - expected "RESEARCH_" ID "MANUFACTURE_MEDIUM_DISRUPTOR_BEAM" W 151184683116 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 151384622133 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 151601057867 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 151817909578 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 152001162606 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 152200976048 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 152401218037 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 153401232506 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 153617969677 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 153834542022 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 154034519242 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 154234619593 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 154434648286 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 154668049096 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 154868018354 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 157751417544 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 157968123914 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 158184662665 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 158401082825 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 158601165087 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 158801188542 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 159001400360 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 159201147103 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 160018049414 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 160251214928 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 160468099395 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 160668208825 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 160884546502 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 161101024491 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 161301234074 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 161517970895 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 163026988612 void OpenApoc::StateRefOpenApoc::ResearchTopic::resolve() const [T = OpenApoc::ResearchTopic]: ResearchTopic object has invalid prefix - expected "RESEARCH_" ID "MANUFACTURE_TOXIN_TYPE_A" W 164051419413 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 164268012082 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 164484703716 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 164701054663 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 164900965534 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 165118061062 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 165317990510 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 165518069908 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 165734381465 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 165917797992 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: assigned agent selected W 166851448515 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 167084685128 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 167284712983 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 167517747613 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 167768153379 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 167967999925 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 168218109213 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 168418029372 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 168634615057 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected W 168867997778 auto OpenApoc::ResearchScreen::begin()::(anonymous class)::operator()(OpenApoc::FormsEvent *) const: unassigned agent selected E 178497178636 static spOpenApoc::Agent OpenApoc::Agent::get(const OpenApoc::GameState &, const OpenApoc::UString &): No agent matching ID "AGENT_44" called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x87222c _ZN8OpenApoc5Agent3getERKNS_9GameStateERKNS_7UStringE+0x10c (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e3b1 _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x111 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7771 _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0x981 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) E 187306439679 void OpenApoc::StateRefOpenApoc::Agent::resolve() const [T = OpenApoc::Agent]: No Agent object matching ID "AGENT_44" found called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e51a _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x27a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7771 _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0x981 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) E 190853027155 static spOpenApoc::Agent OpenApoc::Agent::get(const OpenApoc::GameState &, const OpenApoc::UString &): No agent matching ID "AGENT_44" called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x87222c _ZN8OpenApoc5Agent3getERKNS_9GameStateERKNS_7UStringE+0x10c (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e3b1 _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x111 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7771 _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0x981 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) E 192667784296 void OpenApoc::StateRefOpenApoc::Agent::resolve() const [T = OpenApoc::Agent]: No Agent object matching ID "AGENT_44" found called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e51a _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x27a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7771 _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0x981 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) E 193554214307 static spOpenApoc::Agent OpenApoc::Agent::get(const OpenApoc::GameState &, const OpenApoc::UString &): No agent matching ID "AGENT_44" called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x87222c _ZN8OpenApoc5Agent3getERKNS_9GameStateERKNS_7UStringE+0x10c (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e3b1 _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x111 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7e9b9b _ZNK8OpenApoc3Lab13getTotalSkillEv+0x6b (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7d4a _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0xf5a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) E 194420235005 void OpenApoc::StateRefOpenApoc::Agent::resolve() const [T = OpenApoc::Agent]: No Agent object matching ID "AGENT_44" found called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e51a _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x27a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7e9b9b _ZNK8OpenApoc3Lab13getTotalSkillEv+0x6b (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7d4a _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0xf5a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) E 195395175654 static spOpenApoc::Agent OpenApoc::Agent::get(const OpenApoc::GameState &, const OpenApoc::UString &): No agent matching ID "AGENT_44" called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x87222c _ZN8OpenApoc5Agent3getERKNS_9GameStateERKNS_7UStringE+0x10c (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e3b1 _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x111 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7e9baf _ZNK8OpenApoc3Lab13getTotalSkillEv+0x7f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7d4a _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0xf5a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) E 196238470954 void OpenApoc::StateRefOpenApoc::Agent::resolve() const [T = OpenApoc::Agent]: No Agent object matching ID "AGENT_44" found called by: 0x4619df ZN8OpenApoc3LogENS_8LogLevelENS_7UStringERKS1+0x32f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x55e51a _ZNK8OpenApoc8StateRefINS_5AgentEE7resolveEv+0x27a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7e9baf _ZNK8OpenApoc3Lab13getTotalSkillEv+0x7f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5f7d4a _ZN8OpenApoc14ResearchScreen17setCurrentLabInfoEv+0xf5a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fcac2 _ZNSt17_Function_handlerIFvPN8OpenApoc10FormsEventEEZNS0_14ResearchScreenC1ESt10shared_ptrINS0_9GameStateEES5_INS0_8FacilityEEE3$1E9_M_invokeERKSt9_Any_dataOS2+0x282 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4d5ec6 _ZN8OpenApoc7Control21triggerEventCallbacksEPNS_10FormsEventE+0xb6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cf763 _ZN8OpenApoc7Control13pushFormEventENS_13FormEventTypeEPNS_5EventE+0x5b3 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4e4206 _ZN8OpenApoc7ListBox12eventOccuredEPNS_5EventE+0x7f6 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4cde92 _ZN8OpenApoc7Control12eventOccuredEPNS_5EventE+0x72 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x5fae6f _ZN8OpenApoc14ResearchScreen13eventOccurredEPNS_5EventE+0x1f (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x45897a _ZN8OpenApoc9Framework13processEventsEv+0x78a (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x4568ff _ZN8OpenApoc9Framework3runESt10shared_ptrINS_5StageEE+0x4ff (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x43a1d4 main+0x254 (/home/atrosha/OpenApoc/build/bin/OpenApoc) 0x7ffff5d5db97 __libc_start_main+0xe7 (/lib/x86_64-linux-gnu/libc.so.6) 0x439eba _start+0x2a (/home/atrosha/OpenApoc/build/bin/OpenApoc) Thread 1 "main" received signal SIGSEGV, Segmentation fault. OpenApoc::UString::operator!= (this=0x218, other=...) at /home/atrosha/OpenApoc/library/strings.cpp:296 296 bool UString::operator!=(const UString &other) const { return this->u8Str != other.u8Str; } (gdb) info stack #0 OpenApoc::UString::operator!= (this=0x218, other=...) at /home/atrosha/OpenApoc/library/strings.cpp:296 #1 0x00000000007e9bd3 in OpenApoc::StateRefOpenApoc::Building::operator== ( this=, other=...) at /home/atrosha/OpenApoc/game/state/stateobject.h:153 #2 OpenApoc::StateRefOpenApoc::Building::operator!= (this=, other=...) at /home/atrosha/OpenApoc/game/state/stateobject.h:159 #3 OpenApoc::Lab::getTotalSkill (this=0x7fff85777950) at /home/atrosha/OpenApoc/game/state/city/research.cpp:348 #4 0x00000000005f7d4a in OpenApoc::ResearchScreen::setCurrentLabInfo ( this=) at /home/atrosha/OpenApoc/game/ui/base/researchscreen.cpp:414 #5 0x00000000005fcac2 in OpenApoc::ResearchScreen::ResearchScreen(std::shared_ptrOpenApoc::GameState, std::shared_ptrOpenApoc::Facility)::$_1::operator()(OpenApoc::FormsEvent*) const (this=, e=) at /home/atrosha/OpenApoc/game/ui/base/researchscreen.cpp:54 #6 std::_Function_handler::_M_invoke(std::_Any_data const&, OpenApoc::FormsEvent*&&) ( __functor=..., __args=) at /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/std_function.h:316 #7 0x00000000004d5ec6 in std::function::operator(---Type to continue, or q to quit--- )(OpenApoc::FormsEvent*) const (this=0x218, __args=0x7b40cc0) at /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/std_function.h:706 #8 OpenApoc::Control::triggerEventCallbacks (this=, e=0x7b40cc0) at /home/atrosha/OpenApoc/forms/control.cpp:1142 #9 0x00000000004cf763 in OpenApoc::Control::pushFormEvent (this=0x74332f0, type=, parentEvent=) at /home/atrosha/OpenApoc/forms/control.cpp:1135 #10 0x00000000004e4206 in OpenApoc::ListBox::eventOccured (this=0x74332f0, e=0x7a73f00) at /home/atrosha/OpenApoc/forms/listbox.cpp:193 #11 0x00000000004cde92 in OpenApoc::Control::eventOccured (this=0x742ab10, e=0x7a73f00) at /home/atrosha/OpenApoc/forms/control.cpp:105 #12 0x00000000005fae6f in OpenApoc::ResearchScreen::eventOccurred ( this=0x7430e20, e=0x7a73f00) at /home/atrosha/OpenApoc/game/ui/base/researchscreen.cpp:178 #13 0x000000000045897a in OpenApoc::Framework::processEvents (this=0xfd24d0) at /home/atrosha/OpenApoc/framework/framework.cpp:720 #14 0x00000000004568ff in OpenApoc::Framework::run (this=0xfd24d0, initialStage=...) at /home/atrosha/OpenApoc/framework/framework.cpp:576 #15 0x000000000043a1d4 in main (argc=, argv=) at /home/atrosha/OpenApoc/game/main.cpp:26