Bug 245933 - crash while importing java class or project
Summary: crash while importing java class or project
Status: RESOLVED DUPLICATE of bug 230770
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-07-27 19:38 UTC by mgenhart
Modified: 2010-09-13 12:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Umbrello crashes every time when I try to import this class (4.13 KB, text/x-java)
2010-07-27 19:43 UTC, mgenhart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mgenhart 2010-07-27 19:38:48 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 i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I tried to import some java classes. While doing so umbrello crashes every time with specific web service classes.

The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#6  0x015074a9 in QString::operator== (this=0xac28ed0, other=...) at tools/qstring.cpp:2071
#7  0x0816b25e in qStringComparisonHelper (this=0xabc5130, typeName=...) at /usr/include/qt4/QtCore/qstring.h:908
#8  QString::operator== (this=0xabc5130, typeName=...) at /usr/include/qt4/QtCore/qstring.h:911
#9  JavaImport::joinTypename (this=0xabc5130, typeName=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:80
#10 0x0816d4df in JavaImport::parseStmt (this=0xabc5130) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:470
#11 0x0817066b in NativeImportBase::parseFile (this=0xabc5130, filename=...) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#12 0x081695b3 in JavaImport::parseFile (this=0xabc5130, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:251
#13 0x08162145 in ClassImport::importFiles (this=0xabc5130, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#14 0x086ccd7d in UMLApp::importFiles (this=0xa686468, fileList=0xbfb3133c) at ../../../umbrello/umbrello/uml.cpp:2225
#15 0x086cceac in UMLApp::slotImportProject (this=0xa686468) at ../../../umbrello/umbrello/uml.cpp:2274
#16 0x08705db5 in UMLListView::popupMenuSel (this=0xa8190c0, action=0xa852248) at ../../../umbrello/umbrello/umllistview.cpp:407
#17 0x087071ec in UMLListView::qt_metacall (this=0xa8190c0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfb31628) at ./umllistview.moc:111
#18 0x015c7c9a in QMetaObject::metacall (object=0xa8190c0, cl=QMetaObject::InvokeMetaMethod, idx=139, argv=0xbfb31628) at kernel/qmetaobject.cpp:237
#19 0x015d63d5 in QMetaObject::activate (sender=0xa917608, m=0x9bf2748, local_signal_index=2, argv=0xbfb31628) at kernel/qobject.cpp:3293
#20 0x09761073 in QMenu::triggered (this=0xa917608, _t1=0xa852248) at .moc/release-shared/moc_qmenu.cpp:164
#21 0x09763aca in QMenuPrivate::_q_actionTriggered (this=0xa8883a8) at widgets/qmenu.cpp:1129
#22 0x09768196 in QMenu::qt_metacall (this=0xa917608, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb31818) at .moc/release-shared/moc_qmenu.cpp:105
#23 0x00cb79aa in KMenu::qt_metacall (this=0xa917608, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfb31818) at ./kmenu.moc:76
#24 0x015c7c9a in QMetaObject::metacall (object=0xa917608, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbfb31818) at kernel/qmetaobject.cpp:237
#25 0x015d63d5 in QMetaObject::activate (sender=0xa852248, m=0x9bebd58, local_signal_index=1, argv=0xbfb31818) at kernel/qobject.cpp:3293
#26 0x092bcbd9 in QAction::triggered (this=0xa852248, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#27 0x092bedcc in QAction::activate (this=0xa852248, event=QAction::Trigger) at kernel/qaction.cpp:1255
#28 0x0976260c in QMenuPrivate::activateCausedStack (this=0xa8883a8, causedStack=..., action=0xa852248, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#29 0x09768abb in QMenuPrivate::activateAction (this=0xa8883a8, action=0xa852248, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#30 0x09769ac7 in QMenu::mouseReleaseEvent (this=0xa917608, e=0xbfb320b0) at widgets/qmenu.cpp:2312
#31 0x00cb5f65 in KMenu::mouseReleaseEvent (this=0xa917608, e=0xbfb320b0) at ../../kdeui/widgets/kmenu.cpp:471
#32 0x093217f8 in QWidget::event (this=0xa917608, event=0xbfb320b0) at kernel/qwidget.cpp:7998
#33 0x0976b0cc in QMenu::event (this=0xa917608, e=0xbfb320b0) at widgets/qmenu.cpp:2414
#34 0x092c34dc in QApplicationPrivate::notify_helper (this=0xa50a6a0, receiver=0xa917608, e=0xbfb320b0) at kernel/qapplication.cpp:4300
#35 0x092ca9f7 in QApplication::notify (this=0xbfb32960, receiver=0xa917608, e=0xbfb320b0) at kernel/qapplication.cpp:3865
#36 0x00bbff2a in KApplication::notify (this=0xbfb32960, receiver=0xa917608, event=0xbfb320b0) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x015c2a3b in QCoreApplication::notifyInternal (this=0xbfb32960, receiver=0xa917608, event=0xbfb320b0) at kernel/qcoreapplication.cpp:704
#38 0x092c9952 in QCoreApplication::sendEvent (receiver=0xa917608, event=0xbfb320b0, alienWidget=0x0, nativeWidget=0xa917608, buttonDown=0x9c07058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QApplicationPrivate::sendMouseEvent (receiver=0xa917608, event=0xbfb320b0, alienWidget=0x0, nativeWidget=0xa917608, buttonDown=0x9c07058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#40 0x093555cf in QETWidget::translateMouseEvent (this=0xa917608, event=0xbfb325cc) at kernel/qapplication_x11.cpp:4302
#41 0x09354511 in QApplication::x11ProcessEvent (this=0xbfb32960, event=0xbfb325cc) at kernel/qapplication_x11.cpp:3379
#42 0x0938360a in x11EventSourceDispatch (s=0xa50d8a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x03c2e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x03c322d8 in ?? () from /lib/libglib-2.0.so.0
#45 0x03c324b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x015ee5d5 in QEventDispatcherGlib::processEvents (this=0xa4ed150, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0x09383135 in QGuiEventDispatcherGlib::processEvents (this=0xa4ed150, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x015c1059 in QEventLoop::processEvents (this=0xbfb328c4, flags=) at kernel/qeventloop.cpp:149
#49 0x015c14aa in QEventLoop::exec (this=0xbfb328c4, flags=...) at kernel/qeventloop.cpp:201
#50 0x015c569f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x092c3577 in QApplication::exec () at kernel/qapplication.cpp:3579
#52 0x086ac645 in main (argc=3, argv=0xbfb32b14) at ../../../umbrello/umbrello/main.cpp:111

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

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

Reported using DrKonqi
Comment 1 mgenhart 2010-07-27 19:43:06 UTC
Created attachment 49545 [details]
Umbrello crashes every time when I try to import this class
Comment 2 mgenhart 2010-07-28 19:13:41 UTC
I did dome more investigation. Is seems that Umbrello crashes while importing Java classes which contain methods with variable-length parameter definitions, e.g.:

private static String formatMessage(long code, Object... args) {
   ...
}
Comment 3 Christoph Feck 2010-09-13 12:58:32 UTC

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