Bug 217417 - umbrello crashed when importing C++ project
Summary: umbrello crashed when importing C++ project
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Ralf Habacker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-05 10:32 UTC by Michael DING
Modified: 2014-02-12 00:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael DING 2009-12-05 10:32:56 UTC
Application that crashed: umbrello
Version of the application: 2.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
umbrello crashed when importing C++ project(the source code of Qt Designer),

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f3088585750 (LWP 2887))]

Thread 2 (Thread 0x7f3078536910 (LWP 2916)):
#0  0x00007fff97fff82c in clock_gettime ()
#1  0x00007f3080358fdf in *__GI_clock_gettime (clock_id=1, tp=0x7f3078535d80) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f30855d8ccd in QTimerInfoList::getTime (this=<value optimized out>, t=...) at kernel/qeventdispatcher_unix.cpp:339
#3  0x00007f30855d8ec1 in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:297
#4  0x00007f30855d98f3 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#5  0x00007f30855d737d in timerSourcePrepare (source=<value optimized out>, timeout=0x7f3078535e7c) at kernel/qeventdispatcher_glib.cpp:141
#6  0x00007f3081016daa in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x00007f3081017181 in ?? () from /lib/libglib-2.0.so.0
#8  0x00007f30810176b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x00007f30855d71fe in QEventDispatcherGlib::processEvents (this=0x2386ac0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#10 0x00007f30855ad532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#11 0x00007f30855ad904 in QEventLoop::exec (this=0x7f3078536010, flags=) at kernel/qeventloop.cpp:201
#12 0x00007f30854c56cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#13 0x00007f3085590b78 in QInotifyFileSystemWatcherEngine::run (this=0x23b67c0) at io/qfilesystemwatcher_inotify.cpp:214
#14 0x00007f30854c8445 in QThreadPrivate::start (arg=0x23b67c0) at thread/qthread_unix.cpp:188
#15 0x00007f3084234a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007f30845297bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3088585750 (LWP 2887)):
[KCrash Handler]
#5  0x00000000004ea45c in Token::isNull (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:177
#6  Parser::skipExpression (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:296
#7  0x00000000004ea7f6 in Parser::skipCommaExpression (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:269
#8  0x00000000004eaa85 in Parser::skipExpressionStatement (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:2499
#9  0x00000000004f9c63 in Parser::parseStatement (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:2576
#10 0x00000000004f9ea9 in Parser::parseFunctionBody (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:3214
#11 0x00000000004f58de in Parser::parseDeclarationInternal (this=0x7fff97f6c740, node=<value optimized out>, comment=<value optimized out>)
    at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:3173
#12 0x00000000004f7ac8 in Parser::parseDeclaration (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:512
#13 0x00000000004f7c1c in Parser::parseTemplateDeclaration (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:899
#14 0x00000000004f79ec in Parser::parseDeclaration (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:464
#15 0x00000000004f926b in Parser::parseTranslationUnit (this=0x7fff97f6c740, node=...) at ../../../umbrello/umbrello/codeimport/kdevcppparser/parser.cpp:404
#16 0x00000000004cf9cf in Driver::parseFile (this=0x25f0c20, fileName=<value optimized out>, onlyPreProcess=<value optimized out>, force=<value optimized out>)
    at ../../../umbrello/umbrello/codeimport/kdevcppparser/driver.cpp:246
#17 0x0000000000538884 in CppImport::parseFile (this=0x259cf60, fileName=...) at ../../../umbrello/umbrello/codeimport/cppimport.cpp:133
#18 0x000000000052226a in ClassImport::importFiles (this=0x259cf60, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#19 0x0000000000bdf575 in UMLApp::importFiles (this=0x20b5730, fileList=0x7fff97f6c990) at ../../../umbrello/umbrello/uml.cpp:2213
#20 0x0000000000bdf6d3 in UMLApp::slotImportProject (this=0x20b5730) at ../../../umbrello/umbrello/uml.cpp:2262
#21 0x0000000000befaad in UMLApp::qt_metacall (this=0x20b5730, _c=QMetaObject::InvokeMetaMethod, _id=-1745435288, _a=0x7fff97f6cb10) at ./uml.moc:277
#22 0x00007f30855c3ddc in QMetaObject::activate (sender=0x20d8ec0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x10000003f) at kernel/qobject.cpp:3113
#23 0x00007f3085ec90a7 in QAction::triggered (this=0x7fff97f6c740, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#24 0x00007f3085eca4ef in QAction::activate (this=0x20d8ec0, event=<value optimized out>) at kernel/qaction.cpp:1160
#25 0x00007f30862b6ecd in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x20d8ec0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#26 0x00007f30862bcdea in QMenuPrivate::activateAction (this=0x22a1420, action=0x20d8ec0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#27 0x00007f30870772be in KMenu::mouseReleaseEvent (this=0x22a1070, e=0x28) at ../../kdeui/widgets/kmenu.cpp:456
#28 0x00007f3085f1d9c0 in QWidget::event (this=0x22a1070, event=0x7fff97f6d530) at kernel/qwidget.cpp:7549
#29 0x00007f30862bf5ab in QMenu::event (this=0x22a1070, e=0x7fff97f6d530) at widgets/qmenu.cpp:2353
#30 0x00007f3085eceefc in QApplicationPrivate::notify_helper (this=0x1f61b00, receiver=0x22a1070, e=0x7fff97f6d530) at kernel/qapplication.cpp:4056
#31 0x00007f3085ed6011 in QApplication::notify (this=<value optimized out>, receiver=0x22a1070, e=0x7fff97f6d530) at kernel/qapplication.cpp:3758
#32 0x00007f3086fa4ab6 in KApplication::notify (this=0x7fff97f6f450, receiver=0x22a1070, event=0x7fff97f6d530) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00007f30855aec2c in QCoreApplication::notifyInternal (this=0x7fff97f6f450, receiver=0x22a1070, event=0x7fff97f6d530) at kernel/qcoreapplication.cpp:610
#34 0x00007f3085ed58e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x22a1070, event=0x7fff97f6d530, alienWidget=0x0, nativeWidget=0x22a1070, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#35 QApplicationPrivate::sendMouseEvent (receiver=0x22a1070, event=0x7fff97f6d530, alienWidget=0x0, nativeWidget=0x22a1070, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2924
#36 0x00007f3085f3be2e in QETWidget::translateMouseEvent (this=0x22a1070, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#37 0x00007f3085f3aaa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff97f6f060) at kernel/qapplication_x11.cpp:3550
#38 0x00007f3085f63d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007f3081013bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f3081017588 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f30810176b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f30855d71a6 in QEventDispatcherGlib::processEvents (this=0x1f3af00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#43 0x00007f3085f634be in QGuiEventDispatcherGlib::processEvents (this=0x7fff97f6c740, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007f30855ad532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f30855ad904 in QEventLoop::exec (this=0x7fff97f6f390, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f30855afab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#47 0x0000000000bbe3e5 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Allan Rocha 2010-04-20 01:07:35 UTC
GNU DDD 3.3.11 (x86_64-pc-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller.
Copyright © 1995-1999 Technische Universität Braunschweig, Germany.
Copyright © 1999-2001 Universität Passau, Germany.
Copyright © 2001 Universität des Saarlandes, Germany.
Copyright © 2001-2004 Free Software Foundation, Inc.
Reading symbols from /usr/bin/umbrello...(no debugging symbols found)...done.
(gdb) run
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
_wordcopy_bwd_aligned (dstp=16240624, srcp=16240608, len=2305843009212742856) at wordcopy.c:311
	in wordcopy.c
(gdb)
Comment 2 Allan Rocha 2010-04-20 01:11:41 UTC
The crash happened when I was importing the project c++, so I run  umbrella executable using ddd.
Comment 3 Ralf Habacker 2014-02-12 00:46:03 UTC
fixed with bug 330788
Comment 4 Ralf Habacker 2014-02-12 00:50:23 UTC
(In reply to comment #3)
> fixed with bug 330788

wrong bug number, correct one is bug 330778