Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OMEdit does not start

OMEdit does not start

I'm using Ports to install that latest build of Open Modelica. The OMshell and the omc work oké. The OMshell and OMEdit are installed in the application directory. Until now i used emacs to develop and compile (omc) the modelica models, using the scripting (mos) files. This way i got some insight and experience with Modelica. Now it's time to switch to a graphical environment (OMShell)

When I start OMEdit on the Mac I get the following error. What could be wrong? (oh: I did not add any environment variables)

Code:


Process:         OMEdit [34197]
Path:            /Applications/MacPorts/OMEdit.app/Contents/MacOS/OMEdit
Identifier:      com.yourcompany.OMEdit
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  launchd [134]
User ID:         501

Date/Time:       2012-12-31 11:46:06.653 +0100
OS Version:      Mac OS X 10.8.2 (12C3006)
Report Version:  10

Interval Since Last Report:          295455 sec
Crashes Since Last Report:           13
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      1F164ED6-7FE9-C60B-2427-8D9D823B302E

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
    __TEXT                 000000010eaf5000-000000010eda7000 [ 2760K] r-x/rwx SM=COW  /Applications/MacPorts/OMEdit.app/Contents/MacOS/OMEdit

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   QtGui                             0x00000001113e1b99 QGraphicsDropShadowEffect::draw(QPainter*) + 121
1   QtGui                             0x0000000110e6816d QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 509
2   QtGui                             0x0000000110e690c2 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1346
3   QtGui                             0x0000000110e68ac7 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2903
4   QtGui                             0x0000000110e690c2 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1346
5   QtGui                             0x0000000110e68eee QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 878
6   QtGui                             0x0000000110e68eee QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 878
7   QtGui                             0x0000000110e68ac7 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2903
8   QtGui                             0x0000000110e690c2 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1346
9   QtGui                             0x0000000110e68ac7 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2903
10  QtGui                             0x0000000110dc4567 -[QCocoaView drawRect:] + 3063
11  com.apple.AppKit                  0x00007fff936e9144 -[NSView _drawRect:clip:] + 4217
12  com.apple.AppKit                  0x00007fff936e77a1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1656
13  com.apple.AppKit                  0x00007fff936e7bb9 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2704
14  com.apple.AppKit                  0x00007fff936e7bb9 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2704
15  com.apple.AppKit                  0x00007fff936e7bb9 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2704
16  com.apple.AppKit                  0x00007fff936e57d2 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 817
17  com.apple.AppKit                  0x00007fff936e5223 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314
18  com.apple.AppKit                  0x00007fff936e0e4d -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4675
19  com.apple.AppKit                  0x00007fff936aad73 -[NSView displayIfNeeded] + 1830
20  com.apple.AppKit                  0x00007fff93767b18 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1377
21  com.apple.AppKit                  0x00007fff93767138 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 940
22  com.apple.AppKit                  0x00007fff93766d1f -[NSWindow orderWindow:relativeTo:] + 159
23  com.apple.AppKit                  0x00007fff9375f7dc -[NSWindow makeKeyAndOrderFront:] + 48
24  QtGui                             0x0000000110dba10b QWidgetPrivate::show_sys() + 619
25  QtGui                             0x0000000110e6c382 QWidgetPrivate::show_helper() + 498
26  QtGui                             0x0000000110e6cd3e QWidget::setVisible(bool) + 718
27  com.yourcompany.OMEdit            0x000000010eaf91c3 main + 3155
28  libdyld.dylib                     0x00007fff908cd7e1 start + 1

Re: OMEdit does not start

I got the same issue with my MAC (10.8.2). I cannot install anything higher than built 11645, without having this error on OMEdit. I tried both to install the built binary, and the macport version as well. Both OMEdit crash at execution. Any suggestions?

Re: OMEdit does not start

Some more details. If I start OMEdit from the shell I got this error message:

Code:

 

~user$ /Applications/MacPorts/OMEdit.app/Contents/MacOS/OMEdit;
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
Segmentation fault: 11

Re: OMEdit does not start

Hello,
I have the exact same problem on OS x 10.8.2, even the omshell crashes ! only the 11645 works.

Re: OMEdit does not start

I have also this problem when trying to launch OMEdit on OS X 10.8.2 since several months.
Before the segmentation fault occurs, I can see the starting screen of OMEdit. MSL starts loading and it fails some seconds after.
Since I mainly use OMShell which works well, I didn't take time to report this error earlier.

OMEdit in the release 1.8.1 of OpenModelica works well.

Here are the following versions of qt package installed via macports (if there is a link with this seg fault when launching OMEdit):
  qt4-mac @4.8.4_6 (active)
  qwt52 @5.2.3_0+qt4 (active)

Re: OMEdit does not start

In release r15749 OMEdit works again on a mac computer:-)

There are 0 guests and 0 other users also viewing this topic