Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up travis-ci for Linux builds #5

Closed
DEVoytas opened this issue Oct 13, 2018 · 8 comments
Closed

Set up travis-ci for Linux builds #5

DEVoytas opened this issue Oct 13, 2018 · 8 comments

Comments

@DEVoytas
Copy link
Contributor

No description provided.

@LynxAbraxas
Copy link
Contributor

Basically readily configured by @ptitSeb commits like 071f8533e201bff969.

@civctp2
Copy link
Owner

civctp2 commented Oct 15, 2018

@LynxAbraxas yes but apart from local setup, I think you need to setup travis service account for the project.
Since @ptitSeb has already done it for his project, he obviously knows how to do it.
But I think to do it, he needs to provide project credentials to the travis-ci service, is that correct @ptitSeb ?

@ptitSeb
Copy link
Contributor

ptitSeb commented Oct 15, 2018

Yes, you need to create an account on travis and link it to the account on github, plus allow on github the travis service to interact (and it's the same for appveyor), all this done from the travis website. After that, in travis you enable the build for the repo and you put your .travis.yml file (it's already there) and setup the nice and shiny badge on the README.md

Once setup, travis will also check that each PR doesn't break the build, and that's nice!

@DEVoytas
Copy link
Contributor Author

and it's the same for appveyor

Yes, but before that we will need to figure out windows builds first. My understanding is that they are not working at the moment, right?

Once setup, travis will also check that each PR doesn't break the build, and that's nice!

Yes, I agree, that is really nice feature! I was going to ask, whether it only builds master (so you only know something is wrong after the fact, i.e. when it's already merged) or whether it can verify PRs so you can know in advance. Good to know it can! :)

@ptitSeb could you take care about that ? If yes, we will need to find a way to securely provide you with account credentials... Any ideas?

@ptitSeb
Copy link
Contributor

ptitSeb commented Oct 17, 2018

It would be much easier for the actual maintainer to create and links account. Let's have a maintainer first, then setup the travis account.

@DEVoytas
Copy link
Contributor Author

Oh, my understanding was that you already agreed to be a maintainer but I guess I forgot (or maybe rather repressed :-) ), that it was conditional agreement and that you can only start from November.

In that case could you estimate how long you think it would take for someone who has never done it, to create travis account and set-up everything?
If this is not too much time, maybe I could try to do it myself...

@ptitSeb
Copy link
Contributor

ptitSeb commented Oct 17, 2018

I think it should take around 10 min if you have access to the github repo... It really is a piece of cake to setup.

@DEVoytas
Copy link
Contributor Author

DEVoytas commented Oct 17, 2018

OK, guys. This is done now: https://travis-ci.com/civctp2/civctp2

First attempt failed: #10
But second one worked: #11

Build Status :)

So closing it.

LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Nov 22, 2018
#0  0x0000000000c5bbf6 in CityData::SpecialistCount (this=0x0, type=POP_SCIENTIST) at CityData.cpp:8074
civctp2#1  0x000000000063d3ff in CityWindow::WorkerSpinnerCallback (control=0x2bc8950, action=1, data=0, cookie=0x2bc8950)
    at ui/interface/citywindow.cpp:1330
civctp2#2  0x00000000005784cd in ctp2_Spinner::ActionCallback (control=0x2bc8950, state=1, data=0, cookie=0x2bc8950)
    at ui/aui_ctp2/ctp2_spinner.cpp:84
civctp2#3  0x00000000004c1069 in aui_Ranger::RepositionThumb (this=0x2bc8950, callActionFunc=1)
    at ui/aui_common/aui_ranger.cpp:638
civctp2#4  0x00000000004c0789 in aui_Ranger::IncrementUpY (this=0x2bc8950) at ui/aui_common/aui_ranger.cpp:483
civctp2#5  0x00000000004c2be2 in aui_Ranger::ForceScroll (this=0x2bc8950, deltaX=0, deltaY=1)
    at ui/aui_common/aui_ranger.cpp:1147
civctp2#6  0x00000000004f5994 in HandleMouseWheel (delta=-1) at ui/aui_sdl/aui_sdlmouse.cpp:40
civctp2#7  0x00000000004f5c21 in aui_SDLMouse::GetInput (this=0x1fa6300) at ui/aui_sdl/aui_sdlmouse.cpp:91
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Dec 28, 2019
…tes (sender civ == receiver civ)", causes "No such object":

This reverts commit fe3b57c.

Messagebox(GameObj.cpp Error): No such object

Continue?

(ctp2:385): Gtk-CRITICAL **: 18:45:55.493: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.495: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.496: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.498: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.506: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

Thread 1 "ctp2" received signal SIGSEGV, Segmentation fault.
0x00005555557902ba in UnitData::GetOwner() const ()
(gdb) bt
#0  0x00005555557902ba in UnitData::GetOwner() const ()
civctp2#1  0x00005555560917d4 in Unit::GetOwner() const ()
civctp2#2  0x000055555608c8b0 in TradeRoute::RemoveAllReferences(CAUSE_KILL_TRADE_ROUTE) ()
civctp2#3  0x000055555608c658 in TradeRoute::KillRoute(CAUSE_KILL_TRADE_ROUTE) ()
civctp2#4  0x000055555578fe8e in TradeRoute::Kill(CAUSE_KILL_TRADE_ROUTE) ()
civctp2#5  0x000055555600931e in CityData::~CityData() ()
civctp2#6  0x0000555556009504 in CityData::~CityData() ()
civctp2#7  0x00005555560985b8 in UnitData::~UnitData() ()
civctp2#8  0x000055555609869c in UnitData::~UnitData() ()
civctp2#9  0x0000555556043a05 in GameObj_Delete(GameObj**, unsigned int) ()
civctp2#10 0x0000555556052891 in ObjPool::Del(ID const&) ()
civctp2#11 0x00005555560912ee in Unit::RemoveAllReferences(CAUSE_REMOVE_ARMY, int) ()
civctp2#12 0x0000555556090ae2 in Unit::KillUnit(CAUSE_REMOVE_ARMY, int) ()
civctp2#13 0x00005555558bcfd4 in Unit::Kill(CAUSE_REMOVE_ARMY, int) ()
civctp2#14 0x00005555560179fc in CityData::CityToPark(int) ()
civctp2#15 0x00005555560a0dd2 in UnitData::CityToPark(int) ()
civctp2#16 0x000055555609446f in Unit::CityToPark(int) ()
civctp2#17 0x00005555560c6171 in CreateParkEvent::GEVHookCallback(GAME_EVENT, GameEventArgList*) ()
civctp2#18 0x0000555555fc0500 in GameEventHook::Activate(GameEventArgList*, int, int&) const ()
civctp2#19 0x0000555555fbd9c4 in GameEventManager::ActivateHook(GAME_EVENT, GameEventArgList*, int, int&) ()
civctp2#20 0x0000555555fbff27 in GameEvent::Process() ()
civctp2#21 0x0000555555fbd6b4 in GameEventManager::ProcessHead() ()
civctp2#22 0x0000555555fbd5e3 in GameEventManager::Process() ()
civctp2#23 0x0000555555780f4b in CivApp::Process() ()
civctp2#24 0x0000555555776cec in CivMain(int, char**) ()
civctp2#25 0x0000555555776889 in main ()

# 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:      Sat Dec 28 19:51:22 2019 +0100
#
# On branch master4testing
# Your branch is ahead of 'origin/master4testing' by 1 commit.
#   (use "git push" to publish your local commits)
#
# Changes to be committed:
#	modified:   ctp2_code/gs/gameobj/TradeRoute.cpp
#
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Dec 29, 2019
…tes (sender civ == receiver civ)", causes "No such object":

This reverts commit fe3b57c.

Messagebox(GameObj.cpp Error): No such object

Continue?

(ctp2:385): Gtk-CRITICAL **: 18:45:55.493: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.495: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.496: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.498: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

(ctp2:385): Gtk-CRITICAL **: 18:45:55.506: IA__gtk_main_quit: assertion 'main_loops != NULL' failed

Thread 1 "ctp2" received signal SIGSEGV, Segmentation fault.
0x00005555557902ba in UnitData::GetOwner() const ()
(gdb) bt
#0  0x00005555557902ba in UnitData::GetOwner() const ()
civctp2#1  0x00005555560917d4 in Unit::GetOwner() const ()
civctp2#2  0x000055555608c8b0 in TradeRoute::RemoveAllReferences(CAUSE_KILL_TRADE_ROUTE) ()
civctp2#3  0x000055555608c658 in TradeRoute::KillRoute(CAUSE_KILL_TRADE_ROUTE) ()
civctp2#4  0x000055555578fe8e in TradeRoute::Kill(CAUSE_KILL_TRADE_ROUTE) ()
civctp2#5  0x000055555600931e in CityData::~CityData() ()
civctp2#6  0x0000555556009504 in CityData::~CityData() ()
civctp2#7  0x00005555560985b8 in UnitData::~UnitData() ()
civctp2#8  0x000055555609869c in UnitData::~UnitData() ()
civctp2#9  0x0000555556043a05 in GameObj_Delete(GameObj**, unsigned int) ()
civctp2#10 0x0000555556052891 in ObjPool::Del(ID const&) ()
civctp2#11 0x00005555560912ee in Unit::RemoveAllReferences(CAUSE_REMOVE_ARMY, int) ()
civctp2#12 0x0000555556090ae2 in Unit::KillUnit(CAUSE_REMOVE_ARMY, int) ()
civctp2#13 0x00005555558bcfd4 in Unit::Kill(CAUSE_REMOVE_ARMY, int) ()
civctp2#14 0x00005555560179fc in CityData::CityToPark(int) ()
civctp2#15 0x00005555560a0dd2 in UnitData::CityToPark(int) ()
civctp2#16 0x000055555609446f in Unit::CityToPark(int) ()
civctp2#17 0x00005555560c6171 in CreateParkEvent::GEVHookCallback(GAME_EVENT, GameEventArgList*) ()
civctp2#18 0x0000555555fc0500 in GameEventHook::Activate(GameEventArgList*, int, int&) const ()
civctp2#19 0x0000555555fbd9c4 in GameEventManager::ActivateHook(GAME_EVENT, GameEventArgList*, int, int&) ()
civctp2#20 0x0000555555fbff27 in GameEvent::Process() ()
civctp2#21 0x0000555555fbd6b4 in GameEventManager::ProcessHead() ()
civctp2#22 0x0000555555fbd5e3 in GameEventManager::Process() ()
civctp2#23 0x0000555555780f4b in CivApp::Process() ()
civctp2#24 0x0000555555776cec in CivMain(int, char**) ()
civctp2#25 0x0000555555776889 in main ()
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Dec 30, 2019
…ct":

This reverts commit 81ae687.

Thread 1 "ctp2" hit Catchpoint 1 (signal SIGSEGV), 0x0000555555790236 in UnitData::GetOwner (this=0x0) at ../ctp2_code/gs/gameobj/UnitData.h:296
296		PLAYER_INDEX GetOwner () const { return m_owner; };
#0  0x0000555555790236 in UnitData::GetOwner (this=0x0) at ../ctp2_code/gs/gameobj/UnitData.h:296
civctp2#1  0x000055555609176a in Unit::GetOwner (this=0x7fffffffe254) at Unit.cpp:397
civctp2#2  0x000055555608c847 in TradeRoute::RemoveAllReferences (this=0x7fffffffe2b4, cause=CAUSE_KILL_TRADE_ROUTE_CITY_DIED) at TradeRoute.cpp:70
civctp2#3  0x000055555608c5c8 in TradeRoute::KillRoute (this=0x55555f993d5c, cause=CAUSE_KILL_TRADE_ROUTE_CITY_DIED) at TradeRoute.cpp:35
civctp2#4  0x000055555578fe0a in TradeRoute::Kill (this=0x55555f993d5c, cause=CAUSE_KILL_TRADE_ROUTE_CITY_DIED) at ../ctp2_code/gs/gameobj/TradeRoute.h:51
civctp2#5  0x000055555600928e in CityData::~CityData (this=0x55555f9935ac, __in_chrg=<optimized out>) at CityData.cpp:582
civctp2#6  0x0000555556009474 in CityData::~CityData (this=0x55555f9935ac, __in_chrg=<optimized out>) at CityData.cpp:605
civctp2#7  0x000055555609854e in UnitData::~UnitData (this=0x55555f99327c, __in_chrg=<optimized out>) at UnitData.cpp:384
civctp2#8  0x0000555556098632 in UnitData::~UnitData (this=0x55555f99327c, __in_chrg=<optimized out>) at UnitData.cpp:389
civctp2#9  0x0000555556043975 in GameObj_Delete (p=0x55555f74099c, id=268435500) at GameObj.cpp:190
civctp2#10 0x0000555556052801 in ObjPool::Del (this=0x55555f74082c, id=...) at ObjPool.cpp:106
civctp2#11 0x0000555556091284 in Unit::RemoveAllReferences (this=0x7fffffffe474, cause=CAUSE_REMOVE_ARMY_PARKRANGER, killedBy=1) at Unit.cpp:293
civctp2#12 0x0000555556090a78 in Unit::KillUnit (this=0x55555f9936b0, cause=CAUSE_REMOVE_ARMY_PARKRANGER, killedBy=1) at Unit.cpp:126
civctp2#13 0x00005555558bcf50 in Unit::Kill (this=0x55555f9936b0, cause=CAUSE_REMOVE_ARMY_PARKRANGER, killedBy=1) at ../ctp2_code/gs/gameobj/Unit.h:108
civctp2#14 0x000055555601796c in CityData::CityToPark (this=0x55555f9935ac, agressor=1) at CityData.cpp:5981
civctp2#15 0x00005555560a0d68 in UnitData::CityToPark (this=0x55555f99327c, agressor=1) at UnitData.cpp:3191
civctp2#16 0x0000555556094405 in Unit::CityToPark (this=0x7fffffffe5a0, agressor=1) at Unit.cpp:1522
civctp2#17 0x00005555560c6107 in CreateParkEvent::GEVHookCallback (this=0x55555674d980 <s_CreateParkEvent>, gameEventType=GEV_CreatePark, args=0x555582a0543c) at CityEvent.cpp:662
civctp2#18 0x0000555555fc0470 in GameEventHook::Activate (this=0x55555ef016cc, args=0x555582a0543c, startIndex=0, resumeIndex=@0x555582a062bc: 1) at GameEventHook.cpp:254
civctp2#19 0x0000555555fbd934 in GameEventManager::ActivateHook (this=0x55555eee50ac, type=GEV_CreatePark, args=0x555582a0543c, startIndex=-1, resumeIndex=@0x555582a062bc: 1) at GameEventManager.cpp:511
civctp2#20 0x0000555555fbfe97 in GameEvent::Process (this=0x555582a062ac) at GameEvent.cpp:112
civctp2#21 0x0000555555fbd624 in GameEventManager::ProcessHead (this=0x55555eee50ac) at GameEventManager.cpp:440
civctp2#22 0x0000555555fbd553 in GameEventManager::Process (this=0x55555eee50ac) at GameEventManager.cpp:415
civctp2#23 0x0000555555780ec7 in CivApp::Process (this=0x555556caec9c) at ctp/civapp.cpp:2563
civctp2#24 0x0000555555776c68 in CivMain (iCmdShow=2, pSzCmdLine=0x7fffffffecb8) at ctp/civ3_main.cpp:1694
civctp2#25 0x0000555555776805 in main (argc=2, argv=0x7fffffffecb8) at ctp/civ3_main.cpp:1440
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Dec 30, 2019
…ct":

This reverts commit 81ae687.

Thread 1 "ctp2" hit Catchpoint 1 (signal SIGSEGV), 0x0000555555790236 in UnitData::GetOwner (this=0x0) at ../ctp2_code/gs/gameobj/UnitData.h:296
296		PLAYER_INDEX GetOwner () const { return m_owner; };
#0  0x0000555555790236 in UnitData::GetOwner (this=0x0) at ../ctp2_code/gs/gameobj/UnitData.h:296
civctp2#1  0x000055555609176a in Unit::GetOwner (this=0x7fffffffe254) at Unit.cpp:397
civctp2#2  0x000055555608c847 in TradeRoute::RemoveAllReferences (this=0x7fffffffe2b4, cause=CAUSE_KILL_TRADE_ROUTE_CITY_DIED) at TradeRoute.cpp:70
civctp2#3  0x000055555608c5c8 in TradeRoute::KillRoute (this=0x55555f993d5c, cause=CAUSE_KILL_TRADE_ROUTE_CITY_DIED) at TradeRoute.cpp:35
civctp2#4  0x000055555578fe0a in TradeRoute::Kill (this=0x55555f993d5c, cause=CAUSE_KILL_TRADE_ROUTE_CITY_DIED) at ../ctp2_code/gs/gameobj/TradeRoute.h:51
civctp2#5  0x000055555600928e in CityData::~CityData (this=0x55555f9935ac, __in_chrg=<optimized out>) at CityData.cpp:582
civctp2#6  0x0000555556009474 in CityData::~CityData (this=0x55555f9935ac, __in_chrg=<optimized out>) at CityData.cpp:605
civctp2#7  0x000055555609854e in UnitData::~UnitData (this=0x55555f99327c, __in_chrg=<optimized out>) at UnitData.cpp:384
civctp2#8  0x0000555556098632 in UnitData::~UnitData (this=0x55555f99327c, __in_chrg=<optimized out>) at UnitData.cpp:389
civctp2#9  0x0000555556043975 in GameObj_Delete (p=0x55555f74099c, id=268435500) at GameObj.cpp:190
civctp2#10 0x0000555556052801 in ObjPool::Del (this=0x55555f74082c, id=...) at ObjPool.cpp:106
civctp2#11 0x0000555556091284 in Unit::RemoveAllReferences (this=0x7fffffffe474, cause=CAUSE_REMOVE_ARMY_PARKRANGER, killedBy=1) at Unit.cpp:293
civctp2#12 0x0000555556090a78 in Unit::KillUnit (this=0x55555f9936b0, cause=CAUSE_REMOVE_ARMY_PARKRANGER, killedBy=1) at Unit.cpp:126
civctp2#13 0x00005555558bcf50 in Unit::Kill (this=0x55555f9936b0, cause=CAUSE_REMOVE_ARMY_PARKRANGER, killedBy=1) at ../ctp2_code/gs/gameobj/Unit.h:108
civctp2#14 0x000055555601796c in CityData::CityToPark (this=0x55555f9935ac, agressor=1) at CityData.cpp:5981
civctp2#15 0x00005555560a0d68 in UnitData::CityToPark (this=0x55555f99327c, agressor=1) at UnitData.cpp:3191
civctp2#16 0x0000555556094405 in Unit::CityToPark (this=0x7fffffffe5a0, agressor=1) at Unit.cpp:1522
civctp2#17 0x00005555560c6107 in CreateParkEvent::GEVHookCallback (this=0x55555674d980 <s_CreateParkEvent>, gameEventType=GEV_CreatePark, args=0x555582a0543c) at CityEvent.cpp:662
civctp2#18 0x0000555555fc0470 in GameEventHook::Activate (this=0x55555ef016cc, args=0x555582a0543c, startIndex=0, resumeIndex=@0x555582a062bc: 1) at GameEventHook.cpp:254
civctp2#19 0x0000555555fbd934 in GameEventManager::ActivateHook (this=0x55555eee50ac, type=GEV_CreatePark, args=0x555582a0543c, startIndex=-1, resumeIndex=@0x555582a062bc: 1) at GameEventManager.cpp:511
civctp2#20 0x0000555555fbfe97 in GameEvent::Process (this=0x555582a062ac) at GameEvent.cpp:112
civctp2#21 0x0000555555fbd624 in GameEventManager::ProcessHead (this=0x55555eee50ac) at GameEventManager.cpp:440
civctp2#22 0x0000555555fbd553 in GameEventManager::Process (this=0x55555eee50ac) at GameEventManager.cpp:415
civctp2#23 0x0000555555780ec7 in CivApp::Process (this=0x555556caec9c) at ctp/civapp.cpp:2563
civctp2#24 0x0000555555776c68 in CivMain (iCmdShow=2, pSzCmdLine=0x7fffffffecb8) at ctp/civ3_main.cpp:1694
civctp2#25 0x0000555555776805 in main (argc=2, argv=0x7fffffffecb8) at ctp/civ3_main.cpp:1440
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue May 20, 2020
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
#
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue May 20, 2020
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
#
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue May 20, 2020
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
#
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Jun 1, 2020
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
#
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Jun 9, 2020
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
#
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Jun 20, 2020
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
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Jun 22, 2020
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
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Jun 22, 2020
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
LynxAbraxas added a commit to LynxAbraxas/civctp2 that referenced this issue Jun 27, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants