View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023241 | Open CASCADE | OCCT:DRAW | public | 2012-07-04 10:15 | 2013-04-29 15:21 |
Reporter | kgv | Assigned To | kgv | ||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Platform | Mac | OS | Mac OS X | ||
Product Version | 6.5.3 | ||||
Target Version | 6.6.0 | Fixed in Version | 6.6.0 | ||
Summary | 0023241: DRAWEXE crash on startup in Mac OS X | ||||
Description | Draw Harness fail to start on Mac OS X platform when linked against system Tcl/Tk libraries: *** Abort *** an exception was raised, but no catch was found. ... The exception is:SIGSEGV 'segmentation violation' detected. Address ffffffc14c8e8850 Draw_Window.cxx, 1071: > Draw_WindowDisplay = Tk_Display(mainWindow); But system library doesn't uses XLib and returned pointer is somewhat different (but not NULL). | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
The value returned by Tk_Display was a pointer to Display structure defined in system Tcl/Tk libraries. This structure differs from structure defined in X11 library. Replaced Tk_Display with XOpenDisplay. Also changed the sequence of linkage (it was the reason of problems with events handling), fixed Code Blocks projects files generation and added minor fixes to the scripts. Please, review git occt branch CR23241 and git occt-wok branch CR23241 |
|
Draw_Window.cxx >Draw_WindowDisplay = XOpenDisplay(NULL);//Tk_Display(mainWindow); Please add problem description into the sources (why we don't use Tk_Display) instead of just commenting old code. |
|
Added description. Please review. |
|
Both branches were reviewed and remarks applied. |
|
Dear BugMaster, Branch CR23241 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Regressions: Not detected Improvements: Not detected Testing cases: Not needed |
|
Fix has been checked on MacOS platform. DRAWEXE starts successfully. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-04 10:15 | kgv | New Issue | |
2012-07-04 10:15 | kgv | Assigned To | => dbv |
2012-09-27 13:15 |
|
Note Added: 0021580 | |
2012-09-27 13:15 |
|
Assigned To | dbv => kgv |
2012-09-27 13:15 |
|
Status | new => resolved |
2012-09-27 14:55 | kgv | Note Added: 0021584 | |
2012-09-27 15:31 |
|
Note Added: 0021585 | |
2012-09-27 15:32 |
|
Note Edited: 0021580 | |
2012-10-02 11:09 |
|
Target Version | 6.5.4 => 6.6.0 |
2012-10-17 15:19 | kgv | Note Added: 0021819 | |
2012-10-17 15:19 | kgv | Assigned To | kgv => bugmaster |
2012-10-17 15:19 | kgv | Status | resolved => reviewed |
2012-10-17 16:12 |
|
Assigned To | bugmaster => mkv |
2012-10-31 16:39 |
|
Note Added: 0022035 | |
2012-11-30 10:33 | bugmaster | Note Added: 0022474 | |
2012-11-30 10:33 | bugmaster | Assigned To | mkv => bugmaster |
2012-11-30 10:33 | bugmaster | Status | reviewed => tested |
2012-11-30 13:55 | bugmaster | Test case number | => Not needed |
2012-12-04 13:21 | kgv | Changeset attached | => occt master 4ad91217 |
2012-12-04 13:21 | kgv | Assigned To | bugmaster => kgv |
2012-12-04 13:21 | kgv | Status | tested => verified |
2012-12-04 13:21 | kgv | Resolution | open => fixed |
2012-12-10 17:16 | kgv | Changeset attached | => occt master 4ad91217 |
2013-04-23 13:37 |
|
Status | verified => closed |
2013-04-29 15:21 |
|
Fixed in Version | => 6.6.0 |