Bug 246981

Summary: Importing a Java project
Product: [Applications] umbrello Reporter: Laurent David <laurent.m.david>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Laurent David 2010-08-07 12:36:36 UTC
Application: umbrello (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Umbrello crashes while importing a java project. It crashes at different stages (sometimes at the beginning of the import process, sometimes near the end).
I imported slickset sources (from slick2D) and can provide them if necessary.
This bug seems to have duplicate.

The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f78f7f767f3 in QString::operator== (this=0x2555aa0, other=...) at tools/qstring.cpp:2071
#6  0x000000000052b733 in qStringComparisonHelper (this=0x7fff59dcbbf0, typeName=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:908
#7  QString::operator== (this=0x7fff59dcbbf0, typeName=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:911
#8  JavaImport::joinTypename (this=0x7fff59dcbbf0, typeName=<value optimized out>) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:80
#9  0x000000000052d803 in JavaImport::parseStmt (this=0x7fff59dcbbf0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:470
#10 0x00000000005305b2 in NativeImportBase::parseFile (this=0x7fff59dcbbf0, filename=<value optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#11 0x000000000052993f in JavaImport::parseFile (this=0x7fff59dcbbf0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:251
#12 0x00000000005229fa in ClassImport::importFiles (this=0x7fff59dcbbf0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#13 0x0000000000529e69 in JavaImport::spawnImport (this=<value optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:126
#14 0x000000000052aedd in JavaImport::resolveClass (this=0x7fff59dccc90, className=<value optimized out>) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:209
#15 0x000000000052da93 in JavaImport::parseStmt (this=0x7fff59dccc90) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:564
#16 0x00000000005305b2 in NativeImportBase::parseFile (this=0x7fff59dccc90, filename=<value optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#17 0x000000000052993f in JavaImport::parseFile (this=0x7fff59dccc90, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:251
#18 0x00000000005229fa in ClassImport::importFiles (this=0x7fff59dccc90, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#19 0x0000000000529e69 in JavaImport::spawnImport (this=<value optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:126
#20 0x000000000052aedd in JavaImport::resolveClass (this=0x7fff59dcdd30, className=<value optimized out>) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:209
#21 0x000000000052e0aa in JavaImport::parseStmt (this=0x7fff59dcdd30) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:503
#22 0x00000000005305b2 in NativeImportBase::parseFile (this=0x7fff59dcdd30, filename=<value optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#23 0x000000000052993f in JavaImport::parseFile (this=0x7fff59dcdd30, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:251
#24 0x00000000005229fa in ClassImport::importFiles (this=0x7fff59dcdd30, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#25 0x0000000000529e69 in JavaImport::spawnImport (this=<value optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:126
#26 0x000000000052aedd in JavaImport::resolveClass (this=0x7fff59dcedd0, className=<value optimized out>) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:209
#27 0x000000000052da93 in JavaImport::parseStmt (this=0x7fff59dcedd0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:564
#28 0x00000000005305b2 in NativeImportBase::parseFile (this=0x7fff59dcedd0, filename=<value optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#29 0x000000000052993f in JavaImport::parseFile (this=0x7fff59dcedd0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:251
#30 0x00000000005229fa in ClassImport::importFiles (this=0x7fff59dcedd0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#31 0x0000000000529e69 in JavaImport::spawnImport (this=<value optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:126
#32 0x000000000052a610 in JavaImport::resolveClass (this=0x295f620, className=<value optimized out>) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:175
#33 0x000000000052da93 in JavaImport::parseStmt (this=0x295f620) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:564
#34 0x00000000005305b2 in NativeImportBase::parseFile (this=0x295f620, filename=<value optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#35 0x000000000052993f in JavaImport::parseFile (this=0x295f620, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:251
#36 0x00000000005229fa in ClassImport::importFiles (this=0x295f620, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#37 0x0000000000b8ca55 in UMLApp::importFiles (this=0x1b12a50, fileList=0x7fff59dcfeb0) at ../../../umbrello/umbrello/uml.cpp:2225
#38 0x0000000000b8cbb3 in UMLApp::slotImportProject (this=0x1b12a50) at ../../../umbrello/umbrello/uml.cpp:2274
#39 0x0000000000b9c912 in UMLApp::qt_metacall (this=0x1b12a50, _c=QMetaObject::InvokeMetaMethod, _id=39131392, _a=0x7fff59dd0030) at ./uml.moc:284
#40 0x00007f78f803be3f in QMetaObject::activate (sender=0x1b80470, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7d) at kernel/qobject.cpp:3293
#41 0x00007f78f84f6032 in QAction::triggered (this=0x2555aa0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#42 0x00007f78f84f80ab in QAction::activate (this=0x1b80470, event=<value optimized out>) at kernel/qaction.cpp:1255
#43 0x00007f78f893739d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x1b80470, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#44 0x00007f78f893cdda in QMenuPrivate::activateAction (this=0x1bf6450, action=0x1b80470, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#45 0x00007f78f99dfcee in KMenu::mouseReleaseEvent (this=0x1bf5590, e=0x7fff59dcaf20) at ../../kdeui/widgets/kmenu.cpp:471
#46 0x00007f78f8552582 in QWidget::event (this=0x1bf5590, event=0x7fff59dd0c80) at kernel/qwidget.cpp:7998
#47 0x00007f78f893ef9b in QMenu::event (this=0x1bf5590, e=0x7fff59dd0c80) at widgets/qmenu.cpp:2414
#48 0x00007f78f84fc22c in QApplicationPrivate::notify_helper (this=0x185e2c0, receiver=0x1bf5590, e=0x7fff59dd0c80) at kernel/qapplication.cpp:4300
#49 0x00007f78f8502ecb in QApplication::notify (this=0x7fff59dd1990, receiver=0x1bf5590, e=0x7fff59dd0c80) at kernel/qapplication.cpp:3865
#50 0x00007f78f9903526 in KApplication::notify (this=0x7fff59dd1990, receiver=0x1bf5590, event=0x7fff59dd0c80) at ../../kdeui/kernel/kapplication.cpp:302
#51 0x00007f78f802906c in QCoreApplication::notifyInternal (this=0x7fff59dd1990, receiver=0x1bf5590, event=0x7fff59dd0c80) at kernel/qcoreapplication.cpp:704
#52 0x00007f78f85020ae in QCoreApplication::sendEvent (receiver=0x1bf5590, event=0x7fff59dd0c80, alienWidget=0x0, nativeWidget=0x1bf5590, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QApplicationPrivate::sendMouseEvent (receiver=0x1bf5590, event=0x7fff59dd0c80, alienWidget=0x0, nativeWidget=0x1bf5590, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#54 0x00007f78f85823dd in QETWidget::translateMouseEvent (this=0x1bf5590, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#55 0x00007f78f85808ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff59dd15a0) at kernel/qapplication_x11.cpp:3501
#56 0x00007f78f85ac882 in x11EventSourceDispatch (s=0x1862010, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f78f38798c2 in g_main_dispatch (context=0x1860d20) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#58 IA__g_main_context_dispatch (context=0x1860d20) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#59 0x00007f78f387d748 in g_main_context_iterate (context=0x1860d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#60 0x00007f78f387d8fc in IA__g_main_context_iteration (context=0x1860d20, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#61 0x00007f78f8052513 in QEventDispatcherGlib::processEvents (this=0x1836b90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#62 0x00007f78f85ac46e in QGuiEventDispatcherGlib::processEvents (this=0x2555aa0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f78f8027992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#64 0x00007f78f8027d6c in QEventLoop::exec (this=0x7fff59dd18d0, flags=) at kernel/qeventloop.cpp:201
#65 0x00007f78f802baab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#66 0x0000000000b6c6c5 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 230770, bug 245933.

Possible duplicates by query: bug 245933, bug 237138, bug 230770, bug 223504, bug 223393.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-09-13 12:57:54 UTC

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