Bug 79188 - Umbrello segv on import classes
Summary: Umbrello segv on import classes
Status: CLOSED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-06 17:54 UTC by Robley Hall
Modified: 2004-05-27 23:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This file causes umbrello to crash.. (4.25 KB, text/plain)
2004-05-27 12:03 UTC, Michael Andreen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robley Hall 2004-04-06 17:54:46 UTC
Version:           kdesdk-3.2.1-0.fdr.0.1 (using KDE KDE 3.2.1)
Installed from:    Unspecified Linux
OS:          Linux

import c++ code crashes with signal 11 (SIGSEGV).

I'm running Fedora Core test1 with various updates on top. I installed the kde3.2.1 from rpms. 
Problem originally encountered using standalone umbrello 1.2.1. I uninstalled this and installed kdesdk 3.2.1 but same problem.

backtrace follows: 
(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread -1085372640 (LWP 20580)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x00837c32 in _dl_sysinfo_int80 ()
   from /lib/ld-linux.so.2
#0  0x00837c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00ae3b03 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#2  0x045bcba4 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#3  <signal handler called>
#4  0x04309c31 in QGList::append(void*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5  0x080ece50 in UMLClass::addAttribute(QString, int) ()
#6  0x080f24f3 in ClassImport::insertAttribute(CClassStore&, UMLObject*, Uml::Scope, QString, QString, QString, bool) ()
#7  0x080f2e45 in ClassImport::importCPP(QStringList) ()
#8  0x08130676 in UMLApp::slotImportClasses() ()
#9  0x081312a4 in UMLApp::qt_invoke(int, QUObject*) ()
#10 0x0405db9c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#11 0x0405d9d4 in QObject::activate_signal(int) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x0478f825 in KAction::activated() () from /usr/lib/libkdeui.so.4
#13 0x0478f3bd in KAction::slotActivated() () from /usr/lib/libkdeui.so.4
#14 0x0478f944 in KAction::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkdeui.so.4
#15 0x0405db9c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x0438eb0a in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x040778fd in QSignal::activate() () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x041608c5 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x040933b7 in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x0400260f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x04001d11 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x0455b33e in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#23 0x03f97bd1 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x03f95bd9 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x03facc81 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x04014708 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x040145b8 in QEventLoop::exec() () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x04002861 in QApplication::exec() ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x0811c01a in main ()
Comment 1 Oliver Kellogg 2004-04-09 21:40:34 UTC
Could you attach the source code that prompts the crash?
Thanks.
Comment 2 Jonathan Riddell 2004-04-14 15:19:05 UTC
Importing works for me, closing this entry until a specific problem file is attached.

Thanks
Comment 3 Michael Andreen 2004-05-27 12:03:11 UTC
Created attachment 6143 [details]
This file causes umbrello to crash..

I'm getting this backtrace:

(no debugging symbols found)...Using host libthread_db library
"/lib/libthread_db.so.1".
0x411689a8 in waitpid ()
   from /lib/libpthread.so.0
#0  0x411689a8 in waitpid () from /lib/libpthread.so.0
#1  0x4077bd14 in ?? () from /usr/kde/3.2/lib/libkdecore.so.4
#2  0x406e3b1c in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#3  0x41167693 in __pthread_clock_settime () from /lib/libpthread.so.0
#4  <signal handler called>
#5  0x4126197b in __dynamic_cast ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
#6  0x08121b83 in OwnedCodeBlock::setAttributesOnNode(QDomDocument&,
QDomElement&) ()
#7  0x080ffc48 in CodeMethodBlock::setAttributesOnNode(QDomDocument&,
QDomElement&) ()
#8  0x08100905 in CodeOperation::saveToXMI(QDomDocument&, QDomElement&) ()
#9  0x080fe954 in
CodeGenObjectWithTextBlocks::setAttributesOnNode(QDomDocument&, QDomElement&)
()
#10 0x0810ab70 in HierarchicalCodeBlock::setAttributesOnNode(QDomDocument&,
QDomElement&) ()
#11 0x0810ab1f in HierarchicalCodeBlock::saveToXMI(QDomDocument&, QDomElement&)

    ()
#12 0x080fe954 in
CodeGenObjectWithTextBlocks::setAttributesOnNode(QDomDocument&, QDomElement&)
()
#13 0x080f830a in CodeDocument::setAttributesOnNode(QDomDocument&,
QDomElement&) ()
#14 0x080ee2ee in ClassifierCodeDocument::setAttributesOnNode(QDomDocument&,
QDomElement&) ()
#15 0x080ee292 in ClassifierCodeDocument::saveToXMI(QDomDocument&,
QDomElement&) ()
#16 0x081e6e09 in CPPCodeGenerator::saveToXMI(QDomDocument&, QDomElement&) ()
#17 0x08138937 in UMLDoc::saveToXMI(QIODevice&) ()
#18 0x0813c299 in UMLDoc::addToUndoStack() ()
#19 0x0813b57f in UMLDoc::setModified(bool, bool) ()
#20 0x08135360 in UMLDoc::createUMLObject(Uml::UMLObject_Type, QString const&,
UMLPackage*) ()
#21 0x080ef1be in ClassImport::createUMLObject(Uml::UMLObject_Type, QString,
QString, UMLPackage*) ()
#22 0x080efd37 in ClassImport::importCPP(QStringList) ()
#23 0x08130f54 in UMLApp::slotImportClasses() ()
#24 0x08131b98 in UMLApp::qt_invoke(int, QUObject*) ()
#25 0x40a89bdc in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#26 0x40a89a14 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#27 0x4049f457 in KAction::activated() () from /usr/kde/3.2/lib/libkdeui.so.4
#28 0x4049efef in KAction::slotActivated() ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#29 0x4049f576 in KAction::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#30 0x40a89bdc in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#31 0x40db9aaa in QSignal::signal(QVariant const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#32 0x40aa393d in QSignal::activate() () from /usr/qt/3/lib/libqt-mt.so.3
#33 0x40b8c985 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#34 0x40abf3f7 in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#35 0x40a2e6cf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0x40a2db90 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#37 0x40675e95 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#38 0x409c542b in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#39 0x409c34a0 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#40 0x409da2e1 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#41 0x40a406e8 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#42 0x40a40598 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#43 0x40a2e921 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#44 0x0811b26c in main ()
Comment 4 Oliver Kellogg 2004-05-27 23:46:12 UTC
Fixed in cvs.