[Uml-devel] [Bug 271001] New: Umbrello crased when I tried to import large Java project

Paulo Meirelles paulo at softwarelivre.org
Thu Apr 14 23:28:31 UTC 2011


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

           Summary: Umbrello crased when I tried to import large Java
                    project
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: paulo at softwarelivre.org


Application: umbrello (2.6.2)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
I've just tried to import all java from a java project, so Umbrello closed.
Later, I tried with a module of my java project and the same behaviour
occurred.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb76a3b70 (LWP 7783)):
#0  0x067ddc72 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libc.so.6
#1  0x068a562b in pthread_mutex_unlock (mutex=0x90bc174) at forward.c:184
#2  0x0459eff9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0459f92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07235434 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0x045c82df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x0085ee99 in start_thread (arg=0xb76a3b70) at pthread_create.c:304
#7  0x0689773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb10cfb70 (LWP 7785)):
#0  0x008a3416 in __kernel_vsyscall ()
#1  0x06888f76 in __poll (fds=0x931b4d8, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0x045af84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0459f1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0459f524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x052e7577 in QEventDispatcherGlib::processEvents (this=0x9306ea0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x052b9289 in QEventLoop::processEvents (this=0xb10cf290, flags=...) at
kernel/qeventloop.cpp:149
#7  0x052b9522 in QEventLoop::exec (this=0xb10cf290, flags=...) at
kernel/qeventloop.cpp:201
#8  0x051c32a0 in QThread::exec (this=0x9326660) at thread/qthread.cpp:492
#9  0x0529afdb in QInotifyFileSystemWatcherEngine::run (this=0x9326660) at
io/qfilesystemwatcher_inotify.cpp:248
#10 0x051c5da2 in QThreadPrivate::start (arg=0x9326660) at
thread/qthread_unix.cpp:320
#11 0x0085ee99 in start_thread (arg=0xb10cfb70) at pthread_create.c:304
#12 0x0689773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7710710 (LWP 7782)):
[KCrash Handler]
#7  ref (this=0x93e5bc0, name=...) at
/usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QList (this=0x93e5bc0, name=...) at /usr/include/qt4/QtCore/qlist.h:118
#9  QListIterator (this=0x93e5bc0, name=...) at
/usr/include/qt4/QtCore/qlist.h:881
#10 UMLPackage::findObject (this=0x93e5bc0, name=...) at
../../../umbrello/umbrello/package.cpp:238
#11 0x08390b8e in UMLDoc::isUnique (this=0x91eac38, name=...,
package=0x93e5bc0) at ../../../umbrello/umbrello/umldoc.cpp:971
#12 0x08356b69 in Model_Utils::uniqObjectName (type=Uml::ot_Class,
parentPkg=0x93e5bc0, prefix=...) at
../../../umbrello/umbrello/model_utils.cpp:438
#13 0x083612ab in Object_Factory::createUMLObject (type=Uml::ot_Class, n=...,
parentPkg=0x93e5bc0, solicitNewName=false) at
../../../umbrello/umbrello/object_factory.cpp:186
#14 0x08160af9 in Import_Utils::createUMLObject (type=Uml::ot_UMLObject,
inName=..., parentPkg=0x93e5bc0, comment=..., stereotype=...) at
../../../umbrello/umbrello/codeimport/import_utils.cpp:231
#15 0x08161f0c in Import_Utils::addMethodParameter (method=0x93a6d10, type=...,
name=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:478
#16 0x08168207 in JavaImport::parseStmt (this=0xbfeb9480) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:511
#17 0x0816aa83 in NativeImportBase::parseFile (this=0xbfeb9480, filename=...)
at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#18 0x081631e3 in JavaImport::parseFile (this=0xbfeb9480, filename=...) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#19 0x0815a335 in ClassImport::importFiles (this=0xbfeb9480, fileList=...) at
../../../umbrello/umbrello/codeimport/classimport.cpp:45
#20 0x08162efa in JavaImport::spawnImport (this=0xbfeb9bb0, file=...) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#21 0x08163ca2 in JavaImport::resolveClass (this=0xbfeb9bb0, className=...) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:211
#22 0x08168166 in JavaImport::parseStmt (this=0xbfeb9bb0) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:506
#23 0x0816aa83 in NativeImportBase::parseFile (this=0xbfeb9bb0, filename=...)
at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#24 0x081631e3 in JavaImport::parseFile (this=0xbfeb9bb0, filename=...) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#25 0x0815a335 in ClassImport::importFiles (this=0xbfeb9bb0, fileList=...) at
../../../umbrello/umbrello/codeimport/classimport.cpp:45
#26 0x08162efa in JavaImport::spawnImport (this=0x9296cd8, file=...) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#27 0x08163ca2 in JavaImport::resolveClass (this=0x9296cd8, className=...) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:211
#28 0x08165e37 in JavaImport::parseStmt (this=0x9296cd8) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:354
#29 0x0816aa83 in NativeImportBase::parseFile (this=0x9296cd8, filename=...) at
../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#30 0x081631e3 in JavaImport::parseFile (this=0x9296cd8, filename=...) at
../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#31 0x0815a335 in ClassImport::importFiles (this=0x9296cd8, fileList=...) at
../../../umbrello/umbrello/codeimport/classimport.cpp:45
#32 0x0838870d in UMLApp::importFiles (this=0x91832d0, fileList=0xbfeba32c) at
../../../umbrello/umbrello/uml.cpp:2241
#33 0x08388824 in UMLApp::slotImportProject (this=0x91832d0) at
../../../umbrello/umbrello/uml.cpp:2290
#34 0x0838b52d in UMLApp::qt_metacall (this=0x91832d0,
_c=QMetaObject::InvokeMetaMethod, _id=45, _a=0xbfeba458) at ./uml.moc:259
#35 0x052c06ba in QMetaObject::metacall (object=0x91832d0,
cl=QMetaObject::InvokeMetaMethod, idx=91, argv=0xbfeba458) at
kernel/qmetaobject.cpp:237
#36 0x052d04ff in QMetaObject::activate (sender=0x9214138, m=0x19fb3f8,
local_signal_index=1, argv=0xbfeba458) at kernel/qobject.cpp:3287
#37 0x010c38d9 in QAction::triggered (this=0x9214138, _t1=false) at
.moc/release-shared/moc_qaction.cpp:263
#38 0x010c3b38 in QAction::activate (this=0x9214138, event=QAction::Trigger) at
kernel/qaction.cpp:1257
#39 0x015558ad in QMenuPrivate::activateCausedStack (this=0x92903f0,
causedStack=..., action=0x9214138, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:993
#40 0x0155c16b in QMenuPrivate::activateAction (this=0x92903f0,
action=0x9214138, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1085
#41 0x0155cffe in QMenu::mouseReleaseEvent (this=0x92019e8, e=0xbfebacf4) at
widgets/qmenu.cpp:2306
#42 0x00b62cf4 in KMenu::mouseReleaseEvent (this=0x92019e8, e=0xbfebacf4) at
../../kdeui/widgets/kmenu.cpp:458
#43 0x0112313a in QWidget::event (this=0x92019e8, event=0xbfebacf4) at
kernel/qwidget.cpp:8259
#44 0x0155d4d7 in QMenu::event (this=0x92019e8, e=0xbfebacf4) at
widgets/qmenu.cpp:2415
#45 0x010cad24 in QApplicationPrivate::notify_helper (this=0x907d250,
receiver=0x92019e8, e=0xbfebacf4) at kernel/qapplication.cpp:4462
#46 0x010d0201 in QApplication::notify (this=0xbfebb590, receiver=0x92019e8,
e=0xbfebacf4) at kernel/qapplication.cpp:4023
#47 0x00a853ca in KApplication::notify (this=0xbfebb590, receiver=0x92019e8,
event=0xbfebacf4) at ../../kdeui/kernel/kapplication.cpp:311
#48 0x052ba0bb in QCoreApplication::notifyInternal (this=0xbfebb590,
receiver=0x92019e8, event=0xbfebacf4) at kernel/qcoreapplication.cpp:731
#49 0x010cbc3b in sendSpontaneousEvent (receiver=0x92019e8, event=0xbfebacf4,
alienWidget=0x0, nativeWidget=0x92019e8, buttonDown=0x1a17c60,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#50 QApplicationPrivate::sendMouseEvent (receiver=0x92019e8, event=0xbfebacf4,
alienWidget=0x0, nativeWidget=0x92019e8, buttonDown=0x1a17c60,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#51 0x011554c3 in QETWidget::translateMouseEvent (this=0x92019e8,
event=0xbfebb21c) at kernel/qapplication_x11.cpp:4490
#52 0x01153746 in QApplication::x11ProcessEvent (this=0xbfebb590,
event=0xbfebb21c) at kernel/qapplication_x11.cpp:3678
#53 0x0117eb84 in x11EventSourceDispatch (s=0x908df00, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x0459eaa8 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#55 0x0459f270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x0459f524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#57 0x052e753c in QEventDispatcherGlib::processEvents (this=0x907d230,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#58 0x0117e775 in QGuiEventDispatcherGlib::processEvents (this=0x907d230,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x052b9289 in QEventLoop::processEvents (this=0xbfebb4e4, flags=...) at
kernel/qeventloop.cpp:149
#60 0x052b9522 in QEventLoop::exec (this=0xbfebb4e4, flags=...) at
kernel/qeventloop.cpp:201
#61 0x052bdecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#62 0x010c88e7 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 223760.

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

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list