Bug 281398 - Umbrello crashes when importing a Java class
Summary: Umbrello crashes when importing a Java class
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: 2011-09-05 13:29 UTC by underline
Modified: 2011-11-30 13:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.59 KB, text/plain)
2011-11-30 13:44 UTC, satyajitg2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description underline 2011-09-05 13:29:13 UTC
Application: umbrello (2.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
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:
1. Selected Code > Import classes.
2. Selected the desired class.
3. Clicked import.
4. Application crashed.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb47e8b70 (LWP 5288)):
#0  0x003a9d41 in clock_gettime (clock_id=1, tp=0xb47e8000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x08b47dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x08c144f2 in updateCurrentTime (this=0x964e4b4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x964e4b4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x08c12d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb47e80dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x08c12dcd in timerSourcePrepare (source=0x964e480, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x07480fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x07481e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x07482524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x08c13577 in QEventDispatcherGlib::processEvents (this=0x964dfd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x08be5289 in QEventLoop::processEvents (this=0xb47e8290, flags=...) at kernel/qeventloop.cpp:149
#12 0x08be5522 in QEventLoop::exec (this=0xb47e8290, flags=...) at kernel/qeventloop.cpp:201
#13 0x08aef2a0 in QThread::exec (this=0x964c6a0) at thread/qthread.cpp:492
#14 0x08bc6fdb in QInotifyFileSystemWatcherEngine::run (this=0x964c6a0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x08af1da2 in QThreadPrivate::start (arg=0x964c6a0) at thread/qthread_unix.cpp:320
#16 0x00185e99 in start_thread (arg=0xb47e8b70) at pthread_create.c:304
#17 0x0684573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3d0bb70 (LWP 5305)):
#0  0x003a9d41 in clock_gettime (clock_id=1, tp=0xb3d0b000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x08b47dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x08c144f2 in updateCurrentTime (this=0xb34018bc, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb34018bc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x08c12d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3d0b0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x08c12dcd in timerSourcePrepare (source=0xb3401888, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x07480fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x07481e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x07482524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x08c13577 in QEventDispatcherGlib::processEvents (this=0xb3400468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x08be5289 in QEventLoop::processEvents (this=0xb3d0b290, flags=...) at kernel/qeventloop.cpp:149
#12 0x08be5522 in QEventLoop::exec (this=0xb3d0b290, flags=...) at kernel/qeventloop.cpp:201
#13 0x08aef2a0 in QThread::exec (this=0x9692a50) at thread/qthread.cpp:492
#14 0x08bc6fdb in QInotifyFileSystemWatcherEngine::run (this=0x9692a50) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x08af1da2 in QThreadPrivate::start (arg=0x9692a50) at thread/qthread_unix.cpp:320
#16 0x00185e99 in start_thread (arg=0xb3d0bb70) at pthread_create.c:304
#17 0x0684573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb774c710 (LWP 5287)):
[KCrash Handler]
#7  ref (this=0x96d0c00, name=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QList (this=0x96d0c00, name=...) at /usr/include/qt4/QtCore/qlist.h:118
#9  QListIterator (this=0x96d0c00, name=...) at /usr/include/qt4/QtCore/qlist.h:881
#10 UMLPackage::findObject (this=0x96d0c00, name=...) at ../../../umbrello/umbrello/package.cpp:238
#11 0x08390b8e in UMLDoc::isUnique (this=0x9453a88, name=..., package=0x96d0c00) at ../../../umbrello/umbrello/umldoc.cpp:971
#12 0x08356b69 in Model_Utils::uniqObjectName (type=Uml::ot_Class, parentPkg=0x96d0c00, prefix=...) at ../../../umbrello/umbrello/model_utils.cpp:438
#13 0x083612ab in Object_Factory::createUMLObject (type=Uml::ot_Class, n=..., parentPkg=0x96d0c00, solicitNewName=false) at ../../../umbrello/umbrello/object_factory.cpp:186
#14 0x08160af9 in Import_Utils::createUMLObject (type=Uml::ot_UMLObject, inName=..., parentPkg=0x96d0c00, comment=..., stereotype=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:231
#15 0x08161f0c in Import_Utils::addMethodParameter (method=0x9b41c70, type=..., name=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:478
#16 0x08168207 in JavaImport::parseStmt (this=0xbfcbd000) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:511
#17 0x0816aa83 in NativeImportBase::parseFile (this=0xbfcbd000, filename=...) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#18 0x081631e3 in JavaImport::parseFile (this=0xbfcbd000, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#19 0x0815a335 in ClassImport::importFiles (this=0xbfcbd000, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#20 0x08162efa in JavaImport::spawnImport (this=0xbfcbd730, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#21 0x08163515 in JavaImport::resolveClass (this=0xbfcbd730, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:177
#22 0x08165986 in JavaImport::parseStmt (this=0xbfcbd730) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:339
#23 0x0816aa83 in NativeImportBase::parseFile (this=0xbfcbd730, filename=...) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#24 0x081631e3 in JavaImport::parseFile (this=0xbfcbd730, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#25 0x0815a335 in ClassImport::importFiles (this=0xbfcbd730, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#26 0x08162efa in JavaImport::spawnImport (this=0x9ad6590, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#27 0x08163ca2 in JavaImport::resolveClass (this=0x9ad6590, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:211
#28 0x08165986 in JavaImport::parseStmt (this=0x9ad6590) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:339
#29 0x0816aa83 in NativeImportBase::parseFile (this=0x9ad6590, filename=...) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#30 0x081631e3 in JavaImport::parseFile (this=0x9ad6590, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#31 0x0815a335 in ClassImport::importFiles (this=0x9ad6590, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#32 0x0838870d in UMLApp::importFiles (this=0x944ffd0, fileList=0xbfcbdec8) at ../../../umbrello/umbrello/uml.cpp:2241
#33 0x08388a33 in UMLApp::slotImportClasses (this=0x944ffd0) at ../../../umbrello/umbrello/uml.cpp:2278
#34 0x0838b51d in UMLApp::qt_metacall (this=0x944ffd0, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbfcbe018) at ./uml.moc:258
#35 0x08bec6ba in QMetaObject::metacall (object=0x944ffd0, cl=QMetaObject::InvokeMetaMethod, idx=90, argv=0xbfcbe018) at kernel/qmetaobject.cpp:237
#36 0x08bfc4ff in QMetaObject::activate (sender=0x946a208, m=0x2c983f8, local_signal_index=1, argv=0xbfcbe018) at kernel/qobject.cpp:3287
#37 0x0235e8d9 in QAction::triggered (this=0x946a208, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#38 0x0235eb38 in QAction::activate (this=0x946a208, event=QAction::Trigger) at kernel/qaction.cpp:1257
#39 0x027f333d in QMenuPrivate::activateCausedStack (this=0x95a0430, causedStack=..., action=0x946a208, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#40 0x027f9bfb in QMenuPrivate::activateAction (this=0x95a0430, action=0x946a208, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#41 0x027faa8e in QMenu::mouseReleaseEvent (this=0x959bcf0, e=0xbfcbe8b4) at widgets/qmenu.cpp:2306
#42 0x01030cf4 in KMenu::mouseReleaseEvent (this=0x959bcf0, e=0xbfcbe8b4) at ../../kdeui/widgets/kmenu.cpp:458
#43 0x023be13a in QWidget::event (this=0x959bcf0, event=0xbfcbe8b4) at kernel/qwidget.cpp:8259
#44 0x027faf67 in QMenu::event (this=0x959bcf0, e=0xbfcbe8b4) at widgets/qmenu.cpp:2415
#45 0x02365d24 in QApplicationPrivate::notify_helper (this=0x93e69e8, receiver=0x959bcf0, e=0xbfcbe8b4) at kernel/qapplication.cpp:4462
#46 0x0236b201 in QApplication::notify (this=0xbfcbf150, receiver=0x959bcf0, e=0xbfcbe8b4) at kernel/qapplication.cpp:4023
#47 0x00f533ca in KApplication::notify (this=0xbfcbf150, receiver=0x959bcf0, event=0xbfcbe8b4) at ../../kdeui/kernel/kapplication.cpp:311
#48 0x08be60bb in QCoreApplication::notifyInternal (this=0xbfcbf150, receiver=0x959bcf0, event=0xbfcbe8b4) at kernel/qcoreapplication.cpp:731
#49 0x02366c3b in sendSpontaneousEvent (receiver=0x959bcf0, event=0xbfcbe8b4, alienWidget=0x0, nativeWidget=0x959bcf0, buttonDown=0x2cb4c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#50 QApplicationPrivate::sendMouseEvent (receiver=0x959bcf0, event=0xbfcbe8b4, alienWidget=0x0, nativeWidget=0x959bcf0, buttonDown=0x2cb4c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#51 0x023f2253 in QETWidget::translateMouseEvent (this=0x959bcf0, event=0xbfcbeddc) at kernel/qapplication_x11.cpp:4492
#52 0x023f09b5 in QApplication::x11ProcessEvent (this=0xbfcbf150, event=0xbfcbeddc) at kernel/qapplication_x11.cpp:3680
#53 0x0241c5f4 in x11EventSourceDispatch (s=0x93eade8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x07481aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0x07482270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x07482524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0x08c1353c in QEventDispatcherGlib::processEvents (this=0x939aaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#58 0x0241c1e5 in QGuiEventDispatcherGlib::processEvents (this=0x939aaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x08be5289 in QEventLoop::processEvents (this=0xbfcbf0a4, flags=...) at kernel/qeventloop.cpp:149
#60 0x08be5522 in QEventLoop::exec (this=0xbfcbf0a4, flags=...) at kernel/qeventloop.cpp:201
#61 0x08be9ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#62 0x023638e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#63 0x08355a27 in main (argc=) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 262496, bug 271001.

Possible duplicates by query: bug 276876, bug 271001, bug 262496, bug 257096, bug 254168.

Reported using DrKonqi
Comment 1 Dario Andres 2011-10-10 14:19:43 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 ***
Comment 2 satyajitg2 2011-11-30 13:44:48 UTC
Created attachment 66228 [details]
New crash information added by DrKonqi

umbrello (2.5.5) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0

- What I was doing when the application crashed:
I selected the Code language as "Java" imported a set of java files and it crashed.

-- Backtrace (Reduced):
#7  ref (this=0x99c5300, name=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QList (this=0x99c5300, name=...) at /usr/include/qt4/QtCore/qlist.h:118
#9  QListIterator (this=0x99c5300, name=...) at /usr/include/qt4/QtCore/qlist.h:880
#10 UMLPackage::findObject (this=0x99c5300, name=...) at ../../../umbrello/umbrello/package.cpp:238
#11 0x085ca3f5 in UMLDoc::isUnique (this=0x9711890, name=..., package=0x1f6) at ../../../umbrello/umbrello/umldoc.cpp:972