Bug 152074 - Moved a class on a class diagram and got a crash
Summary: Moved a class on a class diagram and got a crash
Status: RESOLVED FIXED
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:
: 255815 259491 276251 289386 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-09 20:52 UTC by mgolden
Modified: 2013-11-12 21:22 UTC (History)
7 users (show)

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


Attachments
New crash information added by DrKonqi (8.13 KB, text/plain)
2011-12-20 04:00 UTC, mgolden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mgolden 2007-11-09 20:52:29 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

Opened an xmi file, The very first thing I did was move a class on the class diagram and got the crash below.

(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 -1235441984 (LWP 6001)]
(no debugging symbols found)
...
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb79778b4 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 0x081b95df in UMLWidgetController::mouseReleaseEvent ()
#12 0x081150d4 in ToolBarStateArrow::mouseReleaseWidget ()
#13 0x081285d4 in ToolBarState::mouseRelease ()
#14 0xb787dfcf in QScrollView::viewportMouseReleaseEvent ()
   from /usr/lib/libqt-mt.so.3
#15 0xb787f566 in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#16 0xb7747e40 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#17 0xb7747ebe in QObject::event () from /usr/lib/libqt-mt.so.3
#18 0xb777f5b3 in QWidget::event () from /usr/lib/libqt-mt.so.3
#19 0xb76dfaf0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#20 0xb76e1cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
#21 0xb7ea5ca2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#22 0xb767227d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#23 0xb7670ee2 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#24 0xb766efcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#25 0xb76861a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#26 0xb76fa1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#27 0xb76f9fde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#28 0xb76e1699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#29 0x081e2d27 in main ()
Comment 1 Christoph Feck 2011-12-20 02:58:32 UTC
This crash report is at least 4 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in KDE 4 or the backtrace is no longer applicable to KDE 4.

If the crash still happens with a recent KDE version (4.7.4 or 4.8), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or NEW)
Comment 2 mgolden 2011-12-20 04:00:15 UTC
Created attachment 66925 [details]
New crash information added by DrKonqi

umbrello (2.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

As it turns out, I still have the exact xmi file from 4 years ago that generated the crash.  I can still make it crash by going to one of the class diagrams and moving one of the classes so it touches another class.

I would attach the xmi file but given that it is work I did for a client I don't feel comfortable posting it here.  However, if a developer would like me to send it so the crash can be duplicated you can just e-mail me and I will pass it along.

-- Backtrace (Reduced):
#6  0x00007f9006629470 in Q3CanvasRectangle::width() const () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#7  0x0000000000654e2c in AssociationWidget::calculateTextPosition (this=0x2ce52f0, role=Uml::tr_Name) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:2056
#8  0x00000000006550fe in AssociationWidget::saveIdealTextPositions (this=0x2ce52f0) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1486
#9  0x0000000000692887 in UMLWidget::adjustAssocs (this=0x2c9e800, x=619, y=331) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:619
#10 0x0000000000661c09 in ClassifierWidget::adjustAssocs (this=0x2c9e800, x=<optimized out>, y=<optimized out>) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:790
Comment 3 Christoph Feck 2011-12-20 04:50:45 UTC
Thanks for the updated backtrace; reopening.
Comment 4 Jekyll Wu 2012-07-05 23:07:14 UTC
*** Bug 289386 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2012-07-05 23:07:33 UTC
*** Bug 255815 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2012-07-05 23:07:36 UTC
*** Bug 259491 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2012-07-06 03:25:04 UTC
*** Bug 276251 has been marked as a duplicate of this bug. ***
Comment 8 Ralf Habacker 2013-11-12 21:22:57 UTC
Qt3 related classes has been replaced by Qt4 related