Bug 155206 - Deleting a class caused a crash
Summary: Deleting a class caused a crash
Status: RESOLVED DUPLICATE of bug 255815
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: 2008-01-06 23:43 UTC by mgolden
Modified: 2010-12-11 17:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mgolden 2008-01-06 23:43:27 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

I am trying to delete a class called "Permission" from a diagram and then from the model.  When I delete it from the model, I get a crash - here's the backtrace

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[...]
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1235278144 (LWP 5666)]
(no debugging symbols found)
[...]
(no debugging symbols found)
[KCrash handler]
#6  0xb799f8b4 in QCanvasRectangle::width () from /usr/lib/libqt-mt.so.3
#7  0x08174212 in AssociationWidget::calculateTextPosition ()
#8  0x08174ab1 in AssociationWidget::saveIdealTextPositions ()
#9  0x081ddc46 in UMLWidget::adjustAssocs ()
#10 0x081dde70 in ClassifierWidget::adjustAssocs ()
#11 0x0811ee19 in UMLWidget::updateComponentSize ()
#12 0x081d4722 in UMLWidget::updateWidget ()
#13 0x081363e7 in UMLWidget::qt_invoke ()
#14 0xb77709c0 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0xb7771338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x08120c6d in UMLObject::modified ()
#17 0x08194f28 in UMLCanvasObject::removeAssociationEnd ()
#18 0x0819505c in UMLCanvasObject::removeAllAssociationEnds ()
#19 0x081950f5 in UMLCanvasObject::removeAllChildObjects ()
#20 0x081ef37d in UMLListView::deleteItem ()
#21 0x081eff91 in UMLListView::popupMenuSel ()
#22 0x081f1095 in UMLListView::qt_invoke ()
#23 0xb7770893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb77711aa in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb7b17431 in QPopupMenu::activated () from /usr/lib/libqt-mt.so.3
#26 0xb7896968 in QPopupMenu::actSig () from /usr/lib/libqt-mt.so.3
#27 0xb7896f88 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#28 0xb67e7dce in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#29 0xb77a7681 in QWidget::event () from /usr/lib/libqt-mt.so.3
#30 0xb7707af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#31 0xb7709cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0xb7ecdca2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0xb769a27d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#34 0xb7698bbf in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#35 0xb7696fcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#36 0xb76ae1a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#37 0xb77221ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0xb7721fde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#39 0xb7709699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#40 0x081e2d27 in main ()

When I tried deleting an association that leads to this class, I get another crash:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[..]
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1235814720 (LWP 2141)]
(no debugging symbols found)
[...]
(no debugging symbols found)
[KCrash handler]
#6  0x081744d6 in AssociationWidget::calculateTextPosition ()
#7  0x08174ab1 in AssociationWidget::saveIdealTextPositions ()
#8  0x081ddc46 in UMLWidget::adjustAssocs ()
#9  0x081dde70 in ClassifierWidget::adjustAssocs ()
#10 0x0811ee19 in UMLWidget::updateComponentSize ()
#11 0x081d4722 in UMLWidget::updateWidget ()
#12 0x081363e7 in UMLWidget::qt_invoke ()
#13 0xb76ed9c0 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#14 0xb76ee338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0x08120c6d in UMLObject::modified ()
#16 0x08194f28 in UMLCanvasObject::removeAssociationEnd ()
#17 0x081951c7 in UMLPackage::removeAssocFromConcepts ()
#18 0x081952b1 in UMLPackage::removeObject ()
#19 0x081952f2 in UMLDoc::removeAssociation ()
#20 0x081d7d6a in UMLView::removeAssocInViewAndDoc ()
#21 0x081d86b5 in AssociationWidget::slotMenuSelection ()
#22 0x081d87ff in AssociationWidget::qt_invoke ()
#23 0xb76ed893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb76ee1aa in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb7a94431 in QPopupMenu::activated () from /usr/lib/libqt-mt.so.3
#26 0xb7813968 in QPopupMenu::actSig () from /usr/lib/libqt-mt.so.3
#27 0xb7813f88 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#28 0xb6764dce in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#29 0xb7724681 in QWidget::event () from /usr/lib/libqt-mt.so.3
#30 0xb7684af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#31 0xb7686cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0xb7e4aca2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0xb761727d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#34 0xb7615bbf in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#35 0xb7613fcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#36 0xb762b1a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#37 0xb769f1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0xb769efde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#39 0xb7686699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#40 0x081e2d27 in main ()
Comment 1 mgolden 2008-01-06 23:46:04 UTC
I saved the file that caused the crash.  It is completely reproducible.  I was able to ultimately able to delete the crash by deleting it frem the diagram and then deleting some of the associations that attach to it.
Comment 2 Dario Andres 2010-12-11 17:19:26 UTC
[Comment from a bug triager]
Merging with bug 255815 which has an updated KDE SC 4 backtrace. Thanks

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