View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002298 | Spring engine | General | public | 2011-01-10 16:22 | 2011-05-07 17:11 |
| Reporter | t0 | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | suspended | ||
| Product Version | 0.82.7.1 | ||||
| Summary | 0002298: bad_alloc threw | ||||
| Description | and spring crashed. It happened more then twice - to reproduce you need to use mouse scroll at start or during game. Spring for ubuntu shipped from ppa. It happened to me once on 0.82.7.0 but I was unable to reproduce it so I ignored it. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
another one this time w/o using scroll, only moving around. Game didn't start. |
|
|
[f=0000000] Fatal Error std::bad_alloc this is thrown by the spring default exception catch clause, defined as CATCH_SPRING_ERRORS in rts/System/Platform/errorhandler.h. CATCH_SPRING_ERRORS is used in: rts/System/OffscreenGLContext.cpp rts/System/SpringApp.cpp rts/System/Main.cpp so... it happened in one of these 3 places. most likely not the first one, as it is currently only used fro the loading screen, and you were already in-game. in short, this way of dealing with exceptions is very bad. a simple crash would even be better, as we'd at least get a proper location. it also further degrades the master-in-separate-thread stuff. |
|
|
ok got another one after playing some time and then speced. Maybe i should recompile spring and use some kind memory manager? |
|
|
still happens? |
|
|
Probably not - I don't have ubuntu anymore and have diffrent amd driver - during quick tests, it didn't happend so it's should be safe to close this bug. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-01-10 16:22 | t0 | New Issue | |
| 2011-01-10 16:22 | t0 | File Added: infolog.txt_bad_alloc2 | |
| 2011-01-10 18:06 | abma | File Added: infolog.txt_bad_alloc2.txt | |
| 2011-01-10 18:06 | abma | File Deleted: infolog.txt_bad_alloc2 | |
| 2011-01-10 19:33 | t0 | Note Added: 0006242 | |
| 2011-01-10 19:33 | t0 | File Added: infolog.txt | |
| 2011-01-11 11:48 | hoijui | Note Added: 0006247 | |
| 2011-01-11 13:43 | t0 | Note Added: 0006250 | |
| 2011-05-07 14:47 | jK | Note Added: 0006613 | |
| 2011-05-07 16:44 | t0 | Note Added: 0006616 | |
| 2011-05-07 17:11 | jK | Status | new => closed |
| 2011-05-07 17:11 | jK | Resolution | open => suspended |