[umbrello-devel] [umbrello] [Bug 341709] New: Crash while importing C++ code from existing project

Guus gbonnema at xs4all.nl
Tue Dec 9 20:07:14 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=341709

            Bug ID: 341709
           Summary: Crash while importing C++ code from existing project
           Product: umbrello
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: gbonnema at xs4all.nl

Application: umbrello (2.14.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.4-200.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I loaded the source of a project someone else had been writing. While importing
the code (it is in C++), the handler showed progress in the status bar.
Somewhere during the processing it crashed. When repeating the action, the
result is the same.

I am running umbrello through gnome.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f9a3578c8c0 (LWP 8096))]

Thread 4 (Thread 0x7f9a15ede700 (LWP 8099)):
#0  0x00007f9a3076071d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9a2c4875b4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f9a100010c0, timeout=-1, context=0x26f8f90) at gmain.c:4007
#2  g_main_context_iterate (context=0x26f8f90, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3708
#3  0x00007f9a2c487a3a in g_main_loop_run (loop=0x26f8f20) at gmain.c:3907
#4  0x00007f9a1f916376 in gdbus_shared_thread_func (user_data=0x26f8f60) at
gdbusprivate.c:278
#5  0x00007f9a2c4aca45 in g_thread_proxy (data=0x271c370) at gthread.c:798
#6  0x00007f9a3154eee5 in start_thread (arg=0x7f9a15ede700) at
pthread_create.c:309
#7  0x00007f9a3076ab8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9a156dd700 (LWP 8100)):
#0  0x00007f9a3076071d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9a2c4875b4 in g_main_context_poll (priority=2147483647, n_fds=2,
fds=0x7f9a080008c0, timeout=-1, context=0x2757bf0) at gmain.c:4007
#2  g_main_context_iterate (context=context at entry=0x2757bf0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3708
#3  0x00007f9a2c4876dc in g_main_context_iteration (context=0x2757bf0,
may_block=may_block at entry=1) at gmain.c:3774
#4  0x00007f9a2c487729 in glib_worker_main (data=<optimized out>) at
gmain.c:5473
#5  0x00007f9a2c4aca45 in g_thread_proxy (data=0x271d5e0) at gthread.c:798
#6  0x00007f9a3154eee5 in start_thread (arg=0x7f9a156dd700) at
pthread_create.c:309
#7  0x00007f9a3076ab8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f99f92bf700 (LWP 8102)):
#0  0x00007f9a3076071d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9a2c4875b4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f99f4001fb0, timeout=-1, context=0x7f99f40009a0) at gmain.c:4007
#2  g_main_context_iterate (context=context at entry=0x7f99f40009a0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3708
#3  0x00007f9a2c4876dc in g_main_context_iteration (context=0x7f99f40009a0,
may_block=1) at gmain.c:3774
#4  0x00007f9a3191943e in QEventDispatcherGlib::processEvents
(this=0x7f99f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f9a318e938f in QEventLoop::processEvents
(this=this at entry=0x7f99f92becc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9a318e96dd in QEventLoop::exec (this=this at entry=0x7f99f92becc0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9a317dde5f in QThread::exec (this=this at entry=0x30124a0) at
thread/qthread.cpp:538
#8  0x00007f9a318c9de3 in QInotifyFileSystemWatcherEngine::run (this=0x30124a0)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f9a317e069f in QThreadPrivate::start (arg=0x30124a0) at
thread/qthread_unix.cpp:349
#10 0x00007f9a3154eee5 in start_thread (arg=0x7f99f92bf700) at
pthread_create.c:309
#11 0x00007f9a3076ab8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9a3578c8c0 (LWP 8096)):
[KCrash Handler]
#6  UMLListViewItem::updateObject (this=0x0) at
/usr/src/debug/umbrello-4.14.3/umbrello/umllistviewitem.cpp:338
#7  0x0000000000509dae in Import_Utils::createUMLObject
(type=type at entry=UMLObject::ot_Class, inName=..., parentPkg=<optimized out>,
comment=..., stereotype=...,
searchInParentPackageOnly=searchInParentPackageOnly at entry=false) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/import_utils.cpp:246
#8  0x00000000004fd8ef in CppTree2Uml::parseBaseClause (this=0x7fffaf6bd2f0,
baseClause=<optimized out>, klass=0x4637f60) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/kdevcppparser/cpptree2uml.cpp:613
#9  0x00000000004ff2ac in CppTree2Uml::parseClassSpecifier
(this=0x7fffaf6bd2f0, ast=0x4a3a4a0) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/kdevcppparser/cpptree2uml.cpp:370
#10 0x00000000004f84a0 in TreeParser::parseTypeSpecifier (this=0x7fffaf6bd2f0,
typeSpec=0x4a3a4a0) at
/usr/src/debug/umbrello-4.14.3/lib/cppparser/tree_parser.cpp:176
#11 0x00000000004fc6d2 in CppTree2Uml::parseSimpleDeclaration
(this=0x7fffaf6bd2f0, ast=0x4941f40) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/kdevcppparser/cpptree2uml.cpp:239
#12 0x00000000004f7a35 in TreeParser::parseDeclaration (this=0x7fffaf6bd2f0,
declaration=0x4941f40) at
/usr/src/debug/umbrello-4.14.3/lib/cppparser/tree_parser.cpp:89
#13 0x00000000004f7682 in TreeParser::parseTranslationUnit
(this=this at entry=0x7fffaf6bd2f0, translationUnit=...) at
/usr/src/debug/umbrello-4.14.3/lib/cppparser/tree_parser.cpp:48
#14 0x00000000004fcb53 in CppTree2Uml::parseTranslationUnit
(this=this at entry=0x7fffaf6bd2f0, file=...) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/kdevcppparser/cpptree2uml.cpp:67
#15 0x000000000051aba2 in CppImport::feedTheModel (this=this at entry=0x2c26df0,
fileName=...) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/cppimport.cpp:102
#16 0x000000000051b51f in CppImport::parseFile (this=0x2c26df0, fileName=...)
at /usr/src/debug/umbrello-4.14.3/umbrello/codeimport/cppimport.cpp:163
#17 0x0000000000504970 in importFile (fileName=..., this=0x2c26df0) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/classimport.cpp:97
#18 ClassImport::importFiles (this=this at entry=0x2c26df0, fileNames=...) at
/usr/src/debug/umbrello-4.14.3/umbrello/codeimport/classimport.cpp:81
#19 0x00000000006a730e in UMLApp::importFiles (this=this at entry=0x298cd00,
fileList=fileList at entry=0x7fffaf6bd810) at
/usr/src/debug/umbrello-4.14.3/umbrello/uml.cpp:2613
#20 0x00000000006a7bb5 in importFiles (fileList=0x7fffaf6bd810, this=0x298cd00)
at /usr/src/debug/umbrello-4.14.3/umbrello/uml.cpp:2605
#21 UMLApp::slotImportProject (this=0x298cd00) at
/usr/src/debug/umbrello-4.14.3/umbrello/uml.cpp:2666
#22 0x00007f9a318ff37a in QMetaObject::activate (sender=sender at entry=0x2c1fc20,
m=m at entry=0x7f9a332ad840 <QAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fffaf6bd990)
at kernel/qobject.cpp:3567
#23 0x00007f9a327d0862 in QAction::triggered (this=this at entry=0x2c1fc20,
_t1=false) at .moc/release-shared/moc_qaction.cpp:276
#24 0x00007f9a327d23f7 in QAction::activate (this=this at entry=0x2c1fc20,
event=event at entry=QAction::Trigger) at kernel/qaction.cpp:1257
#25 0x00007f9a32c1b67d in QMenuPrivate::activateCausedStack
(this=this at entry=0x2d228e0, causedStack=..., action=action at entry=0x2c1fc20,
action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at
widgets/qmenu.cpp:1037
#26 0x00007f9a32c1ff19 in QMenuPrivate::activateAction (this=0x2d228e0,
action=0x2c1fc20, action_e=action_e at entry=QAction::Trigger,
self=self at entry=true) at widgets/qmenu.cpp:1129
#27 0x00007f9a32c23a85 in QMenu::mouseReleaseEvent (this=this at entry=0x2d02b00,
e=e at entry=0x7fffaf6be140) at widgets/qmenu.cpp:2371
#28 0x00007f9a335f7ffb in KMenu::mouseReleaseEvent (this=0x2d02b00,
e=0x7fffaf6be140) at /usr/src/debug/kdelibs-4.14.3/kdeui/widgets/kmenu.cpp:464
#29 0x00007f9a32829cc8 in QWidget::event (this=this at entry=0x2d02b00,
event=event at entry=0x7fffaf6be140) at kernel/qwidget.cpp:8389
#30 0x00007f9a32c23f6b in QMenu::event (this=0x2d02b00, e=0x7fffaf6be140) at
widgets/qmenu.cpp:2480
#31 0x00007f9a327d6e5c in QApplicationPrivate::notify_helper (this=0x2626ae0,
receiver=0x2d02b00, e=0x7fffaf6be140) at kernel/qapplication.cpp:4565
#32 0x00007f9a327dd8f1 in QApplication::notify (this=this at entry=0x7fffaf6be970,
receiver=receiver at entry=0x2d02b00, e=e at entry=0x7fffaf6be140) at
kernel/qapplication.cpp:4108
#33 0x00007f9a335374fa in KApplication::notify (this=0x7fffaf6be970,
receiver=0x2d02b00, event=0x7fffaf6be140) at
/usr/src/debug/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311
#34 0x00007f9a318ea8fd in QCoreApplication::notifyInternal
(this=0x7fffaf6be970, receiver=0x2d02b00, event=0x7fffaf6be140) at
kernel/qcoreapplication.cpp:953
#35 0x00007f9a327dd067 in QApplicationPrivate::sendMouseEvent
(receiver=0x2d02b00, event=0x7fffaf6be140, alienWidget=0x0,
nativeWidget=0x2d02b00, buttonDown=<optimized out>, lastMouseReceiver=...,
spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#36 0x00007f9a3285296c in QETWidget::translateMouseEvent (this=0x2d02b00,
event=<optimized out>) at kernel/qapplication_x11.cpp:4474
#37 0x00007f9a328510ac in QApplication::x11ProcessEvent (this=0x7fffaf6be970,
event=event at entry=0x7fffaf6be480) at kernel/qapplication_x11.cpp:3663
#38 0x00007f9a32878ac4 in x11EventSourceDispatch (s=s at entry=0x2625620,
callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#39 0x00007f9a2c4872a6 in g_main_dispatch (context=0x25ed870) at gmain.c:3066
#40 g_main_context_dispatch (context=context at entry=0x25ed870) at gmain.c:3642
#41 0x00007f9a2c487628 in g_main_context_iterate
(context=context at entry=0x25ed870, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3713
#42 0x00007f9a2c4876dc in g_main_context_iteration (context=0x25ed870,
may_block=1) at gmain.c:3774
#43 0x00007f9a3191941e in QEventDispatcherGlib::processEvents (this=0x2627730,
flags=...) at kernel/qeventdispatcher_glib.cpp:450
#44 0x00007f9a32878c46 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#45 0x00007f9a318e938f in QEventLoop::processEvents
(this=this at entry=0x7fffaf6be870, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f9a318e96dd in QEventLoop::exec (this=this at entry=0x7fffaf6be870,
flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f9a318eeda9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#48 0x00007f9a327d54dc in QApplication::exec () at kernel/qapplication.cpp:3823
#49 0x000000000043c5aa in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/umbrello-4.14.3/umbrello/main.cpp:123

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list