View Issue Details

IDProjectCategoryView StatusLast Update
0002572Spring engineGeneralpublic2011-07-26 23:18
ReporterFLOZi Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityrandom
Status resolvedResolutionfixed 
Product Version0.82.7+git 
Target Version83.0Fixed in Version0.82.7+git 
Summary0002572: (master) F1 map can crash Spring in BaseGroundDrawer.cpp:395
DescriptionAs the summary says, pressing the F1 map can crash spring.

Mainly I have been testing this with S44 SVN version, Aberdeen3v3v3 map.

Seems like 9 out of 10 times it will crash as soon as I press F1. On the other 1/10 times, no matter how many times I toggle F1 on and off I don't get a crash.

At first I thought it was due to the SetMapGroundSquare example widget, but I have reproduced it also with that disabled.
Additional InformationFull infolog including stacktrace:

http://pastebin.com/9TvU6FgP

It's from a self compiled Spring, GCC 4.5.2, I believe built from https://github.com/spring/spring/commit/17babaf1d265dcecb06fd7ca58ea6b368c18cf1f
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

FLOZi

2011-07-24 02:00

reporter   ~0007063

Updated to https://github.com/spring/spring/commit/fc8e1f23c3c8f4d1d84a1acd79073ca8e02b967a and the issue remains.

abma

2011-07-24 09:10

administrator   ~0007064

i couldn't reproduce that.

can you either: test with a official build from the buildbot + attach infolog.txt from that?

http://springrts.com/dl/buildbot/default/master/spring_testing.exe or
http://springrts.com/dl/buildbot/default/master/spring_testing_minimal-portable.7z

or run with gdb and copy + paste a "bt full" after the crash?

abma

2011-07-24 09:10

administrator   ~0007065

note: sorry http://spring.abma.de/translate/ had wrong permissions, should work again (but not with this infolog.txt as its self-compiled...)

FLOZi

2011-07-24 14:01

reporter   ~0007066

Last edited: 2011-07-24 14:03

Stacktrace from the above (portable) build: http://pastebin.com/h4BJKP1u

https://github.com/spring/spring/blob/master/rts/Map/BaseGroundDrawer.cpp#L395

Full infolog attached

hoijui

2011-07-26 19:03

reporter   ~0007081

aha!
i was previously also unable to reproduce this, but i tried with BA on Brazilian Battlefield only.

"BA 7.50" on "Brazilian Battlefield" -> fine
"BA 7.50" on "Aberdeen3v3v3" -> fine
"Spring 1944 1.53 RC3" on "Brazilian Battlefield" -> fine
"Spring 1944 1.53 RC3" on "Aberdeen3v3v3" -> crash

it seems to be 100% reproducible. (tried 3 times)

this might be a good commit to test:
https://github.com/spring/spring/commit/ece29c593a07be56ce6f9ba7f6925880af95a3a3#diff-0
or say, the one before that one: 0.82.3-2415-gbbc4397
http://springrts.com/dl/buildbot/default/master/0.82.3-2415-gbbc4397/
and in case that one works, then check if the next one really fails already:
http://springrts.com/dl/buildbot/default/master/0.82.3-2416-gece29c5/

.. too lazy i am :/

FLOZi

2011-07-26 19:44

reporter   ~0007082

Last edited: 2011-07-26 19:50

Crash in 0.82.3-2415-gbbc4397:
http://pastebin.com/xdsH26xG

Behaviour is different, crash isn't immediately on F1 but after scrolling.

Crash in 0.82.3-2416-gece29c5/:
http://pastebin.com/AkmyszBs

Same behaviour as before. Crash now reported as:
https://github.com/spring/spring/blob/master/rts/Map/BaseGroundDrawer.cpp#L388

Kloot

2011-07-26 23:18

developer   ~0007086

protip: NPO2(512) == 512, not 1024

Issue History

Date Modified Username Field Change
2011-07-24 01:32 FLOZi New Issue
2011-07-24 01:32 FLOZi Graphics Card => unknown
2011-07-24 02:00 FLOZi Note Added: 0007063
2011-07-24 09:10 abma Note Added: 0007064
2011-07-24 09:10 abma Status new => feedback
2011-07-24 09:10 abma Note Added: 0007065
2011-07-24 09:18 abma Target Version => 0.83.0
2011-07-24 14:01 FLOZi Note Added: 0007066
2011-07-24 14:01 FLOZi Note Edited: 0007066
2011-07-24 14:03 FLOZi Note Edited: 0007066
2011-07-24 14:03 FLOZi File Added: infolog.txt
2011-07-24 17:05 abma Status feedback => new
2011-07-24 17:05 abma Summary F1 map can crash Spring => (master) F1 map can crash Spring in BaseGroundDrawer.cpp:395
2011-07-26 19:03 hoijui Note Added: 0007081
2011-07-26 19:44 FLOZi Note Added: 0007082
2011-07-26 19:50 FLOZi Note Edited: 0007082
2011-07-26 21:41 Kloot Status new => assigned
2011-07-26 23:18 Kloot Note Added: 0007086
2011-07-26 23:18 Kloot Status assigned => resolved
2011-07-26 23:18 Kloot Fixed in Version => 0.82.7+git
2011-07-26 23:18 Kloot Resolution open => fixed
2011-07-26 23:18 Kloot Assigned To => Kloot