Skip to content

Commit

Permalink
gdb caught SIGILL (illegal instruction):
Browse files Browse the repository at this point in the history
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
civctp2#1  0x00005555566159c9 in SlicEngine::AddModFuncs (this=0x55555e2e4fac) at SlicEngine.cpp:3069
civctp2#2  0x0000555556604f29 in SlicEngine::PostSerialize (this=0x55555e2e4fac) at SlicEngine.cpp:457
civctp2#3  0x00005555566a4f0d in gameinit_Initialize (mWidth=-1, mHeight=-1, archive=...) at gameinit.cpp:1683
civctp2#4  0x0000555555b82af5 in CivApp::InitializeGame (this=0x5555570b4bdc, archive=...) at ctp/civapp.cpp:1717
civctp2#5  0x00005555563cd57c in GameFile::Restore (this=0x7fffffffe9e7, filepath=0x55555e916bf4 "/opt/ctp2/Scenarios/AlexanderTheGreat/scen0000/savegame.c2g") at GameFile.cpp:848
civctp2#6  0x00005555563cb4ca in GameFile::RestoreGame (name=0x55555e916bf4 "/opt/ctp2/Scenarios/AlexanderTheGreat/scen0000/savegame.c2g") at GameFile.cpp:186
civctp2#7  0x0000555555b856b6 in CivApp::LoadSavedGame (this=0x5555570b4bdc, name=0x55555e916bf4 "/opt/ctp2/Scenarios/AlexanderTheGreat/scen0000/savegame.c2g") at ctp/civapp.cpp:2651
civctp2#8  0x0000555555b862de in LoadSaveGameAction::Execute (this=0x55555e916bec, control=0x0, action=0, data=0) at ctp/civapp.cpp:2931
civctp2#9  0x0000555555c4b232 in aui_UI::HandleActions (this=0x555557c790dc) at ui/aui_common/aui_ui.cpp:1862
civctp2#10 0x0000555555c4b188 in aui_UI::Process (this=0x555557c790dc) at ui/aui_common/aui_ui.cpp:1847
civctp2#11 0x0000555555b84e02 in CivApp::ProcessUI (this=0x5555570b4bdc, target_milliseconds=30, used_milliseconds=@0x7fffffffeb1c: 0) at ctp/civapp.cpp:2395
civctp2#12 0x0000555555b852a8 in CivApp::Process (this=0x5555570b4bdc) at ctp/civapp.cpp:2548
civctp2#13 0x0000555555b7b2cc in CivMain (iCmdShow=2, pSzCmdLine=0x7fffffffecc8) at ctp/civ3_main.cpp:1694
civctp2#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 88ba108
# 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
#
  • Loading branch information
LynxAbraxas committed May 20, 2020
1 parent 0081a95 commit a3a0498
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debug/gdb.cmds
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ command
continue
end
catch signal SIGINT
command
backtrace
continue
end
catch signal SIGILL
command
backtrace
continue
Expand Down

0 comments on commit a3a0498

Please sign in to comment.