Archived issue #0027291

Command File->New crashes Import Export Qt sample on Linux

Open CASCADEOCCT:Samplesclosed14 public notes

Search issues

Description

Command File->New (or hotkey Ctrl+N) crashes Import Export Qt sample on Linux.
The same situation is reproduced with dependent applications.

Qt ver 4.8.6

Steps to reproduce

Run the IESample on linux
Try to run "New" command from menu, from buttons bar and by hotkey Ctrl+N

Public activity

14 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Mar 21 17:21:01 2016 +0300

    0027291: Command File->New crashes Import Export Qt sample on Linux
    
    Crash was fixed by creating own window for each platform.
02Commenter 2
Dear kgv,

Please review.
03Commenter 3
As it was discussed with Commenter 1, PRODUCT branch CR27291 was created too.
It contains minor changes to have proper environment for Java sample.
04Commenter 3
As far as I understand, the patch reverts modifications that has been done in scope of #0026603.
Does the problem within recent Qt versions have been also checked within the patch?

05Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
06Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
07Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
08Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
09Commenter 3
+#if !defined(_WIN32) && QT_VERSION < 0x050000
+  XSynchronize(x11Info().display(),true);

X11 calls should be also excluded on OS X platform (see macros from Xw_Window.hxx):
#if !defined(_WIN32) && (!defined(__APPLE__) || defined(MACOSX_USE_GLX))
10Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
11Commenter 11
OCCT branch CR27291 was updated.
PRODUCTS branch CR27291 is ready.

The problem can be reproduced only with Qt 4.x.
I checked patch on Debian70-64 with Qt 4.8.6 - all is OK.

please, review.
12Commenter 3
-set "PATH=%SAMPLE_DIR%\%BIN_TAIL%;%PATH%"
+set "PATH=%SAMPLE_DIR%\%BIN_TAIL%;%JAVA_HOME%/bin;%JAVA_HOME%/jre/bin;%PATH%"

The branch CR27291 within products looks unrelated to bug description.

The patch within OCCT git looks OK.

13Commenter 13
Separate issue #27307 for Java sample environment was created.
PRODUCTS branch CR27291 was removed.
14Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]

Related records