|Anonymous | Login||2018-10-21 19:43 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002710||VCMI||Other||public||2017-07-07 02:30||2018-05-31 15:39|
|Target Version||Fixed in Version|
|Summary||0002710: segfault on victory|
|Description||When a campaign or single-player game is won on macOS, VCMI segfaults. Here are two sample crash logs; let me know if more are needed: https://gist.github.com/dunn/36539f4a779520fc57a49d3cc7ab7f4e [^]|
|Additional Information||Boost version: 1.64.0|
|Tags||No tags attached.|
|Is it true for absolutely every game?|
|True for all three I've finished so far (Myth and Legend once, first part of Restoration of Erathia twice). I'll try some more, though.|
|Victory in Dungeon Keeper: https://gist.github.com/47eb120423cdb4d8a1459024483fbfa1 [^]|
|Just now, for the first time it didn't segfault after a victory. It's possible something was fixed when I rebuilt against the latest commit; I'll see if it happens again.|
|It's still crashing most of the time as of cdd9dbc7f1228f62b872e800cca301e0ee38fb19.|
Yeah it's crashing because it's doesn't handle server shutdown too well. We had similar problem across platforms because our server startup code is ugly.
Now I'm being able to actually debug it in both Xcode and Qt Creator on Mac and I see it.
I somewhat mitigated it here:
Though no way it's correct fix for the problem.
Sorry for digging it up but it seems to be roughly the same scenario of reproduction. I only see a different stacktrace.
Crash Report dump: https://gist.github.com/dariuszseweryn/9f3c673bc99b8e913ac62fdb403decfd [^]
|2017-07-07 02:30||catalina||New Issue|
|2017-07-07 07:25||SXX||Note Added: 0007105|
|2017-07-07 13:01||catalina||Note Added: 0007107|
|2017-07-07 14:13||catalina||Note Added: 0007108|
|2017-07-08 19:49||catalina||Note Added: 0007109|
|2017-07-22 14:19||SXX||Assigned To||=> SXX|
|2017-07-22 14:19||SXX||Status||new => assigned|
|2017-07-22 16:56||catalina||Note Added: 0007167|
|2017-08-12 06:15||SXX||Note Added: 0007225|
|2017-08-14 09:46||SXX||Note Added: 0007228|
|2018-04-08 19:59||s_noopy||Note Added: 0007572|
|Copyright © 2000 - 2018 MantisBT Team|