Bug 285001 - Crash when importing java sources [@ UMLPackage::findObject]
Summary: Crash when importing java sources [@ UMLPackage::findObject]
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:
: 288406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-26 12:10 UTC by Victor Bonafé
Modified: 2012-07-05 23:30 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 Victor Bonafé 2011-10-26 12:10:48 UTC
Application: umbrello (2.6.5)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Importing java sources from a maven-based project.

- Custom settings of the application:
Umbrello running on Gnome.
Sources using Java 6 notations, including annotations and generics.

The crash can be reproduced every time.

-- Backtrace:
Application: Modelador UML Umbrello (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7703710 (LWP 4453))]

Thread 3 (Thread 0xb7468b70 (LWP 4455)):
#0  0x002fd7a4 in __pthread_mutex_unlock_usercnt (mutex=0x9ffe4ec, decr=1) at pthread_mutex_unlock.c:52
#1  0x02e4e656 in pthread_mutex_unlock (mutex=0x9ffe4ec) at forward.c:184
#2  0x014823d4 in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01482e8c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0148392b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x040ad304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x014ac2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x002f9e99 in start_thread (arg=0xb7468b70) at pthread_create.c:304
#8  0x02e4073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb147eb70 (LWP 4459)):
#0  0x002fd7a4 in __pthread_mutex_unlock_usercnt (mutex=0xb620073c, decr=1) at pthread_mutex_unlock.c:52
#1  0x02e4e656 in pthread_mutex_unlock (mutex=0xb620073c) at forward.c:184
#2  0x01482ff9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01483524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00b8b577 in QEventDispatcherGlib::processEvents (this=0xa3d3b38, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00b5d289 in QEventLoop::processEvents (this=0xb147e290, flags=...) at kernel/qeventloop.cpp:149
#6  0x00b5d522 in QEventLoop::exec (this=0xb147e290, flags=...) at kernel/qeventloop.cpp:201
#7  0x00a672a0 in QThread::exec (this=0xa3d2f40) at thread/qthread.cpp:492
#8  0x00b3efdb in QInotifyFileSystemWatcherEngine::run (this=0xa3d2f40) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00a69da2 in QThreadPrivate::start (arg=0xa3d2f40) at thread/qthread_unix.cpp:320
#10 0x002f9e99 in start_thread (arg=0xb147eb70) at pthread_create.c:304
#11 0x02e4073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7703710 (LWP 4453)):
[KCrash Handler]
#7  ref (this=0xa32cd50, name=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QList (this=0xa32cd50, name=...) at /usr/include/qt4/QtCore/qlist.h:118
#9  QListIterator (this=0xa32cd50, name=...) at /usr/include/qt4/QtCore/qlist.h:881
#10 UMLPackage::findObject (this=0xa32cd50, name=...) at ../../../umbrello/umbrello/package.cpp:238
#11 0x08390b8e in UMLDoc::isUnique (this=0xa19ade8, name=..., package=0xa32cd50) at ../../../umbrello/umbrello/umldoc.cpp:971
#12 0x08356b69 in Model_Utils::uniqObjectName (type=Uml::ot_Class, parentPkg=0xa32cd50, prefix=...) at ../../../umbrello/umbrello/model_utils.cpp:438
#13 0x083612ab in Object_Factory::createUMLObject (type=Uml::ot_Class, n=..., parentPkg=0xa32cd50, solicitNewName=false) at ../../../umbrello/umbrello/object_factory.cpp:186
#14 0x08160af9 in Import_Utils::createUMLObject (type=Uml::ot_UMLObject, inName=..., parentPkg=0xa32cd50, comment=..., stereotype=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:231
#15 0x08161f0c in Import_Utils::addMethodParameter (method=0xa4c1738, type=..., name=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:478
#16 0x08168207 in JavaImport::parseStmt (this=0xa499d00) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:511
#17 0x0816aa83 in NativeImportBase::parseFile (this=0xa499d00, filename=...) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#18 0x081631e3 in JavaImport::parseFile (this=0xa499d00, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#19 0x0815a335 in ClassImport::importFiles (this=0xa499d00, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#20 0x0838870d in UMLApp::importFiles (this=0xa18b768, fileList=0xbf8702bc) at ../../../umbrello/umbrello/uml.cpp:2241
#21 0x08388824 in UMLApp::slotImportProject (this=0xa18b768) at ../../../umbrello/umbrello/uml.cpp:2290
#22 0x0838b52d in UMLApp::qt_metacall (this=0xa18b768, _c=QMetaObject::InvokeMetaMethod, _id=45, _a=0xbf8703e8) at ./uml.moc:259
#23 0x00b646ba in QMetaObject::metacall (object=0xa18b768, cl=QMetaObject::InvokeMetaMethod, idx=91, argv=0xbf8703e8) at kernel/qmetaobject.cpp:237
#24 0x00b744ff in QMetaObject::activate (sender=0xa1cbad0, m=0x6ac73f8, local_signal_index=1, argv=0xbf8703e8) at kernel/qobject.cpp:3287
#25 0x0618d8d9 in QAction::triggered (this=0xa1cbad0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#26 0x0618db38 in QAction::activate (this=0xa1cbad0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#27 0x0618effb in trigger (this=0xa1cbad0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xa15e4c8) at kernel/qaction.h:218
#28 QAction::qt_metacall (this=0xa1cbad0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xa15e4c8) at .moc/release-shared/moc_qaction.cpp:174
#29 0x061f468a in QWidgetAction::qt_metacall (this=0xa1cbad0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xa15e4c8) at .moc/release-shared/moc_qwidgetaction.cpp:67
#30 0x010c22ba in KAction::qt_metacall (this=0xa1cbad0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xa15e4c8) at ./kaction.moc:95
#31 0x00b646ba in QMetaObject::metacall (object=0xa1cbad0, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xa15e4c8) at kernel/qmetaobject.cpp:237
#32 0x00b6ee16 in QMetaCallEvent::placeMetaCall (this=0xa2ff298, object=0xa1cbad0) at kernel/qobject.cpp:535
#33 0x00b733b7 in QObject::event (this=0xa1cbad0, e=0xa2ff298) at kernel/qobject.cpp:1226
#34 0x0618dc33 in QAction::event (this=0xa1cbad0, e=0xa2ff298) at kernel/qaction.cpp:1187
#35 0x010c07c3 in KAction::event (this=0xa1cbad0, event=0xa2ff298) at ../../kdeui/actions/kaction.cpp:131
#36 0x06194d24 in QApplicationPrivate::notify_helper (this=0x9fc6fd8, receiver=0xa1cbad0, e=0xa2ff298) at kernel/qapplication.cpp:4462
#37 0x061998ce in QApplication::notify (this=0xbf870e60, receiver=0xa1cbad0, e=0xa2ff298) at kernel/qapplication.cpp:3862
#38 0x011b432a in KApplication::notify (this=0xbf870e60, receiver=0xa1cbad0, event=0xa2ff298) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00b5e0bb in QCoreApplication::notifyInternal (this=0xbf870e60, receiver=0xa1cbad0, event=0xa2ff298) at kernel/qcoreapplication.cpp:731
#40 0x00b61c79 in sendEvent (receiver=0x0, event_type=0, data=0x9f7ff50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9f7ff50) at kernel/qcoreapplication.cpp:1372
#42 0x00b61e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#43 0x00b8b3c4 in sendPostedEvents (s=0x9fcccd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x9fcccd0) at kernel/qeventdispatcher_glib.cpp:277
#45 0x01482aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x01483270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x01483524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x00b8b53c in QEventDispatcherGlib::processEvents (this=0x9f7faa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0x0624b1e5 in QGuiEventDispatcherGlib::processEvents (this=0x9f7faa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00b5d289 in QEventLoop::processEvents (this=0xbf870db4, flags=...) at kernel/qeventloop.cpp:149
#51 0x00b5d522 in QEventLoop::exec (this=0xbf870db4, flags=...) at kernel/qeventloop.cpp:201
#52 0x00b61ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0x061928e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#54 0x08355a27 in main (argc=) at ../../../umbrello/umbrello/main.cpp:111

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

Possible duplicates by query: bug 283707, bug 281398, bug 276876, bug 271001, bug 262496.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-12-12 07:46:30 UTC
*** Bug 288406 has been marked as a duplicate of this bug. ***
Comment 2 Myriam Schweingruber 2011-12-12 07:47:16 UTC
Confirmed by duplicate.
Comment 3 Jekyll Wu 2012-07-05 23:30:16 UTC

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