-
Notifications
You must be signed in to change notification settings - Fork 25
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
Merge @ptitSeb's and @RolandTaverner's branches to master #4
Comments
Personally I agree, but I still think that the decision need to be made by the maintainer. One reason I would favor merging @ptitSeb's first, is that he is more active in the discussion than @RolandTaverner, but I do not want to impose my personal judgement. This is why I would strongly encourage both of you @LynxAbraxas and @ptitSeb to reconsider the role of the initial maintainer :-) Both of you seem to have active interest in the project, and both of you have already contributed code to it, so I do not expect to find better candidates soon. If @ptitSeb agrees, I think it would be completely natural for him to favor his changes and merge them first, but I would hope he would still not ignore @RolandTaverner's branch :) @LynxAbraxas I know your concern is that you would spend more time then you should on this project, but maybe you could set some limits for time spent on it and go ahead with that? |
I still would prefer to not be the maintainer, but if no-one step-in, I'll do (but be warned that my failling git-fu will get in the way...). Also, I will not be availble before November anway, so that leave some time to find a proper maintainer. About @RolandTaverner repo, I had a look. There are some overlapping commit with my repo (like the FT sources for example) but there is also interresting stuffs like the meson build script (no idea if it works) or the switch to VS2017 for Windows build, along with some C++ modernisation. |
As @ptitSeb is active and I can confirm that his changes work as expected I would first merge his changes and then work on new topic branches where one cherry-picks from those that were not merged, e.g. for VS2017 when someone tries to set up AppVeyor (see #6) or from the linux branch for e.g. support for linux home like
I fear they won't concern about this just for me;-) I am happy to assist, comment and help with git-fu when ever I find the time but should not have a leading/depending role in this any more...
I saw your try to merge on the civctp2 network view (https://github.com/civctp2/civctp2/network), which made me wonder if you used git-imerge? The interleaving merges caused that impression. |
Well Ok, I can work on that PR, but probably in November, I don't think I'll have time before. (On a side note, the brank "linux-merge" has many commit with strange generic comment, is that normal?) |
Mmmm, I tried quickly, but it wont merge automatically between branch "ptitSeb" and "master". Shall I still make the PR or should I first try to solve that on my side? |
That is probably only due to the README.md that was added (d3822e6) and is not the same as yours. Do the PR and we can have a look;-) |
That is fantastic news @ptitSeb ! Thanks a lot.
Do not worry about that! I have some experience with git and I am willing to help. I am sure @LynxAbraxas can help as well. What is important is to have someone who will drive the project forward. |
If you are happy with the current README.md you can do the following:
|
@DEVoytas: I guess you mean no direct pushes to branches existing on the "official" repos? I think that is only important to follow by the maintainer and those collaborators who have write access to the "official" repos (https://github.com/civctp2/civctp2), i.e. currently only you. The work on forks can be done on branches that came from the official repos without any problems as they stay in the fork, but good practice is to choose a new branch name for a new topic, e.g. moved my commit (formerly on linux branch) to docker-compile_ubuntu, to give some more detailed meaning to (possibly) a series of commits. |
Yes, I tried to merge it using
Because of the above issue, please treat the branch with merge attempt as temporary one (I will likely delete it at some point). That all makes me think that merging @ptitSeb branch and cherry-picking good stuff from other branches may indeed be the beast approach at this point. |
That is exactly right! On private forks everyone can adopt whatever workflow they prefer, since they are not affect main repo, in any other way then creating PR, wchic can be evaluated and reviewed. |
Right, this is most likely due to my new commit with README.md file. Also if you care about who created the PR (which does not matter much IMO, it's important who authored commits on a branch to be merged, which is you), I can create PR with your changes from my fork to you fork, and then you can create PR from there to main repo :) |
OK, I have created PR with rebase of @ptitSeb changes on top of master of main repo: Please let me know if you want me to create the same PR to your repo, and you will crete PR to main one, or do you want me to create PR directly to main repo. |
@LynxAbraxas , interesting. Can you share some more info about that? Is it just for building ctp2 inside docker or something more? What's the current status? |
Well, I have done the PR (I resolved the conflict and yeah, it was the README.md file). |
Oh, so there is 3 PR about that merge now. Please pick one so we can delete the 2 others. |
@ptitSeb I would like you to pick one :) |
If you use
But as I already said in the PR comments, both will result in exactly same code on master, it just the matter of preference: merge vs rebase. |
That's why I'm not a good choice for maintainer: the 3 PRs (even mine) looks the same to me, and I really don't care. |
I disagree with, I think you are good choice for maintainer. You are correct, those 3 PRs are indeed very similar: they all bring all your changes to master. OK, I will merge the rebase PR and decline remaining two PRs, if this is fine with you? |
Yes I'm fine with that. (I really rarely look at the git graph... but I do like to watch some "gource" graph animation, but yeah, that's not git graph related). |
OK, done :) EDIT: Now if you want to update your own fork (at the moments your master is behind main repo master), you can do: (I assume remotes are named:
|
OK, this PR: #9 took care about @ptitSeb portion of changes, but I think we should keep this issue open until we merge or (cherry-pick what we can) from: https://github.com/civctp2/civctp2/tree/RolandTaverner |
That's great! Thanks @DEVoytas and @ptitSeb! |
Thankx @LynxAbraxas Actually I agree with all what you said. In general I also prefer to rebase while I am in my private repo, but after commits are published, rebase is discouraged.
Thanks for sharing that tip! I usually do this in command line (i.e. when I want to make sure that content for two branches or commits is identical I just |
Also searching a commit by a string in the message or the changes can be nicely done in gikt. It has the look of being a bit simple but actually has many (hidden) features. The docs are a bit scarce sadly.
Docker for building and especially using the image for playing, to not be so dependent anymore on keeping up with new lib-APIs, compiler standards etc. Status is currently in test phase for master (with ptitSeb's commits, that's why I noticed that the SHAs changed) and linux branch, both compile and I can start the game (with sound), save user-settings (e.g. screen res) and games but sadly either version crashes when loading a game (though I have a vague feeling, that that was once solved in the linux branch). Next step would be debugging inside a docker container... Concerning sharing: Sure, but I have to think about how to do this in the best way, possibly only the Dockerfile and run.sh with instructions on how to build a private docker image with ones own CD data. |
That one I already knew, agree it's useful :)
One of the features, I am missing (or at least do not know how to do it) is to be able to choose what info is displayed next to the commit message (i.e. upper half of the window). It only shows you comit author and date, but I often would like to see committer and his date.
Hmm this is even more interesting now... because I know that you need to have data from original game to be able to play.
That is what I am most interested how you do it :) |
Concerning docker, see my PR (#13). |
git checkout 3285b19~1 -- ./ctp2_code/ui/aui_sdl/aui_sdlblitter.cpp gdb: Thread 5 "ctp2" received signal SIGSEGV, Segmentation fault. (gdb) bt #0 0x00007ffff76d9fef in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 civctp2#1 0x00007ffff76c96b9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 civctp2#2 0x00007ffff76de4ea in SDL_LowerBlit () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 civctp2#3 0x00007ffff76de77a in SDL_UpperBlit () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 civctp2#4 0x00000000004f2ed7 in aui_SDLBlitter::Blt16To16 (this=0x1f8fb70, destSurf=0x2078a80, destRect=0x7fffe94dfaa0, srcSurf=0x2076830, srcRect=0x7fffe94dfa90, flags=17) at ui/aui_sdl/aui_sdlblitter.cpp:56
…ce.cpp: #0 0x00007ffff725126d in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 civctp2#1 0x00007ffff724ae42 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0 civctp2#2 0x00007ffff77044ce in SDL_mutexP () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 civctp2#3 0x00000000004f62d1 in aui_SDLSurface::Lock (this=0x1f8eec0, rect=0x7fffffffe8b0, buffer=0x7fffffffe6f0, flags=0) at ui/aui_sdl/aui_sdlsurface.cpp:126 civctp2#4 0x000000000048b39d in aui_Blitter::Blt16To16 (this=0x1f8f2f0, destSurf=0x1f8eec0, destRect=0x7fffffffe8b0, srcSurf=0x1f8eff0, srcRect=0x7fffffffe8a0, flags=17) at ui/aui_common/aui_blitter.cpp:292
#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
I merged in @RolandTaverner's branch as far I could see that it makes sense. I left out the modifications of the anet library, because this way I couldn't build it. I also skipped the white space changes in three files. These seem to be done automatically and have destroyed some alignments of code. Actually, the readability of the code went down. Then we have some refactoring, raw pointers were replaced with automatic pointers. That is usually the kind of stuff that needs most care. And these things I may also throw into the dustbin myself. The modified code produced crashes. So to include it should at least be crash free and maybe also the sense of it was unclear to me. As far as I can see the stuff does not leak and we don't have problems here I can detect. I also dropped the change with the fuller include paths. I think it is supposed to make the game compile faster, because the compiler does not have to look for the includes. There were also some changes to nowin32.cpp, I merged in. Those may still have to be checked in case of doubt we can just revert. |
@MartinGuehmann would you say the issues this topic refers to are resloved with your recent efforts and the PRs now included in master? |
@LynxAbraxas, I think the main issue is done, so that we can leave the remaining to #85. |
…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 #
…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 ()
…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
…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
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 #
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 #
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 #
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 #
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 #
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
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
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
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
Before this repository was created, there were at least two independent branches of development based on the prevailing trunk of the original SVN repository (previous ctp2 source code hosting, which is now retired in favor of this github repositry).
Those branches are:
The goal of this issue is to merge both of those branches to current master, so the work of their authors is not lost.
The decision has to be made with regard of the order that the branches being merged. Both of them are based on the same commit (current master), so the first merge will be fast-forward, but merging second of them, will result in many conflicts since both branches bring changes in the same code areas.
This decision will probably has to be made by new maintainer when issue #2 is resolved.
The discussion on that started in the comments for issue #3 of @ptitSeb's repository, and will be continued here, so if any of the comments bellow seem out of context, it may be helpful to follow original discussion first.
The text was updated successfully, but these errors were encountered: