Anonymous | Login | 2021-02-26 18:05 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0032157 | Community | [OCCT] OCCT:DRAW | public | 2021-02-23 04:18 | 2021-02-23 09:03 | ||||||||
Reporter | xuweibin | ||||||||||||
Assigned To | abv | ||||||||||||
Priority | normal | Severity | crash | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | Windows | OS | VC++ 2013 | OS Version | 64 bit | ||||||||
Product Version | [OCCT] 7.5.0 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0032157: Draw Harness - Use XSDRAWSTLVRML_DataSource cause a crash | ||||||||||||
Description | When I use XSDRAWSTLVRML_DataSource,it cause a crash. The code like below: Handle(XSDRAWSTLVRML_DataSource) aDs = new XSDRAWSTLVRML_DataSource(astl_mesh); It runs okay,but when I close my application,it crashed in the file Draw_Interpretor.cxx. Draw_Interpretor::~Draw_Interpretor() { SetDoLog (Standard_False); if (myFDLog >=0) { close (myFDLog); myFDLog = 0; } // MKV 01.02.05 #if ((TCL_MAJOR_VERSION > 8) || ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4))) try { OCC_CATCH_SIGNALS Tcl_Exit(0);//crash } catch (Standard_Failure const&) { #ifdef OCCT_DEBUG std::cout <<"Tcl_Exit have an exeption" << std::endl; #endif } #else #ifdef _WIN32 Tcl_Exit(0); #endif #endif } My version of tcl is 8.6,the code check it and crash; What happens?How can I do to solve it? | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | |||||||||||||
![]() |
|
(0099099) kgv (developer) 2021-02-23 09:02 edited on: 2021-02-23 09:03 |
I suppose this is irrelevant to XSDRAWSTLVRML_DataSource, and happens in Tcl itself. So the bug should be debugged there. https://old.opencascade.com/content/crash-tkdrawdrawinterpretortclexit [^] As for XSDRAWSTLVRML_DataSource in application code - it is better avoiding links to Draw Harness libraries as long as Tcl interpretor in not used in your application (cannot say if it does from bug description). |
![]() |
|||
Date Modified | Username | Field | Change |
2021-02-23 04:18 | xuweibin | New Issue | |
2021-02-23 04:18 | xuweibin | Assigned To | => abv |
2021-02-23 08:50 | kgv | Summary | Use XSDRAWSTLVRML_DataSource cause a crash. => Draw Harness - Use XSDRAWSTLVRML_DataSource cause a crash |
2021-02-23 08:50 | kgv | Description Updated | View Revisions |
2021-02-23 08:57 | kgv | Relationship added | related to 0026347 |
2021-02-23 09:02 | kgv | Note Added: 0099099 | |
2021-02-23 09:03 | kgv | Note Edited: 0099099 | View Revisions |
Copyright © 2000 - 2021 MantisBT Team |