View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000835 | OMNeT++ | simulation kernel | public | 2015-09-15 11:09 | 2015-09-15 11:09 |
|
Reporter | fpoisot | |
Assigned To | | |
Priority | low | Severity | crash | Reproducibility | sometimes |
Status | new | Resolution | open | |
Platform | x86_64 | OS | GNU/Linux | OS Version | ? |
Product Version | | |
Target Version | | Fixed in Version | | |
|
Summary | 0000835: (5.0b2 - GNULinux) Global variable detector may cause segfault |
Description | The code printing the warning message for the use of Omnet objects as global variables can cause a segfault on program exit. |
Steps To Reproduce | Have global instances of cObject in your program, and some bad luck with the compiler-generated calling order of global variable destructors. |
Additional Information | on GNULinux only, the warning print code hits a global std::map (C++ class names cache), wich may have been destroyed before the cObject whose destructor calls the print code. |
Tags | No tags attached. |
|
Attached Files | |
|