View Issue Details

IDProjectCategoryView StatusLast Update
0003030Spring engineGeneralpublic2012-03-27 01:21
Reporterabma Assigned Tozerver  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version87.0.1+git 
Fixed in Version89.0 
Summary0003030: spring doesn't print a stacktrace on std::bad_alloc()
Descriptionit just does a "clean" exit:

[f=0001191] Path cache hits 0 0%
[f=0001191] Path cache hits 0 0%
[f=0001191] Statistics for local connection:
Received: 3329 bytes
Sent: 13636 bytes
Error: Spring: Fatal Error std::bad_alloc
TagsNo tags attached.
Checked infolog.txt for Errors

Relationships

related to 0003029 resolvedKloot crash when unit exits factory (std::bad_alloc) 

Activities

zerver

2012-03-21 14:02

reporter   ~0008489

I think it would be solved if we can globally redefine "new(...)" as "new(..., std::nothrow)"

Does gcc support some kind of "force include"? I mean to force every single file to include file x. In MSVC it can be done with /FI. Otherwise we have the mmgr which is included in many files already, far from all though.

zerver

2012-03-27 01:21

reporter   ~0008513

There is a convenient set_new_handler it seems...

https://github.com/spring/spring/commit/43b01dc222331332ffc3666fd5998530b5cd316d

Issue History

Date Modified Username Field Change
2012-03-19 11:42 abma New Issue
2012-03-19 11:42 abma Description Updated
2012-03-19 19:11 abma Relationship added related to 0003029
2012-03-21 14:02 zerver Note Added: 0008489
2012-03-21 14:08 zerver Status new => assigned
2012-03-21 14:08 zerver Assigned To => zerver
2012-03-27 01:21 zerver Note Added: 0008513
2012-03-27 01:21 zerver Status assigned => resolved
2012-03-27 01:21 zerver Fixed in Version => 89.0
2012-03-27 01:21 zerver Resolution open => fixed