[Uml-devel] [Bug 230770] Segfault importing Java code (project and single class) into Umbrello [QString::operator==, JavaImport::joinTypename, JavaImport::parseStmt]

geroxp at web.de geroxp at web.de
Tue Apr 20 10:44:00 UTC 2010


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


geroxp at web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geroxp at web.de




--- Comment #2 from  <geroxp web de>  2010-04-20 12:43:56 ---
I can confirm this behaviour with the following backtrace:

Application: Umbrello UML-Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#6  0xb5eba8e9 in QString::operator==(QLatin1String const&) const () from
/usr/lib/libQtCore.so.4
#7  0x0810024a in qStringComparisonHelper (s1=..., s2=0x8764fd0 ";") at
/usr/include/qt4/QtCore/qstring.h:908
#8  0x0816b8f7 in QString::operator!= (this=0xbfaf6460) at
/usr/include/qt4/QtCore/qstring.h:913
#9  JavaImport::parseStmt (this=0xbfaf6460) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:584
#10 0x0816e5eb in NativeImportBase::parseFile (this=0xbfaf6460, filename=...)
at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#11 0x081676d3 in JavaImport::parseFile (this=0xbfaf6460, filename=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:251
#12 0x08160075 in ClassImport::importFiles (this=0xbfaf6460, fileList=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/classimport.cpp:45
#13 0x08167c0a in JavaImport::spawnImport (this=0xbfaf6a70, file=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:126
#14 0x0816897f in JavaImport::resolveClass (this=0xbfaf6a70, className=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:209
#15 0x0816b74a in JavaImport::parseStmt (this=0xbfaf6a70) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:564
#16 0x0816e5eb in NativeImportBase::parseFile (this=0xbfaf6a70, filename=...)
at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#17 0x081676d3 in JavaImport::parseFile (this=0xbfaf6a70, filename=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:251
#18 0x08160075 in ClassImport::importFiles (this=0xbfaf6a70, fileList=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/classimport.cpp:45
#19 0x08167c0a in JavaImport::spawnImport (this=0xbfaf7080, file=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:126
#20 0x0816897f in JavaImport::resolveClass (this=0xbfaf7080, className=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:209
#21 0x0816bbdd in JavaImport::parseStmt (this=0xbfaf7080) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:514
#22 0x0816e5eb in NativeImportBase::parseFile (this=0xbfaf7080, filename=...)
at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#23 0x081676d3 in JavaImport::parseFile (this=0xbfaf7080, filename=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:251
#24 0x08160075 in ClassImport::importFiles (this=0xbfaf7080, fileList=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/classimport.cpp:45
#25 0x08167c0a in JavaImport::spawnImport (this=0xbfaf7690, file=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:126
#26 0x0816897f in JavaImport::resolveClass (this=0xbfaf7690, className=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:209
#27 0x0816a890 in JavaImport::parseStmt (this=0xbfaf7690) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:352
#28 0x0816e5eb in NativeImportBase::parseFile (this=0xbfaf7690, filename=...)
at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#29 0x081676d3 in JavaImport::parseFile (this=0xbfaf7690, filename=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:251
#30 0x08160075 in ClassImport::importFiles (this=0xbfaf7690, fileList=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/classimport.cpp:45
#31 0x08167c0a in JavaImport::spawnImport (this=0x9509078, file=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:126
#32 0x0816897f in JavaImport::resolveClass (this=0x9509078, className=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:209
#33 0x0816b74a in JavaImport::parseStmt (this=0x9509078) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:564
#34 0x0816e5eb in NativeImportBase::parseFile (this=0x9509078, filename=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#35 0x081676d3 in JavaImport::parseFile (this=0x9509078, filename=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/javaimport.cpp:251
#36 0x08160075 in ClassImport::importFiles (this=0x9509078, fileList=...) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/codeimport/classimport.cpp:45
#37 0x086c923d in UMLApp::importFiles (this=0x90b0550, fileList=0xbfaf7cf8) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/uml.cpp:2213
#38 0x086d7480 in UMLApp::slotImportClasses (this=0x90b0550) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/uml.cpp:2250
#39 0x086d9400 in UMLApp::qt_metacall (this=0x90b0550,
_c=QMetaObject::InvokeMetaMethod, _id=162054500, _a=0xbfaf7e68) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/uml.moc:282
#40 0xb5f7ae5a in QMetaObject::metacall(QObject*, QMetaObject::Call, int,
void**) () from /usr/lib/libQtCore.so.4
#41 0xb5f895f5 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) () from /usr/lib/libQtCore.so.4
#42 0xb61bab89 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#43 0xb61bcd9c in QAction::activate(QAction::ActionEvent) () from
/usr/lib/libQtGui.so.4
#44 0xb665fbfc in ?? () from /usr/lib/libQtGui.so.4
#45 0xb66660ab in ?? () from /usr/lib/libQtGui.so.4
#46 0xb66670b7 in QMenu::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/libQtGui.so.4
#47 0xb710eea5 in KMenu::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/libkdeui.so.5
#48 0xb621f718 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#49 0xb66686ac in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#50 0xb61c13cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#51 0xb61c89b7 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#52 0xb70185ba in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#53 0xb5f75beb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/libQtCore.so.4
#54 0xb61c790f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*,
QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib/libQtGui.so.4
#55 0xb62531a7 in ?? () from /usr/lib/libQtGui.so.4
#56 0xb62521a1 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#57 0xb628100a in ?? () from /usr/lib/libQtGui.so.4
#58 0xb54abe88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#59 0xb54af730 in ?? () from /lib/libglib-2.0.so.0
#60 0xb54af863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#61 0xb5fa1805 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#62 0xb6280b35 in ?? () from /usr/lib/libQtGui.so.4
#63 0xb5f74209 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#64 0xb5f7465a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#65 0xb5f7884f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#66 0xb61c1467 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#67 0x086a9635 in main (argc=1, argv=0xbfaf9164) at
./devel/umbrello/kdesdk-4.3.2/umbrello/umbrello/main.cpp:111

-- 
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