Opened 8 years ago

Closed 8 years ago

#4091 closed defect (fixed)

OMEdit crash when working with text view

Reported by: Rüdiger Franke Owned by: Adeel Asghar
Priority: high Milestone: 1.11.0
Component: OMEdit Version:
Keywords: Cc:

Description

  1. Open the attached DisplayUnit.mo
  2. In the Libraries Browser: click on the + to see the sub-classes Voltage, Component and Test
  3. In the Libraries Browser: double click on DisplayUnit
  4. In the main area: Click on Text View and delete the model Test (lines 7 to 9)
  5. In Libraries Browser: click on DisplayUnit
Caught signal 11 (SIGSEGV)
build/bin/OMEdit(_Z13signalHandleri+0x28b)[0x4c166b]
/lib/x86_64-linux-gnu/libc.so.6(+0x350e0)[0x7f97008980e0]
build/bin/OMEdit(_ZNK12ItemDelegate5paintEP8QPainterRK20QStyleOptionViewItemRK11QModelIndex+0x4b5)[0x5637e5]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZNK9QTreeView7drawRowEP8QPainterRK20QStyleOptionViewItemRK11QModelIndex+0x833)[0x7f97027ee423]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZNK9QTreeView8drawTreeEP8QPainterRK7QRegion+0x3f1)[0x7f97027f1b91]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN9QTreeView10paintEventEP11QPaintEvent+0x96)[0x7f97027f5b86]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x298)[0x7f97022d8748]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x1e)[0x7f970269a83e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN17QAbstractItemView13viewportEventEP6QEvent+0x1e3)[0x7f97027b7703]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN9QTreeView13viewportEventEP6QEvent+0x40)[0x7f97027f9e60]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x86)[0x7f9701a04886]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x6c)[0x7f970228546c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2b8)[0x7f970228bfa8]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8d)[0x7f9701a0471d]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x5fd)[0x7f97022d2e1d]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x3e67fa)[0x7f97024a47fa]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN14QWidgetPrivate16syncBackingStoreEv+0xa0)[0x7f97022c7560]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x368)[0x7f97022d8818]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x113)[0x7f97026b4b23]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c)[0x7f970228548c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2b8)[0x7f970228bfa8]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8d)[0x7f9701a0471d]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x231)[0x7f9701a07fc1]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1b5bd3)[0x7f9701a33bd3]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x24d)[0x7f96fc630c5d]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49f48)[0x7f96fc630f48]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f96fc630ffc]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5d)[0x7f9701a33d1d]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bf96)[0x7f9702329f96]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x41)[0x7f9701a03271]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x1a5)[0x7f9701a035d5]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x99)[0x7f9701a09059]
build/bin/OMEdit(main+0xf5a)[0x4b9c9a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f9700884b45]
build/bin/OMEdit[0x4c1245]

Attachments (1)

DisplayUnit.mo (350 bytes ) - added by Rüdiger Franke 8 years ago.

Download all attachments as: .zip

Change History (2)

by Rüdiger Franke, 8 years ago

Attachment: DisplayUnit.mo added

comment:1 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in c12584a/OMEdit.

Note: See TracTickets for help on using tickets.