From fab38bb601896680558c9105065b916acfeb3c3d Mon Sep 17 00:00:00 2001 From: Lynx Abraxas Date: Wed, 20 May 2020 11:54:39 +0200 Subject: [PATCH] gdb caught SIGILL (illegal instruction): Thread 1 "ctp2" hit Catchpoint 2 (signal SIGINT), 0x00007ffff724a727 in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 Assertion (start < m_code + m_codeSize) Failed in File:SlicSegment.cpp, Line:649 Thread 1 "ctp2" hit Catchpoint 2 (signal SIGINT), 0x00007ffff724a727 in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 Thread 1 "ctp2" hit Catchpoint 3 (signal SIGILL), SlicModFunc::SlicModFunc (this=0x5555605ae6fc, name=0x555556864ee1 "mod_CanPlayerHaveAdvance") at SlicModFunction.cpp:21 21 tag = va_arg(vl, SLIC_TAG); #0 SlicModFunc::SlicModFunc (this=0x5555605ae6fc, name=0x555556864ee1 "mod_CanPlayerHaveAdvance") at SlicModFunction.cpp:21 #1 0x00005555566159c9 in SlicEngine::AddModFuncs (this=0x55555e2e4fac) at SlicEngine.cpp:3069 #2 0x0000555556604f29 in SlicEngine::PostSerialize (this=0x55555e2e4fac) at SlicEngine.cpp:457 #3 0x00005555566a4f0d in gameinit_Initialize (mWidth=-1, mHeight=-1, archive=...) at gameinit.cpp:1683 #4 0x0000555555b82af5 in CivApp::InitializeGame (this=0x5555570b4bdc, archive=...) at ctp/civapp.cpp:1717 #5 0x00005555563cd57c in GameFile::Restore (this=0x7fffffffe9e7, filepath=0x55555e916bf4 "/opt/ctp2/Scenarios/AlexanderTheGreat/scen0000/savegame.c2g") at GameFile.cpp:848 #6 0x00005555563cb4ca in GameFile::RestoreGame (name=0x55555e916bf4 "/opt/ctp2/Scenarios/AlexanderTheGreat/scen0000/savegame.c2g") at GameFile.cpp:186 #7 0x0000555555b856b6 in CivApp::LoadSavedGame (this=0x5555570b4bdc, name=0x55555e916bf4 "/opt/ctp2/Scenarios/AlexanderTheGreat/scen0000/savegame.c2g") at ctp/civapp.cpp:2651 #8 0x0000555555b862de in LoadSaveGameAction::Execute (this=0x55555e916bec, control=0x0, action=0, data=0) at ctp/civapp.cpp:2931 #9 0x0000555555c4b232 in aui_UI::HandleActions (this=0x555557c790dc) at ui/aui_common/aui_ui.cpp:1862 #10 0x0000555555c4b188 in aui_UI::Process (this=0x555557c790dc) at ui/aui_common/aui_ui.cpp:1847 #11 0x0000555555b84e02 in CivApp::ProcessUI (this=0x5555570b4bdc, target_milliseconds=30, used_milliseconds=@0x7fffffffeb1c: 0) at ctp/civapp.cpp:2395 #12 0x0000555555b852a8 in CivApp::Process (this=0x5555570b4bdc) at ctp/civapp.cpp:2548 #13 0x0000555555b7b2cc in CivMain (iCmdShow=2, pSzCmdLine=0x7fffffffecc8) at ctp/civ3_main.cpp:1694 #14 0x0000555555b7ae69 in main (argc=2, argv=0x7fffffffecc8) at ctp/civ3_main.cpp:1440 # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Wed May 20 11:54:39 2020 +0200 # # interactive rebase in progress; onto 88ba1081 # Last command done (1 command done): # edit 4548e58f gdb caught SIGILL (illegal instruction): # Next command to do (1 remaining command): # pick b6491837 no backtrace on SIGINT (too many) # You are currently splitting a commit while rebasing branch 'dbgAlex' on '88ba1081'. # # Changes to be committed: # modified: debug/gdb.cmds # --- debug/gdb.cmds | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debug/gdb.cmds b/debug/gdb.cmds index 48c9d3016..7e7dc7296 100644 --- a/debug/gdb.cmds +++ b/debug/gdb.cmds @@ -5,6 +5,11 @@ command continue end catch signal SIGINT +command + backtrace + continue + end +catch signal SIGILL command backtrace continue