View Issue Details

IDProjectCategoryView StatusLast Update
0001967Spring engineGeneralpublic2010-07-05 03:05
Reporterechoone Assigned Tozerver  
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version0.81.2+git 
Fixed in Version0.81.2+git 
Summary0001967: Crash in Rendering/UnitDrawer.cpp
DescriptionI observed this with the current git head (0.81.2.1-1242-g7b166a7), as well as several days back (five or more), with the multi-threaded binary and running a test version of CA, fighting against the CAI AI. I have repeatedly observed this bug. While I'm not 100% I do believe I have only observed it when running the multi-threaded binary.

While there is no warning of an impending crash I suspect it is likely related to an observed visual artifact. Each time a crash is observed, one or more units are drawn sans a wire frame and texture. They are effectively invisible despite the fact the units in question do not have cloaking ability. They are only visible via their outline when highlighted. Otherwise you wouldn't know a unit was there.
Additional InformationMy brother reported the invisible unit issue to me several days ago. He was running the latest stable release. I wouldn't be at all surprised to find he was also running the multi-threaded binary (unconfirmed) from the stable release. Chances are, whatever is causing the rendering bug also exists within the stable 0.81.2.1 code base.

I don't recall if he said the game crashed for him. He too was running a test version of CA and fighting against the CAI AI.
Tagsgraphics
Attached Files
infolog.txt (Attachment missing)
20100629_160829_unnamed_0.81+.0.sdf (Attachment missing)
Checked infolog.txt for Errors

Activities

echoone

2010-06-30 15:12

reporter   ~0005019

Attached replay where crash is reproducible. Thanks to abma for the suggestions.

echoone

2010-06-30 19:53

reporter   ~0005024

Got this with the single threaded binary. Same setup.

Segmentation fault (SIGSEGV) in spring 0.81+.0.0
Stacktrace:
/home/gcope/games/bin/spring [0x941ca7]
/lib64/libc.so.6 [0x7f5bcf9a95c0]
/home/gcope/games/bin/spring [0x6c1a70]
/home/gcope/games/bin/spring [0x6c1f5b]
/home/gcope/games/bin/spring [0x4b85bb]
/home/gcope/games/bin/spring [0x4c2e5a]
/home/gcope/games/bin/spring [0x93246d]
/home/gcope/games/bin/spring [0x938d7a]
/home/gcope/games/bin/spring [0x916a79]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f5bcf99691d]
/home/gcope/games/bin/spring [0x445919]
Translated Stacktrace:
/home/gcope/build/games/spring/rts/System/Platform/CrashHandler.cpp:283
??:0
/home/gcope/build/games/spring/rts/Rendering/UnitDrawer.cpp:2134
/home/gcope/build/games/spring/rts/Rendering/UnitDrawer.cpp:476
/home/gcope/build/games/spring/rts/Game/Game.cpp:2868
/home/gcope/build/games/spring/rts/Game/Game.cpp:3205
/home/gcope/build/games/spring/rts/System/SpringApp.cpp:949
/home/gcope/build/games/spring/rts/System/SpringApp.cpp:1057
/home/gcope/build/games/spring/rts/System/Main.cpp:63
??:0
/home/qateam/rpm/BUILD/glibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:116

hoijui

2010-06-30 21:43

reporter   ~0005025

hmm.. these line numbers seem not to make sense.
maybe you have to run in gdb/ddd.

btw, ALWAYS give whole infolog ;-)

echoone

2010-07-02 14:23

reporter   ~0005039

I did a pull and compile. I noticed changes to the suspect files and investigated. I found this changeset: http://github.com/spring/spring/commit/8dbbb2fb2aec95076afc4c2a2dd5e2d9d03a5b3c

While not conclusive it does appear this change has fixed the crashes. I also did not observe any improperly cloaked units. I would say its premature to close this bug, unless you know for a fact its resolved, but it certainly looks promising.

Good job!

zerver

2010-07-04 17:48

reporter   ~0005051

Actually I think the problem persists, so I am reopening this one.

zerver

2010-07-05 03:05

reporter   ~0005054

Probably fixed now though.

Issue History

Date Modified Username Field Change
2010-06-30 13:48 echoone New Issue
2010-06-30 13:48 echoone File Added: infolog.txt
2010-06-30 13:50 echoone Tag Attached: graphics
2010-06-30 15:12 echoone File Added: 20100629_160829_unnamed_0.81+.0.sdf
2010-06-30 15:12 echoone Note Added: 0005019
2010-06-30 19:53 echoone Note Added: 0005024
2010-06-30 21:43 hoijui Note Added: 0005025
2010-07-02 14:23 echoone Note Added: 0005039
2010-07-04 09:53 Kloot Status new => assigned
2010-07-04 09:53 Kloot Assigned To => zerver
2010-07-04 09:54 Kloot Status assigned => resolved
2010-07-04 09:54 Kloot Fixed in Version => 0.81.0.0+git
2010-07-04 09:54 Kloot Resolution open => fixed
2010-07-04 17:48 zerver Note Added: 0005051
2010-07-04 17:48 zerver Status resolved => assigned
2010-07-04 17:48 zerver Resolution fixed => reopened
2010-07-05 03:05 zerver Note Added: 0005054
2010-07-05 03:05 zerver Status assigned => resolved
2010-07-05 03:05 zerver Fixed in Version 0.81.0.0+git => 0.81.2+git
2010-07-05 03:05 zerver Resolution reopened => fixed