Bug 257096 - Umbrello crashes when importing project
Summary: Umbrello crashes when importing project
Status: RESOLVED DUPLICATE of bug 223760
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 22:25 UTC by mcsons
Modified: 2010-11-17 23:46 UTC (History)
1 user (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 mcsons 2010-11-16 22:25:26 UTC
Application: umbrello (2.5.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I tried to import a Java project to generate a class diagram. Umbrello crashed while importing the code.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f200ce10760 (LWP 12395))]

Thread 2 (Thread 0x7f2000baa710 (LWP 12396)):
#0  0x00007f20089ab1d3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f20044bb009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f20044bb7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f20012e10f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f20044e07e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f20098f7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f20089b791d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f200ce10760 (LWP 12395)):
[KCrash Handler]
#6  ref (this=0x1d750d0, name=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x1d750d0, name=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:118
#8  QListIterator (this=0x1d750d0, name=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:880
#9  UMLPackage::findObject (this=0x1d750d0, name=<value optimized out>) at ../../../umbrello/umbrello/package.cpp:238
#10 0x0000000000a3aff3 in UMLDoc::isUnique (this=<value optimized out>, name=..., package=0x1d750d0) at ../../../umbrello/umbrello/umldoc.cpp:972
#11 0x00000000009ff451 in Model_Utils::uniqObjectName (type=<value optimized out>, parentPkg=0x1d750d0, prefix=<value optimized out>) at ../../../umbrello/umbrello/model_utils.cpp:438
#12 0x0000000000a076ac in Object_Factory::createUMLObject (type=<value optimized out>, n=<value optimized out>, parentPkg=<value optimized out>, solicitNewName=false) at ../../../umbrello/umbrello/object_factory.cpp:186
#13 0x0000000000529d7c in Import_Utils::createUMLObject (type=Uml::ot_UMLObject, inName=<value optimized out>, parentPkg=0x1d750d0, comment=<value optimized out>, stereotype=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:231
#14 0x000000000052a44e in Import_Utils::addMethodParameter (method=0x1d3a5b0, type=..., name=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:478
#15 0x000000000052fa78 in JavaImport::parseStmt (this=0x1d66be0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:510
#16 0x0000000000531f72 in NativeImportBase::parseFile (this=0x1d66be0, filename=<value optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#17 0x000000000052b31f in JavaImport::parseFile (this=0x1d66be0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#18 0x000000000052410a in ClassImport::importFiles (this=0x1d66be0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#19 0x0000000000a1e125 in UMLApp::importFiles (this=0x19f7fd0, fileList=0x7fffcfd60d90) at ../../../umbrello/umbrello/uml.cpp:2225
#20 0x0000000000a1e283 in UMLApp::slotImportProject (this=0x19f7fd0) at ../../../umbrello/umbrello/uml.cpp:2274
#21 0x0000000000a2e2c2 in UMLApp::qt_metacall (this=0x19f7fd0, _c=QMetaObject::InvokeMetaMethod, _id=500, _a=0x7fffcfd60f10) at ./uml.moc:284
#22 0x00007f2009c8db27 in QMetaObject::activate (sender=0x1a5da20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3) at kernel/qobject.cpp:3280
#23 0x00007f200a159852 in QAction::triggered (this=0x19f7fd0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#24 0x00007f200a15af5b in QAction::activate (this=0x1a5da20, event=<value optimized out>) at kernel/qaction.cpp:1256
#25 0x00007f200a5c1dc1 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x1a5da20, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#26 0x00007f200a5c7782 in QMenuPrivate::activateAction (this=0x1a95e10, action=0x1a5da20, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#27 0x00007f200b6b9cee in KMenu::mouseReleaseEvent (this=0x1a95130, e=0x7fffcfd5fc80) at ../../kdeui/widgets/kmenu.cpp:471
#28 0x00007f200a1b704e in QWidget::event (this=0x1a95130, event=0x7fffcfd61b60) at kernel/qwidget.cpp:8187
#29 0x00007f200a5c990b in QMenu::event (this=0x1a95130, e=0x7fffcfd61b60) at widgets/qmenu.cpp:2410
#30 0x00007f200a160fdc in QApplicationPrivate::notify_helper (this=0x1790190, receiver=0x1a95130, e=0x7fffcfd61b60) at kernel/qapplication.cpp:4396
#31 0x00007f200a16730e in QApplication::notify (this=0x7fffcfd62870, receiver=0x1a95130, e=0x7fffcfd61b60) at kernel/qapplication.cpp:3959
#32 0x00007f200b5d9156 in KApplication::notify (this=0x7fffcfd62870, receiver=0x1a95130, event=0x7fffcfd61b60) at ../../kdeui/kernel/kapplication.cpp:310
#33 0x00007f2009c75cdc in QCoreApplication::notifyInternal (this=0x7fffcfd62870, receiver=0x1a95130, event=0x7fffcfd61b60) at kernel/qcoreapplication.cpp:732
#34 0x00007f200a165dbe in sendEvent (receiver=0x1a95130, event=0x7fffcfd61b60, alienWidget=0x0, nativeWidget=0x1a95130, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QApplicationPrivate::sendMouseEvent (receiver=0x1a95130, event=0x7fffcfd61b60, alienWidget=0x0, nativeWidget=0x1a95130, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#36 0x00007f200a1e97bd in QETWidget::translateMouseEvent (this=0x1a95130, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#37 0x00007f200a1e7c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffcfd62480) at kernel/qapplication_x11.cpp:3536
#38 0x00007f200a2140e2 in x11EventSourceDispatch (s=0x1793fc0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007f20044b7342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f20044bb2a8 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f20044bb45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f2009ca2193 in QEventDispatcherGlib::processEvents (this=0x1768410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#43 0x00007f200a213a4e in QGuiEventDispatcherGlib::processEvents (this=0x19f7fd0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f2009c74a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f2009c74dec in QEventLoop::exec (this=0x7fffcfd627b0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f2009c78ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#47 0x00000000009fd595 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 223760.

Possible duplicates by query: bug 254168, bug 223760.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-17 23:46:32 UTC
[Comment from a bug triager]
This issue is being tracked at bug 223760. Merging. Thanks

*** This bug has been marked as a duplicate of bug 223760 ***