View Issue Details

IDProjectCategoryView StatusLast Update
0003551Spring engineGeneralpublic2013-03-31 05:53
Reportersilentwings Assigned TojK  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version93.1 
Target Version94.1 
Summary0003551: 3dtrees/shadows problem with 93.1.1-6
DescriptionWith 93.1.1-6 (and previous versions since 92.0, I think), if I have both 3dtrees and shadows enabled, I get a hang+crash about 2 seconds after the map appears. If I play on a map without trees or grass then its fine.

In versions before 93.0 the infolog would blame my gfx card, but in 93.1.1-6 it doesnt and reports an unhandled exception. Infolog attached. Map was DSD with BA 7.72.

TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
infolog (grassdetail=0).txt (Attachment missing)
infolog (grassdetail=1).txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

has duplicate 0003599 closed shadows & 3dtrees still crashes 

Activities

silentwings

2013-03-13 01:47

reporter   ~0010038

Tried this again, exactly same bug but got different infologs, both ST and MT blamed gfx card; seems the above was a fluke.

jK

2013-03-20 19:58

developer   ~0010137

is it grass or tree drawing that cause the crash?

silentwings

2013-03-20 20:35

reporter   ~0010138

Last edited: 2013-03-20 20:36

how do i tell which it is? let me know and i'll test.

btw this is a duplicate of 3599 (or rather, 3599 is a duplicate of this xD)

jK

2013-03-20 21:26

developer   ~0010139

GrassDetail=0

silentwings

2013-03-21 10:14

reporter   ~0010146

Checked with Spring 93.2.1-56, on DSD with BA 7.72, 3dtrees=1 and shadows=2. Setting grassdetail=0 prevents the crash. Uploaded both infologs.

abma

2013-03-21 23:12

administrator   ~0010149

Last edited: 2013-03-21 23:12

infolog (grassdetail=1).txt
translated:
addr2line -e spring.dbg
0x0061276A
/home/buildbot/slave/full-windows-test/build/build/default/../../rts/Rendering/Env/GrassDrawer.cpp:689
0x00D1715C
/usr/lib/gcc/i686-mingw32/4.7.2/include/g++-v4/bits/stl_algo.h:2178
0x00D1FB4E
/usr/lib/gcc/i686-mingw32/4.7.2/include/g++-v4/bits/stl_algo.h:2143
0x00D237DF
/usr/lib/gcc/i686-mingw32/4.7.2/include/g++-v4/bits/stl_algo.h:2219
0x00617328
/home/buildbot/slave/full-windows-test/build/build/default/../../rts/Rendering/Env/GrassDrawer.cpp:773
0x014283AD
??:0
0x007C93E9
/home/buildbot/slave/full-windows-test/build/build/default/../../rts/System/Platform/Threading.cpp:368
0x01428012
??:0
0x007CC519
/home/buildbot/slave/full-windows-test/build/build/default/../../rts/System/SpringApp.cpp:958
0x007B854C
/home/buildbot/slave/full-windows-test/build/build/default/../../rts/System/Main.cpp:66
0x007B8B3D
/home/buildbot/slave/full-windows-test/build/build/default/../../rts/System/Main.cpp:151
0x00D7821B
LzmaDec.c:0
0x004010FD
crt1.c:0

abma

2013-03-22 00:45

administrator   ~0010154

Last edited: 2013-03-22 00:51

for me it still crashes: http://paste.springfiles.com/view/3bbf8290

3DTrees=0 -> works

wouldn't it make sense to default 3DTrees to 0 and remove it at some point? as both types of trees are really ugly... also many maps already use spring-features which look pretty regardingless of this setting.

3DTrees=1 & GrassDetail=0 & Shadows=1 works, too.
3DTrees=1 & GrassDetail=1 & Shadows=0, work

abma

2013-03-22 11:32

administrator   ~0010159

translated: http://paste.springfiles.com/view/291850ca

silentwings

2013-03-22 11:38

reporter   ~0010160

Making 3dtrees default to 0 certainly makes sense for me - I've never come across a map where I noticed the difference.

abma

2013-03-22 12:11

administrator   ~0010161

@silentwings:
does it work for you when set 3DTrees=0 & GrassDetail=1 & Shadows=1 ?

thats not 100% clear when reading this.

silentwings

2013-03-22 23:21

reporter   ~0010163

Yes, it works like that.

abma

2013-03-31 05:53

administrator   ~0010334

should be fixed in 94.1

Issue History

Date Modified Username Field Change
2013-03-13 01:43 silentwings New Issue
2013-03-13 01:43 silentwings File Added: infolog.txt
2013-03-13 01:47 silentwings Note Added: 0010038
2013-03-20 19:58 jK Note Added: 0010137
2013-03-20 20:35 silentwings Note Added: 0010138
2013-03-20 20:36 silentwings Note Edited: 0010138
2013-03-20 20:36 silentwings Note Edited: 0010138
2013-03-20 21:26 jK Note Added: 0010139
2013-03-21 00:13 abma Relationship added has duplicate 0003599
2013-03-21 10:14 silentwings Note Added: 0010146
2013-03-21 10:14 silentwings File Added: infolog (grassdetail=0).txt
2013-03-21 10:15 silentwings File Added: infolog (grassdetail=1).txt
2013-03-21 21:43 jK Changeset attached => spring release 72aa61b1
2013-03-21 21:43 jK Assigned To => jK
2013-03-21 21:43 jK Status new => resolved
2013-03-21 21:43 jK Resolution open => fixed
2013-03-21 21:50 jK Changeset attached => spring release 535ad10c
2013-03-21 22:48 jK Status resolved => feedback
2013-03-21 22:48 jK Resolution fixed => reopened
2013-03-21 23:12 abma Note Added: 0010149
2013-03-21 23:12 abma Note Edited: 0010149
2013-03-22 00:45 abma Note Added: 0010154
2013-03-22 00:48 abma Note Edited: 0010154
2013-03-22 00:50 abma Note Edited: 0010154
2013-03-22 00:51 abma Note Edited: 0010154
2013-03-22 01:03 abma Target Version => 94.1
2013-03-22 11:32 abma Note Added: 0010159
2013-03-22 11:38 silentwings Note Added: 0010160
2013-03-22 11:38 silentwings Status feedback => assigned
2013-03-22 12:11 abma Note Added: 0010161
2013-03-22 23:21 silentwings Note Added: 0010163
2013-03-31 05:53 abma Note Added: 0010334
2013-03-31 05:53 abma Status assigned => resolved
2013-03-31 05:53 abma Resolution reopened => fixed