View Issue Details

IDProjectCategoryView StatusLast Update
0002298Spring engineGeneralpublic2011-05-07 17:11
Reportert0 Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionsuspended 
Product Version0.82.7.1 
Summary0002298: bad_alloc threw
Descriptionand 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.
TagsNo tags attached.
Attached Files
infolog.txt_bad_alloc2.txt (Attachment missing)
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

t0

2011-01-10 19:33

reporter   ~0006242

another one this time w/o using scroll, only moving around. Game didn't start.

hoijui

2011-01-11 11:48

reporter   ~0006247

[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.

t0

2011-01-11 13:43

reporter   ~0006250

ok got another one after playing some time and then speced. Maybe i should recompile spring and use some kind memory manager?

jK

2011-05-07 14:47

developer   ~0006613

still happens?

t0

2011-05-07 16:44

reporter   ~0006616

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.

Issue History

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