View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0023637 | Community | OCCT:Coding | public | 2012-12-12 20:53 | 2017-05-28 19:46 |
| Reporter | llbatlle | Assigned To | bugmaster | ||
| Priority | normal | Severity | feature | ||
| Status | closed | Resolution | unable to reproduce | ||
| Platform | Windows 7 | OS | Windows | ||
| Product Version | 6.5.4 | ||||
| Summary | 0023637: Crash exiting the program, Handle with 'entity' null at Graphic3d_StructureManager_Type_ | ||||
| Description | Linking opencascade+tkopengl statically, I get a segfault when exiting my program. It looks like the objects destruction isn't working well, as if some object destructor is called twice or so. With opencascade 6.3.0 I didn't have this problem. Here are the backtraces: program.exe!Standard_Atomic_Decrement(volatile int * theValue) Line 95 C++ > program.exe!Handle_Standard_Transient::EndScope() Line 56 C++ program.exe!Handle_Standard_Transient::~Handle_Standard_Transient() Line 93 C++ program.exe!`eh vector destructor iterator'(void * ptr, unsigned int size, int count, void (void *) * pDtor) C++ program.exe!`Graphic3d_StructureManager_Type_'::`2'::`dynamic atexit destructor for '_Ancestors''() C++ msvcr110d.dll!doexit(int code, int quick, int retcaller) Line 584 C msvcr110d.dll!exit(int code) Line 394 C program.exe!__tmainCRTStartup() Line 549 C program.exe!WinMainCRTStartup() Line 377 C kernel32.dll!@BaseThreadInitThunk@12() Unknown ntdll.dll!___RtlUserThreadStart@8() Unknown ntdll.dll!__RtlUserThreadStart@8() Unknown | ||||
| Steps To Reproduce | The (closed source) program simply displays a 3d viewer. Maybe we have forgotten some initialisation/deinitialisation? The backtraces don't point to any code from our side, so I find it hard to diagnose. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
I'm trying to debug this, but somehow vc11 misses storing the debug information, and then it doesn't relate well the code positions with files/lines. And all is built with /Zi. Annoying. |
|
|
Closed as having no reproducer. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-12-12 20:53 | llbatlle | New Issue | |
| 2012-12-12 20:53 | llbatlle | Assigned To | => bugmaster |
| 2012-12-20 15:07 | llbatlle | Note Added: 0022787 | |
| 2014-01-11 11:58 |
|
Category | OCCT Release:BUILD => OCCT:Coding |
| 2017-05-28 19:46 |
|
Note Added: 0066692 | |
| 2017-05-28 19:46 |
|
Status | new => closed |
| 2017-05-28 19:46 |
|
Resolution | open => unable to reproduce |