Segmentation fault (not replicable)

Describe your experience with the latest version of FreeOrion to help us improve it.

Moderators: Oberlus, Oberlus

Forum rules
Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Post Reply
Message
Author
User avatar
Oberlus
Cosmic Dragon
Posts: 1494
Joined: Mon Apr 10, 2017 4:25 pm

Segmentation fault (not replicable)

#1 Post by Oberlus » Wed Feb 20, 2019 12:01 pm

Playing FreeOrion v0.4.8+ build 2019-02-14.e7d7a63 on Ubuntu 16.04.

Got my first Segmentation Fault (core dumped) with FreeOrion. The following was the output in the terminal:

Code: Select all

~$ Projects/FreeOrion/freeorion-build/freeorion
[2019-02-20 11:54:57.967118] [0x00007fb480141740] [info]    AIClientApp exited cleanly for ai client AI_2
[2019-02-20 11:54:57.967672] [0x00007f7f0f863740] [info]    AIClientApp exited cleanly for ai client AI_6
[2019-02-20 11:54:57.967340] [0x00007fd561fd4740] [info]    AIClientApp exited cleanly for ai client AI_1
[2019-02-20 11:54:57.971700] [0x00007fb479797700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:54:57.971850] [0x00007fd55b62a700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:54:57.971965] [0x00007f7f08eb9700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:54:57.989847] [0x00007f7f0f863740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:54:58.001783] [0x00007f7f0f863740] [info]    Reset id allocators with highest object id = -1 and highest design id = 139524
[2019-02-20 11:54:58.004030] [0x00007fb480141740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:54:58.009361] [0x00007fd561fd4740] [info]    Cleaned up FreeOrion Python interface
Segmentation fault (core dumped)
~$ [2019-02-20 11:54:58.018548] [0x00007fd561fd4740] [info]    Reset id allocators with highest object id = -1 and highest design id = 120077
[2019-02-20 11:54:58.018828] [0x00007fb480141740] [info]    Reset id allocators with highest object id = -1 and highest design id = 104184
[2019-02-20 11:54:58.187355] [0x00007f7137260740] [info]    AIClientApp exited cleanly for ai client AI_8
[2019-02-20 11:54:58.187440] [0x00007f71308b6700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:54:58.195450] [0x00007f7137260740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:54:58.205479] [0x00007f7137260740] [info]    Reset id allocators with highest object id = -1 and highest design id = 137139
[2019-02-20 11:54:59.156237] [0x00007f648a3b9740] [info]    AIClientApp exited cleanly for ai client AI_4
[2019-02-20 11:54:59.156343] [0x00007f6483a0f700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:54:59.173355] [0x00007f648a3b9740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:54:59.189172] [0x00007f648a3b9740] [info]    Reset id allocators with highest object id = -1 and highest design id = 141822
[2019-02-20 11:54:59.371430] [0x00007f958b447740] [info]    AIClientApp exited cleanly for ai client AI_9
[2019-02-20 11:54:59.371638] [0x00007f9584a9d700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:54:59.380716] [0x00007f958b447740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:54:59.393822] [0x00007f958b447740] [info]    Reset id allocators with highest object id = -1 and highest design id = 129498
[2019-02-20 11:55:01.559555] [0x00007f0c66baa740] [info]    AIClientApp exited cleanly for ai client AI_7
[2019-02-20 11:55:01.559617] [0x00007f0c60200700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:55:01.576014] [0x00007f0c66baa740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:55:01.593586] [0x00007f0c66baa740] [info]    Reset id allocators with highest object id = -1 and highest design id = 142912
[2019-02-20 11:55:02.205938] [0x00007f9efb1e2740] [info]    AIClientApp exited cleanly for ai client AI_5
[2019-02-20 11:55:02.206057] [0x00007f9ef4838700] [info]    Client connection disconnected by EOF from server.
[2019-02-20 11:55:02.220515] [0x00007f9efb1e2740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:55:02.244775] [0x00007f9efb1e2740] [info]    Reset id allocators with highest object id = -1 and highest design id = 141187
[2019-02-20 11:55:02.996937] [0x00007f586dddd740] [info]    ServerApp::~ServerApp
[2019-02-20 11:55:02.999184] [0x00007f586dddd740] [info]    Cleaned up FreeOrion Python interface
[2019-02-20 11:55:02.999200] [0x00007f586dddd740] [info]    Server exited cleanly.
[2019-02-20 11:55:03.024406] [0x00007f586dddd740] [info]    Reset id allocators with highest object id = -1 and highest design id = 142350
It seems I don't have actual core dumping enabled, couldn't find it.
The logs don't say anything useful to me. Server says my client disconnected, and last client log lines are these:

Code: Select all

[...]
11:54:56.516776 [error] client : Pathfinder.cpp:1248 : Passed invalid system id: -1
11:54:56.607419 [debug] client : Universe.cpp:1506 : Issue times: planet species: 0.219 ship species: 0.997 specials: 2.502 techs: 4.177 buildings: 1.253 hulls/parts: 7.22 fields: 0.74
11:54:56.607485 [debug] client : Universe.cpp:1513 : Evaluation time: 621.616 reorder time: 5.112
11:54:56.794280 [debug] timer : ScopedTimer.cpp:34 : Universe::ExecuteEffects time:      177 ms
11:54:56.801729 [debug] timer : ScopedTimer.cpp:34 : Universe::UpdateMeterEstimatesImpl on 0 objects time:      410 ms
11:54:57.017152 [error] client : Pathfinder.cpp:1248 : Passed invalid system id: -1
[...]
11:54:57.058008 [error] client : Pathfinder.cpp:1248 : Passed invalid system id: -1
11:54:57.080154 [debug] client : Universe.cpp:1506 : Issue times: planet species: 0.243 ship species: 2.662 specials: 2.724 techs: 2.741 buildings: 0.694 hulls/parts: 7.037 fields: 0.453
11:54:57.080208 [debug] client : Universe.cpp:1513 : Evaluation time: 624.476 reorder time: 5.872
11:54:57.103482 [debug] timer : ScopedTimer.cpp:34 : Universe::ExecuteEffects time:       12 ms
11:54:57.106971 [debug] client : MapWnd.cpp:2927 : MapWnd::InitTurnRendering
11:54:57.154417 [debug] client : MapWnd.cpp:3038 : MapWnd::InitSystemRenderingBuffers
11:54:57.155163 [debug] client : MapWnd.cpp:3895 : MapWnd::InitStarlaneRenderingBuffers
11:54:57.157901 [debug] timer : ScopedTimer.cpp:34 : MapWnd::InitStarlaneRenderingBuffers time:     2703 µs
11:54:57.176611 [debug] client : MapWnd.cpp:3935 : MapWnd::InitFieldRenderingBuffers
11:54:57.176764 [debug] client : MapWnd.cpp:4044 : MapWnd::InitVisibilityRadiiRenderingBuffers
11:54:57.182475 [debug] timer : ScopedTimer.cpp:34 : MapWnd::InitVisibilityRadiiRenderingBuffers time:     5662 µs
11:54:57.182636 [debug] timer : ScopedTimer.cpp:34 : MapWnd::InitTurnRendering time:       75 ms
11:54:57.191497 [debug] timer : ScopedTimer.cpp:34 : AddFleetsStateChangedSignal() time:     4787 µs
11:54:57.191658 [debug] timer : ScopedTimer.cpp:34 : RefreshFleetSignals() time:     8022 µs
11:54:57.191839 [debug] client : MapWnd.cpp:2783 : showing intro sitreps : false
11:54:57.203591 [debug] client : SitRepPanel.cpp:771 : SitRepPanel::Update()
11:54:57.220976 [debug] client : SitRepPanel.cpp:771 : SitRepPanel::Update()
11:54:57.247761 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 535.148 of 535.148 available
11:54:57.249701 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 1 ========
11:54:57.260641 [debug] client : ProductionQueue.cpp:794 : ProductionQueue::Update: Simulating future turns of production queue
11:54:57.400863 [debug] client : ProductionQueue.cpp:878 : ProductionQueue::Update: Projections took 140182 microseconds with 4113.88 total Production Points
11:54:57.403672 [debug] client : MapWnd.cpp:3895 : MapWnd::InitStarlaneRenderingBuffers
11:54:57.407559 [debug] timer : ScopedTimer.cpp:34 : MapWnd::InitStarlaneRenderingBuffers time:     3837 µs
11:54:57.425519 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.425623 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 2 ========
11:54:57.426914 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.427212 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.427277 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 3 ========
11:54:57.442940 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.443335 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.443376 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 4 ========
11:54:57.443640 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.446896 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.446970 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 5 ========
11:54:57.447257 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.449274 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.449337 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 6 ========
11:54:57.450206 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.452125 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.452204 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 7 ========
11:54:57.453271 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.453602 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.453640 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 8 ========
11:54:57.453922 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.456058 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.456137 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 9 ========
11:54:57.456889 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.458957 [debug] client : ResearchQueue.cpp:71 : SetTechQueueElementSpending allocated: 0 of 0 available
11:54:57.459020 [debug] client : Empire.cpp:2169 : ========= Production Update for empire: 10 ========
11:54:57.459582 [debug] client : ProductionQueue.cpp:788 : not enough PP to be worth simulating future turns production.  marking everything as never complete
11:54:57.461271 [debug] client : TechTreeWnd.cpp:1366 : Tech Tree Layout Preparing Tech Data
11:54:57.489461 [debug] client : TechTreeWnd.cpp:1389 : Tech Tree Layout Doing Graph Layout
11:54:57.489498 [debug] client : TechTreeLayout.cpp:208 : TechTreeLayout::DoLayout creating placeholder nodes...
11:54:57.489732 [debug] client : TechTreeWnd.cpp:1396 : Tech Tree Layout Creating Panels
11:54:57.490523 [debug] client : TechTreeWnd.cpp:1431 : Tech Tree Layout Done
11:54:57.490556 [debug] client : TechTreeWnd.cpp:1903 : Tech List Box Populating
11:54:57.490636 [debug] client : TechTreeWnd.cpp:1918 : Tech List Box Populating Done,  Creation time = 0.064ms
11:54:57.490653 [debug] client : TechTreeWnd.cpp:1846 : Tech List Box Updating
11:54:57.507043 [debug] client : TechTreeWnd.cpp:1899 : Tech List Box Updating Done, Insertion time = 1.738 ms
11:54:57.507077 [debug] client : ResearchWnd.cpp:574 : ResearchWnd::UpdateQueue()
11:54:57.508644 [debug] client : ProductionWnd.cpp:1057 : ProductionWnd::UpdateQueue()
11:54:57.620801 [debug] client : MapWnd.cpp:7593 : MapWnd::DispatchFleetsExploring called
11:54:57.621889 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - init                   time:     4190 µs
11:54:57.621916 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - meter estimates        time:     1202 ms
11:54:57.621928 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - rendering              time:       75 ms
11:54:57.621940 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - fleet signals          time:     9179 µs
11:54:57.621950 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - sitreps                time:       50 ms
11:54:57.621961 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - update resource pools  time:      217 ms
11:54:57.621971 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - refresh research       time:       48 ms
11:54:57.621982 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - refresh production wnd time:      101 ms
11:54:57.621993 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - refresh indicators     time:     8152 µs
11:54:57.622003 [debug] timer : ScopedTimer.cpp:180 : MapWnd::InitTurn - dispatch exploring     time:     4846 µs
11:54:57.622014 [debug] timer : ScopedTimer.cpp:190 : MapWnd::InitTurn                          time:     1722 ms
11:54:57.661895 [debug] timer : ScopedTimer.cpp:34 : SidePanel::RefreshImpl time:       15 ms
11:54:57.676899 [debug] timer : ScopedTimer.cpp:34 : SidePanel::RefreshImpl time:       14 ms
The "[error] client : Pathfinder.cpp:1248 : Passed invalid system id: -1" Messages occurs 2040 times each time (each turn?), but does not seem to be the cause of the SigSegV since it happens in every game session.

I tried to replicate by loading the last auto save game and replaying, but I was able to get past the turn the error happened, no client crash this time. So I'm just posting this here for the record (no need to open an issue) and save game logs and save game in a backup folder just in case.
Pleasepleaseplease, join fifth multiplayer slow game!

Post Reply