View Issue Details

IDProjectCategoryView StatusLast Update
0003988Spring engineGeneralpublic2013-09-04 05:41
ReporterRafal99 Assigned Toabma  
PrioritynormalSeveritycrashReproducibilityunable to reproduce
Status closedResolutionduplicate 
Product Version94.1.1+git 
Summary0003988: Crash in Spring 94.1.1-1088
DescriptionSpring crashed after a minute of a test battle, for no apparent reason.
The replay doesn't crash.

Spring 94.1.1-1088-g77209c6 develop
Zero-K test-11331
Additional Information[f=0002089] Error: Exception: Access violation (0xc0000005)
[f=0002089] Error: Exception Address: 0x008299b0
[f=0002089] Error: Stacktrace:
[f=0002089] Error: (0) D:\games\Spring\engine\94.1.1-1088-g77209c6\spring.exe [0x008299B0]
[f=0002089] Error: (1) D:\games\Spring\engine\94.1.1-1088-g77209c6\spring.exe [0x00D841C8]
[f=0002089] Error: (2) D:\games\Spring\engine\94.1.1-1088-g77209c6\spring.exe [0x00DB78ED]
[f=0002089] Error: (3) D:\games\Spring\engine\94.1.1-1088-g77209c6\spring.exe [0x00D841F0]
[f=0002089] Error: (4) D:\games\Spring\engine\94.1.1-1088-g77209c6\spring.exe [0x00C96FAC]
TagsNo tags attached.
Attached Files
infolog1088.txt (Attachment missing)
20130902_163606_Small_Divide-Remake-v04_94.1.1-1088-g77209c6 develop.sdf (Attachment missing)
infolog2.txt (Attachment missing)
gdb_crash3.txt (Attachment missing)
gdb_crash4.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

has duplicate 0003984 resolvedjK ordering a unit with a LightningCannon weapon to attack crashes spring 
has duplicate 0003964 resolvedabma 94.1.1-1015 Midgame Crash 
has duplicate 0003989 resolvedabma Crash during loading, "Finalizing" phase at 100% 

Activities

jK

2013-09-03 01:05

developer   ~0011527

set ThreadWorkerCount=1 in your config and try to reproduce a crash (i hope it still does)

Rafal99

2013-09-03 03:48

reporter   ~0011528

Last edited: 2013-09-03 03:53

I got the crash to reproduce very reliably, it happens when I have certain units selected (for example ZK Newton) and press A for attack.

With ThreadWorkerCount=1 set it produces the exact same stacktrace, except there the error messagebox doesn't appear during the crash.
I added the generated infolog. (infolog2.txt)

Important note:
During the crash I saw a misshaped range circle for a moment.
Which suggests the crash is the same as in 0003984, and related to drawing of range circles as described here:
http://springrts.com/mantis/view.php?id=3984#c11514

It also explains why the replay doesn't crash - no units are selected so no range circles are getting drawn.

jK

2013-09-03 04:47

developer   ~0011530

you know how to use gdb?

Rafal99

2013-09-03 05:16

reporter   ~0011531

Last edited: 2013-09-03 06:27

Well I used it like 1 or 2 times in the classes but thats all.
If you give me precise instructions I can figure it out.

Edit: Working on it with jK

Edit2: Uploaded gdb outputs we got.
gdb_crash4.txt contains output of `thread apply all bt full`.

abma

2013-09-03 20:29

administrator   ~0011535

hmm, imo something is wrong here:

https://github.com/spring/spring/blob/develop/rts/Rendering/GL/glExtra.cpp#L78

Issue History

Date Modified Username Field Change
2013-09-02 17:06 Rafal99 New Issue
2013-09-02 17:06 Rafal99 File Added: infolog1088.txt
2013-09-02 17:06 Rafal99 File Added: 20130902_163606_Small_Divide-Remake-v04_94.1.1-1088-g77209c6 develop.sdf
2013-09-03 01:05 jK Note Added: 0011527
2013-09-03 03:48 Rafal99 Note Added: 0011528
2013-09-03 03:49 Rafal99 File Added: infolog2.txt
2013-09-03 03:49 Rafal99 Note Edited: 0011528
2013-09-03 03:53 Rafal99 Note Edited: 0011528
2013-09-03 04:47 jK Note Added: 0011530
2013-09-03 05:16 Rafal99 Note Added: 0011531
2013-09-03 05:47 Rafal99 Note Edited: 0011531
2013-09-03 06:06 Rafal99 File Added: gdb_crash3.txt
2013-09-03 06:16 Rafal99 File Added: gdb_crash4.txt
2013-09-03 06:27 Rafal99 Note Edited: 0011531
2013-09-03 15:31 Kloot Relationship added has duplicate 0003984
2013-09-03 20:29 abma Note Added: 0011535
2013-09-04 05:41 abma Status new => closed
2013-09-04 05:41 abma Assigned To => abma
2013-09-04 05:41 abma Resolution open => duplicate
2013-09-05 01:26 abma Relationship added has duplicate 0003964
2013-09-05 01:27 abma Relationship added has duplicate 0003989