Summary: | Umbrello crash during C++ files import | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Giacomo Picchiarelli <gpicchiarelli> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | gpicchiarelli, justin, ralf.habacker |
Priority: | NOR | ||
Version: | 2.10.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Giacomo Picchiarelli
2013-06-07 08:09:55 UTC
Same issue using 4.11.1-1 on Arch Linux. (In reply to comment #1) > Same issue using 4.11.1-1 on Arch Linux. Please provide a public link to the related header and/or the related c++ header which causes the crash. https://github.com/wesnoth/wesnoth-old I've been trying to import - wesnoth-old/src/* - wesnoth-old/src/ai/* - wesnoth-old/src/ai/default/* - wesnoth-old/src/unit.hpp All die a quick death. No backtrace, since I move on to another tool instead of building a debug build. Sorry. Backtrace from unit.hpp as noted above. Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7fe6365ba780 (LWP 26655))] Thread 3 (Thread 0x7fe6226a6700 (LWP 26667)): #0 0x00007fe63401603f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007fe6342a3266 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007fe633a01796 in ?? () from /usr/lib/libQtGui.so.4 #3 0x00007fe6342a2d8f in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007fe6340120a2 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007fe63287da2d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7fe621ea5700 (LWP 26668)): #0 0x00007fe62f5ffe6a in ?? () from /usr/lib/libglib-2.0.so.0 #1 0x00007fe62f600149 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0 #2 0x00007fe62f5c099b in g_main_context_query () from /usr/lib/libglib-2.0.so.0 #3 0x00007fe62f5c0ff2 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007fe62f5c118c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007fe6343cfb46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007fe6343a1b1f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00007fe6343a1e15 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x00007fe6342a06ef in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x00007fe6343832c3 in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007fe6342a2d8f in ?? () from /usr/lib/libQtCore.so.4 #11 0x00007fe6340120a2 in start_thread () from /usr/lib/libpthread.so.0 #12 0x00007fe63287da2d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7fe6365ba780 (LWP 26655)): [KCrash Handler] #5 0x00007fe6343b68d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #6 0x00007fe633b59988 in QUndoStack::setIndex(int) () from /usr/lib/libQtGui.so.4 #7 0x00007fe6343b6b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #8 0x00007fe633a6d0aa in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4 #9 0x00007fe633a6d18d in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4 #10 0x00007fe633a1f224 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #11 0x00007fe6335784f1 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #12 0x00007fe6339158ee in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #13 0x00007fe633a24ac3 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #14 0x00007fe6343a3026 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #15 0x00007fe63352910c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #16 0x00007fe63352f82d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #17 0x00007fe63506f72a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #18 0x00007fe6343a2ebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #19 0x00007fe63352efe3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #20 0x00007fe6335a0bfb in ?? () from /usr/lib/libQtGui.so.4 #21 0x00007fe63359f66c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #22 0x00007fe6335c61b2 in ?? () from /usr/lib/libQtGui.so.4 #23 0x00007fe62f5c0d96 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0x00007fe62f5c10e8 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0x00007fe62f5c118c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0x00007fe6343cfb25 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #27 0x00007fe6335c6266 in ?? () from /usr/lib/libQtGui.so.4 #28 0x00007fe6343a1b1f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x00007fe6343a1e15 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0x00007fe6343a6f4b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #31 0x00000000004386e5 in ?? () #32 0x00007fe6327babc5 in __libc_start_main () from /usr/lib/libc.so.6 #33 0x0000000000439e75 in _start () All backtrace informations shows no direct umbrello involvement. The only frame which may indicate an umbrello problem is the following: #6 0x00007fe633b59988 in QUndoStack::setIndex(int) () from /usr/lib/libQtGui.so.4 It may help to disable undo/redo in umbrello settings. Please report is this helps in your case. Disabling undo seems to prevent crashing. Only limited testing done. @note: Is umbrello incapable of reading c++ namespace declarations? That seems, well, silly. umbrello's currently used c++ parser has been forked from kdevelop 3.x c++ parser, which should be able to import c++ namespace declarations, so I guess this is a bug. If there are basic types missing, it should be checked that Settings->Code Import->Resolve Dependencies is set to true. Imported whole repository (578 files) without any crash into an umbrello build from git master |