2025-07-20 22:13 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003080Spring engineGeneralpublic2012-05-08 01:34
ReporterTom Fyuri 
Assigned Tozerver 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version88.0 
Target VersionFixed in Version89.0 
Summary0003080: endless loop in spring-mt
DescriptionSo, multithread version of spring always hang soon or later when I'm playing with other players. It seems to never hang, if I just watch game though (replay/spectate).
Additional InformationI was playing with my friend against few CAI bots. In about 2 minutes I produced few units and wanted to build a grid of wind towers. So I selected wind towers, hold shift, click and as soon as I started draw grid my game hanged.

I can reproduce this almost always when I play with someone, just build few units, 2-3 mexes, factory and start to draw a line of wind towers for example. In other cases it will just hang when I reach some unit amount, I'm not sure. I almost could never play more than 11 minutes. Expect if I'm totally alone and have only 1 unit. Then it let's me play longer.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0008664

Tom Fyuri (reporter)

Last edited: 2012-05-06 22:43

I attached gdb log ( http://pastebin.mozilla.org/1621116 ) and replay. Though replay won't hang.

Also my infolog.txt don't seem to have anything useful, if game hangs.

P.s. Also I wanted to say "In 2 minutes", but it somehow turned into "In Note: 0000002 minutes".

Edit: merged my 2 comments.
Ah, also I compiled spring on my own. I'm on archlinux so I created package. ( http://pastebin.mozilla.org/1621259 )
It's a normal spring with just 2 fixes.
zerver mt fix # git cherry-pick c9c1f42
gcc 4.7 fix # git cherry-pick 02191c7cbe

Edit2: thanks a lot abma for fixing typo in my bug-report message and help. :D

~0008666

zerver (reporter)

If you can reproduce it again and issue command in gdb:

thread apply all bt full

then it should be solvable.

Thanks

~0008668

Tom Fyuri (reporter)

Last edited: 2012-05-07 11:49

log: http://pastebin.mozilla.org/1622921
replay: http://zero-k.info/Battles/Detail/74521

Edit: a bit more info. At first I tried to just reproduce with similar steps (fac, few units and wind spam). After few minutes I decided to make pure unit/structure spam and as another chicken wave spawned I hanged.

~0008671

zerver (reporter)

Excellent bug report, I wish all of them were like this

https://github.com/spring/spring/commit/71f0272a25ddf85b721d801191833438fa40408c
+Notes

-Issue History
Date Modified Username Field Change
2012-05-06 19:20 Tom Fyuri New Issue
2012-05-06 19:20 Tom Fyuri File Added: gdb.log
2012-05-06 19:21 Tom Fyuri File Added: 20120506_183401_Altair_Crossing-V1_88.sdf
2012-05-06 19:22 Tom Fyuri Note Added: 0008664
2012-05-06 19:27 Tom Fyuri Note Edited: 0008664
2012-05-06 19:27 Tom Fyuri Note Edited: 0008664
2012-05-06 19:30 abma Additional Information Updated
2012-05-06 21:37 Tom Fyuri Note Edited: 0008664
2012-05-06 22:15 Tom Fyuri Note Edited: 0008664
2012-05-06 22:43 Tom Fyuri Note Edited: 0008664
2012-05-07 01:57 zerver Note Added: 0008666
2012-05-07 01:57 zerver Status new => feedback
2012-05-07 11:36 Tom Fyuri Note Added: 0008668
2012-05-07 11:36 Tom Fyuri File Added: gdb.2.log
2012-05-07 11:36 Tom Fyuri Note Edited: 0008668
2012-05-07 11:49 Tom Fyuri Note Edited: 0008668
2012-05-07 21:35 abma Status feedback => new
2012-05-07 23:20 zerver Status new => assigned
2012-05-07 23:20 zerver Assigned To => zerver
2012-05-08 01:34 zerver Note Added: 0008671
2012-05-08 01:34 zerver Status assigned => resolved
2012-05-08 01:34 zerver Fixed in Version => 89.0
2012-05-08 01:34 zerver Resolution open => fixed
+Issue History