Bug 88943 - Crash when editing an attribute of a class
Summary: Crash when editing an attribute of a class
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 16:07 UTC by Maciek Borowka
Modified: 2004-10-12 22:53 UTC (History)
0 users

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


Attachments
messagesdesign.xmi (27.89 KB, application/octet-stream)
2004-09-10 13:21 UTC, Maciek Borowka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciek Borowka 2004-09-06 16:07:49 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3 
OS:                Linux

Seems like a null pointer problem.
Here is the backtrace:

#5  0x4102e669 in QString::QString(QString const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#6  0x0818c7ae in UMLObject::getDoc() const (this=0x0) at umlobject.cpp:217
#7  0x0822ade4 in ClassifierListPage::slotClicked(QListBoxItem*) (
    this=0x84ed820, item=0x0) at classifierlistpage.cpp:180
#8  0x0822c851 in ClassifierListPage::qt_invoke(int, QUObject*) (
    this=0x84ed820, _id=139062840, _o=0x82cd750) at classifierlistpage.moc:139
#9  0x40d5fd6c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#10 0x410aab4d in QListBox::clicked(QListBoxItem*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#11 0x40e31356 in QListBox::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#12 0x40d95ce7 in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#13 0x40d03dcf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#14 0x40d03283 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#15 0x4088344c in KApplication::notify(QObject*, QEvent*) (this=0xbffff3c0, 
    receiver=0x84eed20, event=0xbfffe220) at kapplication.cpp:497
#16 0x40c99d5c in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0x40c97983 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0x40caecf4 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#19 0x40d15f48 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x40d04081 in QApplication::enter_loop() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#21 0x40ee86b0 in QDialog::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#22 0x0817eb0b in UMLDoc::showProperties(UMLWidget*) (this=0x841f010, 
    o=0x84f22a8) at umldoc.cpp:2462
#23 0x0819de05 in UMLWidget::slotMenuSelection(int) (this=0x84f22a8, 
    sel=139120832) at umlwidget.cpp:483
#24 0x0819e2ea in UMLWidget::mouseDoubleClickEvent(QMouseEvent*) (
    this=0x84f22a8, me=0x30) at umlwidget.cpp:621
#25 0x0816694c in ToolBarState::mouseDoubleClick(QMouseEvent*) (
    this=0x84f22a8, ome=0xbfffdc50) at toolbarstate.cpp:110
#26 0x08191e74 in UMLView::contentsMouseDoubleClickEvent(QMouseEvent*) (
    this=0xbfffdc50, ome=0x30) at umlview.cpp:811
#27 0x40e74b32 in QScrollView::viewportMouseDoubleClickEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0x40e74328 in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0x40d5d69e in QObject::activate_filters(QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#30 0x40d5d5cc in QObject::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#31 0x40d95c5f in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#32 0x40d03dcf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#33 0x40d03283 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#34 0x4088344c in KApplication::notify(QObject*, QEvent*) (this=0xbffff3c0, 
    receiver=0x84ad7c8, event=0xbfffee30) at kapplication.cpp:497
#35 0x40c99d5c in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0x40c97983 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#37 0x40caecf4 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#38 0x40d15f48 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#39 0x40d15df8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#40 0x40d04021 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#41 0x081533a4 in main (argc=48, argv=0x30) at main.cpp:86
Comment 1 Oliver Kellogg 2004-09-06 17:53:47 UTC
Which version? Please give the exact steps to get the crash.
Comment 2 Maciek Borowka 2004-09-06 18:59:50 UTC
I cannot reproduce this :+(
I have a file and when I tried to delete an attribute from the list of attributes (with the Class View active) it crashed giving the stacktrace. I looked at it and because it was a null pointer, I decided to post this bug report.
Comment 3 Jonathan Riddell 2004-09-08 20:50:51 UTC
Please attach or give us the URL for your diagram.
Comment 4 Maciek Borowka 2004-09-10 13:21:18 UTC
I cannot make it public (it's a part of a project for a client), sorry.

This diagram makes umbrello crash quite often, but more or less always with the same scenario : delete two or more connections in the sequence diagram,
edit attributes in the class diagram (by double clicking on the class on the diagram).

As I said, I can not reproduce it in the stable way - sometimes it happens, sometime not.

Hope that helps. For now, I have absolutely no time to track down what's happening on my own.
./Maciek


-----Original Message-----
From: Jonathan Riddell <jr@jriddell.org>
To: macberry@mail.ru
Date: 8 Sep 2004 18:50:52 -0000
Subject: [Bug 88943] Crash when editing an attribute of a class  

> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>         
> http://bugs.kde.org/show_bug.cgi?id=88943        
> 
> 
> 
> 
> ------- Additional Comments From jr jriddell org  2004-09-08 20:50 -------
> Please attach or give us the URL for your diagram.
> 


Created an attachment (id=7481)
messagesdesign.xmi
Comment 5 Maciek Borowka 2004-09-10 13:24:46 UTC
oh dammit! I responded to the email hoping you would get it privately, but i didn't check and it sent it to the bugzilla. Now, our email adresses are exposed on the site and the .xmi file (that I wanted to not to make public) is here too...
Any way to edit my message in bugzilla?
Comment 6 Jonathan Riddell 2004-09-20 18:00:26 UTC
Don't think there is any way of deleting a comment from here.

Currently I can't get past deleting a sequence diagram message, that crashes the program every time.
Comment 7 Oliver Kellogg 2004-09-27 19:29:41 UTC
Jonathan Riddell wrote:
>
> Currently I can't get past deleting a sequence diagram message,
> that crashes the program every time. 

Now that the sequence problem is fixed, can we close this too?
Comment 8 Jonathan Riddell 2004-10-12 22:53:50 UTC
I can not reproduce this problem with current CVS, closing.