View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003988 | Spring engine | General | public | 2013-09-02 17:06 | 2013-09-04 05:41 |
| Reporter | Rafal99 | Assigned To | abma | ||
| Priority | normal | Severity | crash | Reproducibility | unable to reproduce |
| Status | closed | Resolution | duplicate | ||
| Product Version | 94.1.1+git | ||||
| Summary | 0003988: Crash in Spring 94.1.1-1088 | ||||
| Description | Spring 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] | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
set ThreadWorkerCount=1 in your config and try to reproduce a crash (i hope it still does) |
|
|
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. |
|
|
you know how to use gdb? |
|
|
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`. |
|
|
hmm, imo something is wrong here: https://github.com/spring/spring/blob/develop/rts/Rendering/GL/glExtra.cpp#L78 |
| 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 |