2025-07-18 02:19 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001650Spring engineGeneralpublic2009-10-03 10:46
ReporterSirMaverick 
Assigned ToAuswaschbar 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.4.0+git 
Target Version0.81.0.0Fixed in Version 
Summary0001650: spring locks up in network loop
DescriptionWith latest master (a9a2bfeb4e607702e3b5285563f85f7f000ca283) spring locks up when host does not exist.

Tested in local LAN (100MBit): spring sends UDP packets with a constant stream of 15MBit/s. And does never stop.
Additional InformationLocks up there:

[...]
#7 0x089535d0 in netcode::UDPConnection::SendIfNecessary (this=0x9cf0b88, flushed=true) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/Net/UDPConnection.cpp:552
#8 0x089548c0 in netcode::UDPConnection::Flush (this=0x9cf0b88, forced=true) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/Net/UDPConnection.cpp:390
#9 0x088b6d6d in CNetProtocol::InitClient (this=0x9cf6fc0, server_addr=0x9ceecdc "192.168.0.14", portnum=8455, sourceport=0, myName=..., myPasswd=..., myVersion=...) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/NetProtocol.cpp:44
0000010 0x08364c2e in CPreGame (this=0x9ceeeb8, setup=0x9cfce48) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/Game/PreGame.cpp:63
#11 0x088b8c1a in SpringApp::Startup (this=0xbffff4e0) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/SpringApp.cpp:784
0000012 0x088bfb5f in SpringApp::Initialize (this=0xbffff4e0) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/SpringApp.cpp:235
0000013 0x088bfc0d in SpringApp::Run (this=0xbffff4e0, argc=2, argv=0xbffff5c4) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/SpringApp.cpp:927
0000014 0x088ed385 in Run (argc=2, argv=0xbffff5c4) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/Main.cpp:111
#15 0x088ed3e0 in main (argc=16, argv=0xbfffdc98) at /home/mav/spring/spring/a9a2bfeb4e607702e3b5285563f85f7f000ca283/rts/System/Main.cpp:127
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004137

Auswaschbar (reporter)

Cannot reproduce. If host is unreachable, nothing locks up, and traffic is about 100 bytes / s.

~0004138

SirMaverick (reporter)

I wasn't exact. The host computer must exist, but no spring is running there.

If you try to reach a non existing host in LAN you won't get a valid MAC to send the UDP packets to. Spring still uses 100% CPU and show a black screen. I don't see any countdown like with 0.80.4.1. I killed Spring after 10 minutes.

~0004140

Auswaschbar (reporter)

The host computer must exist, but no spring is running there. << Thats what I tested.

~0004141

SirMaverick (reporter)

"MaximumTransmissionUnit=0" should trigger it. Does not happen with default value 1400.

~0004143

Auswaschbar (reporter)

Thanks for the testing. Should not happen anymore.
+Notes

-Issue History
Date Modified Username Field Change
2009-09-17 12:01 SirMaverick New Issue
2009-09-17 14:19 Auswaschbar Note Added: 0004137
2009-09-17 15:09 SirMaverick Note Added: 0004138
2009-09-17 15:35 Auswaschbar Note Added: 0004140
2009-09-17 17:37 SirMaverick Note Added: 0004141
2009-09-17 23:46 Auswaschbar Note Added: 0004143
2009-09-17 23:46 Auswaschbar Status new => resolved
2009-09-17 23:46 Auswaschbar Resolution open => fixed
2009-09-17 23:46 Auswaschbar Assigned To => Auswaschbar
2009-10-03 10:46 imbaczek Target Version => 0.81.0.0
+Issue History