View Issue Details

IDProjectCategoryView StatusLast Update
0003035Spring enginepublic2012-10-03 03:02
Reporterwolas Assigned Tozerver  
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionunable to reproduce 
Product Version88.0 
Summary0003035: Spring 88 MT hangs on loading game
DescriptionI have patched spring and git cherry-pick c9c1f42
And it still hangs when loading game. Linux 64bit debian testing.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
infolog2.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

zerver

2012-03-26 03:22

reporter   ~0008503

Please compile a DEBUG build so we can get a useful stacktrace in the infolog.

wolas

2012-03-26 12:36

reporter   ~0008506

Last edited: 2012-03-26 12:38

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 :)

wolas

2012-03-27 11:44

reporter   ~0008520

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.

zerver

2012-06-08 21:35

reporter   ~0008747

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

abma

2012-10-03 03:02

administrator   ~0009241

does this still happen with spring 91.0?

if so, please reopen this bug report

Issue History

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)