Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#3881 closed defect (fixed)

OMEdit crashes using the open button

Reported by: xwaang1976@… Owned by: Adeel Asghar
Priority: high Milestone: 1.11.0
Component: OMEdit Version: v1.10.0-dev-nightly
Keywords: Cc:

Description

I've installed openmodelica-git (r329.g314a0a3) on arch linux with kde/plasma 5 and every time I use the open botton it crashes with a segfault.
To build the software I've used the openmodelica-git PKGBUILD in archlinux AUR.

Change History (4)

comment:1 by Adrian Pop, 9 years ago

Can you run it in gdb and put the stack trace here?

comment:2 by xwaang1976@…, 9 years ago

Actually I've compiled it again with this patch:

--- src/openmodelica-git/OMEdit/qjson/CMakeLists.txt 2016-04-30 15:46:03.528157798 +0200
+++ src/openmodelica-git/OMEdit/qjson/CMakeLists.txt 2016-04-30 11:23:51.000000000 +0200
@@ -40,12 +40,12 @@

# (This will have no effect with CMake < 2.8)
SET(QT_USE_IMPORTED_TARGETS TRUE)

-option(QT4_BUILD "Force building with Qt4 even if Qt5 is found")
-IF (WIN32)
+#option(QT4_BUILD "Force building with Qt4 even if Qt5 is found")
+#IF (WIN32)

# set(QT4_BUILD ON)

-ELSE(WIN32)
-set(QT4_BUILD ON)
-ENDIF(WIN32)
+#ELSE(WIN32)
+#set(QT4_BUILD ON)
+#ENDIF(WIN32)

IF (NOT QT4_BUILD)

FIND_PACKAGE( Qt5Core QUIET )

And it has solved the problem.
I've tried to compile again without this patch but I was not able to obtain a stack trace because gdb hangs when I execute run.

comment:3 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

See #4074.

comment:4 by Adeel Asghar, 8 years ago

Milestone: Future1.11.0
Note: See TracTickets for help on using tickets.