Program received signal SIGSEGV, Segmentation fault. 0x000000000059ac6a in UP_AircraftDescription (tech=0x19a2f58 ) at src/client/cgame/campaign/cp_ufopedia.cpp:369 369 Q_strcat(upBuffer, sizeof(upBuffer), _("Required Hangar:\t%s\n"), _(building->name)); (gdb) bt full #0 0x000000000059ac6a in UP_AircraftDescription (tech=0x19a2f58 ) at src/client/cgame/campaign/cp_ufopedia.cpp:369 aircraft = 0x1a98978 cap = MAX_CAP buildingType = MAX_BUILDING_TYPE building = 0x0 #1 0x000000000059bc80 in UP_Article (tech=0x19a2f58 , mail=0x0) at src/client/cgame/campaign/cp_ufopedia.cpp:669 No locals. #2 0x000000000059c06d in UP_FindEntry_f () at src/client/cgame/campaign/cp_ufopedia.cpp:788 id = 0xaa09e90 "0;" tech = 0x19a2f58 #3 0x00000000005286f3 in Cmd_vExecuteString (fmt=0x63ca0d "%s", ap=0x7fffffffdba8) at src/common/cmd.cpp:976 cmd = 0x471b060 text = "ufopedia rs_craft_ufo_scout\000\377\177\000\000\016\000 \005\000\000\000\000\000/\312\346\377\177\000\000\000\000\000\000\000\000\000\000\314\372\320\366\377\177\000\000\001\000\261\030", '\000' , "\300\335\377\377\377\177\000\000\260\335\377\377\377\177\000\000QM`\000\000\000\000\000ZM`", '\000' , "iߋ\364\377\177\000\000\320X\256\001\000\000\000\000\262;P\346\377\177\000\000@\331\377\377\377\177\000\000\001\000\000\000\377\177\000\000\002\000\000\000\t\000\000\000\001\000\000\000\000\000\000\000\300\\\331\001\000\000\000\000\200\257\333\001\000\000\000\000\232\371\213\364\377\177\000\000\001"... str = 0x11440620 "mn_updisplay" hash = 1 #4 0x0000000000528851 in Cmd_ExecuteString (text=0x63ca0d "%s") at src/common/cmd.cpp:1012 ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffdc80, reg_save_area = 0x7fffffffdbc0}} #5 0x000000000052719d in Cbuf_Execute () at src/common/cmd.cpp:255 i = 28 line = "ufopedia rs_craft_ufo_scout\000\377\177\000\000\a\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\f\000\000\000\000\000\000\000\343\367\240\345\377\177\000\000\000\000\000\000\377\177\000\000\331\b\345\367\377\177\000\000`z\016\002\000\000\000\000\340\316\016\002\000\000\000\000\200\257\333\001\000\000\000\000h\336\377\377\377\177\000\000\a", '\000' , "\001", '\000' , "\340\316\016\002\000\000\000\000\003", '\000' , "\210\266\235\345\377\177\000\000@l\016\002\000\000\000\000"... text = 0x1632580 "ufopedia rs_craft_ufo_scout\nt_click 72;9\nuse\n 0; ui_pop;\n\nuforecovery_store_init;\n\n\n\ngeo_overlay_xvi ui_update_overlay_buttons;\n\n\n\nui_addcvarlistener geo_overlay_xvi ui_update_overlay_buttons;\n\n\n\n_upd"... quotes = 0 #6 0x0000000000419d09 in CL_SendCommand () at src/client/cl_main.cpp:972 No locals. #7 0x0000000000419fda in CL_Frame (now=142729, data=0x0) at src/client/cl_main.cpp:1106 lastFrame = 142729 delta = 21 #8 0x000000000053954f in tick_timer (now=142729, data=0x9785100) at src/common/common.cpp:1322 timer = 0x9785100 old_interval = 20 lateness = 0 #9 0x0000000000539ec9 in Qcommon_Frame () at src/common/common.cpp:1500 event = {_refCount = 0x49199a0, _deletion = 0xc904270, _pointer = 0xaa08d20} time_to_next = 0 #10 0x0000000000586970 in main (argc=1, argv=0x7fffffffe2e8) at src/ports/linux/linux_main.cpp:55 No locals. (gdb) list 364 } 365 366 const baseCapacities_t cap = AIR_GetHangarCapacityType(aircraft); 367 const buildingType_t buildingType = B_GetBuildingTypeByCapacity(cap); 368 const building_t* building = B_GetBuildingTemplateByType(buildingType); 369 if (building != nullptr) 370 Q_strcat(upBuffer, sizeof(upBuffer), _("Required Hangar:\t%s\n"), _(building->name)); 371 372 /* @note: while MAX_ACTIVETEAM limits the number of soldiers on a craft 373 * there is no use to show this in case of an UFO (would be misleading): */ (gdb) p aircraft->id $1 = 0x4747cf0 "craft_ufo_scout" (gdb) p aircraft->building $2 = 0x0