Bug 384280 - Crash when opening project
Summary: Crash when opening project
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2017-09-02 08:57 UTC by dvk
Modified: 2018-10-29 02:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dvk 2017-09-02 08:57:20 UTC
Application: umbrello5 (2.23.0)

Qt Version: 5.9.1
Frameworks Version: 5.37.0
Operating System: Linux 4.12.8-2-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Opening a previously created .xmi file
Application crashes instantly after loading the xmi file.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f40c3ef7880 (LWP 17908))]

Thread 4 (Thread 0x7f409e278700 (LWP 17911)):
#0  0x00007f40be4b2bad in read () at /usr/lib/libc.so.6
#1  0x00007f40b549b730 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f40b54576eb in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f40b5457bb0 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f40b5457d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f40bf0fd084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f40bf0a0ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f40beeba40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f40b8543396 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f40beebf15b in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f40b7a28049 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f40be4c0f0f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f40a6b71700 (LWP 17910)):
#0  0x00007f40be4b6e9d in poll () at /usr/lib/libc.so.6
#1  0x00007f40b51f08e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f40b51f2679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f40a950772a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f40beebf15b in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f40b7a28049 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f40be4c0f0f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f40aa6cc700 (LWP 17909)):
#0  0x00007f40b7a2e1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f40beb40ccc in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#2  0x00007f40beb40ccc in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc-multilib/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
#3  0x00007f40bd14d3f7 in  () at /usr/lib/libQt5WebKit.so.5
#4  0x00007f40bd14d539 in  () at /usr/lib/libQt5WebKit.so.5
#5  0x00007f40beb4700f in std::execute_native_thread_routine(void*) (__p=0x558773efbc80) at /build/gcc-multilib/src/gcc/libstdc++-v3/src/c++11/thread.cc:83
#6  0x00007f40b7a28049 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f40be4c0f0f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f40c3ef7880 (LWP 17908)):
[KCrash Handler]
#5  0x00007f40c0342540 in QGraphicsItem::pos() const () at /usr/lib/libQt5Widgets.so.5
#6  0x0000558771dcbfc0 in  ()
#7  0x00007f40c037b5c6 in  () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f40c037bbe0 in  () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f40c037c3fa in  () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f40c039f7e8 in QGraphicsView::paintEvent(QPaintEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f40c00a4d68 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f40c018860f in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f40c039e2ac in QGraphicsView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f40bf0a289c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f40c0062e28 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f40c006a926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f40bf0a2bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f40c009dbbc in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f40c009e1b3 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f40c009ee45 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f40c009dd9f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f40c009ee45 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f40c009dd9f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f40c009ee45 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f40c009dd9f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f40c009ee45 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f40c009dd9f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f40c009ee45 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#37 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007f40c009efd6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007f40c009dd9f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#40 0x00007f40c00728a9 in  () at /usr/lib/libQt5Widgets.so.5
#41 0x00007f40c0072af5 in  () at /usr/lib/libQt5Widgets.so.5
#42 0x00007f40c008ca72 in QWidgetPrivate::syncBackingStore() () at /usr/lib/libQt5Widgets.so.5
#43 0x00007f40c00a4ee9 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007f40c01975e4 in QMainWindow::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#45 0x00007f40c2a4a31b in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#46 0x00007f40c2a9b616 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#47 0x00007f40c0062e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#48 0x00007f40c006a926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#49 0x00007f40bf0a2bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#50 0x00007f40bf0a5426 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#51 0x00007f40c036f304 in  () at /usr/lib/libQt5Widgets.so.5
#52 0x00007f40c0374649 in  () at /usr/lib/libQt5Widgets.so.5
#53 0x00007f40bf0d31d2 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#54 0x00007f40c037fdac in QGraphicsScene::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#55 0x00007f40c0062e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#56 0x00007f40c006a926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#57 0x00007f40bf0a2bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#58 0x00007f40bf0a5426 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#59 0x00007f40bf0fda74 in  () at /usr/lib/libQt5Core.so.5
#60 0x00007f40b5457a57 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#61 0x00007f40b5457c88 in  () at /usr/lib/libglib-2.0.so.0
#62 0x00007f40b5457d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#63 0x00007f40bf0fd061 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#64 0x00007f40bf0a0ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#65 0x00007f40bf0aa048 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#66 0x0000558771a86e36 in  ()
#67 0x00007f40be3f34ca in __libc_start_main () at /usr/lib/libc.so.6
#68 0x0000558771aa19da in _start ()

Reported using DrKonqi
Comment 1 Ralf Habacker 2018-04-08 14:20:00 UTC
> #5  0x00007f40c0342540 in QGraphicsItem::pos() const () at /usr/lib/libQt5Widgets.so.5
indicates accessing a graphical widgets, which seems to be invalid.
Because this crash may depend on the structure of the loaded xmi file, it would be nice to get the xmi file on which the crash happens.
Comment 2 Andrew Crouthamel 2018-09-28 03:15:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-29 02:00:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!