View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003035 | Spring engine | public | 2012-03-25 23:33 | 2012-10-03 03:02 | |
| Reporter | wolas | Assigned To | zerver | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | resolved | Resolution | unable to reproduce | ||
| Product Version | 88.0 | ||||
| Summary | 0003035: Spring 88 MT hangs on loading game | ||||
| Description | I have patched spring and git cherry-pick c9c1f42 And it still hangs when loading game. Linux 64bit debian testing. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
Please compile a DEBUG build so we can get a useful stacktrace in the infolog. |
|
|
Ok I m not really experienced at this. I tried to compile debug build with this: cmake -D CMAKE_BUILD_TYPE:STRING=DEBUG -D CMAKE_INSTALL_PREFIX:PATH=/opt/spring-debug/ . But it seems like not really debug build because it still gives some stacktraces instead something really meaningful, but in infolog(uploaded infolog2) it shows it as Spring 88.0-1-g7111a10 HEAD (Debug MT-Sim OMP) I m confused :) |
|
|
OK I compiled spring-MT without OMP and it still hangs. It always hangs on "Loading sound definitions" (zero-k) http://pastebin.com/UVM9bRtR same game DEBUG build without OMP http://pastebin.com/nUabMi3s same game DEBUG build with OMP so this is definitly not because of OMP :) This might be map or game related since some battles/maps I can load without a problem. Demo of same battle hangs too! http://zero-k.info/Battles/Detail/63263 so this might be some help I hope, weird previous game demo didint hanged, while online did. Ok sometimes this demo hangs sometimes it wont. [f=0000000] [Sound] Available Devices: [f=0000000] caught SIGINT, aborting // launched from console I start clicking ctr+c like mad :) This is probably related how spring opens sound devices. And by the way infolog is damn weird after I try to terminate it from console it try to load more? or something look at SIGINT messages http://pastebin.com/7fsgXJ42 Well kinda found a way how to reproduce it. First launch spring with demo and it will hang up then terminate it, but it sometimes leaves one thread hanging after terminating leave it (its a must). Then launch second spring and then you have high chance on loading up. So I bet in multithreaded code there is race condition and if it fails lets say open sound device in time then it hangs. |
|
|
Sorry for not replying sooner. I think you should have CMAKE_BUILD_TYPE = DEBUG2 See "Some options explained" here: http://springrts.com/wiki/Building_Spring_Cross_Compiled |
|
|
does this still happen with spring 91.0? if so, please reopen this bug report |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-03-25 23:33 | wolas | New Issue | |
| 2012-03-25 23:33 | wolas | File Added: infolog.txt | |
| 2012-03-26 03:22 | zerver | Note Added: 0008503 | |
| 2012-03-26 03:23 | zerver | Relationship added | duplicate of 0003036 |
| 2012-03-26 12:36 | wolas | Note Added: 0008506 | |
| 2012-03-26 12:36 | wolas | File Added: infolog2.txt | |
| 2012-03-26 12:38 | wolas | Note Edited: 0008506 | |
| 2012-03-27 11:44 | wolas | Note Added: 0008520 | |
| 2012-03-27 16:32 | abma | Relationship deleted | 0003036 |
| 2012-05-10 18:37 | abma | Category | Linux => Spring MT |
| 2012-06-08 21:34 | zerver | Status | new => assigned |
| 2012-06-08 21:34 | zerver | Assigned To | => zerver |
| 2012-06-08 21:35 | zerver | Note Added: 0008747 | |
| 2012-06-08 21:35 | zerver | Status | assigned => feedback |
| 2012-10-03 03:02 | abma | Note Added: 0009241 | |
| 2012-10-03 03:02 | abma | Status | feedback => resolved |
| 2012-10-03 03:02 | abma | Resolution | open => unable to reproduce |
| 2014-01-16 16:06 | abma | Category | Spring MT => (No Category) |