Bug 74247 - Adding two operations with same name, but different parameters causes crash
Summary: Adding two operations with same name, but different parameters causes crash
Status: RESOLVED DUPLICATE of bug 73926
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 17:16 UTC by Thomas Fischer
Modified: 2004-02-05 17:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Fischer 2004-02-05 17:16:50 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
OS:          Linux

Umbrello crashes when an operation is added to a class that has already an operation with the same name, but different parameters.
How to reproduce: Create a new document. In "class diagram" add a new class, say "Test". Add a new operation named "op" and a parameter "int a". Add another operation named "op", too. Add to the new "op" the parameter "double b". Pressing OK (to add the new operation to the class) causes the crash.

KDE Crash Handler's output:
[New Thread 16384 (LWP 18078)]
0x41381a86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41381a86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x4089ba7a in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4138096c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x08100435 in UMLClassifier::checkOperationSignature(QString, QPtrList<UMLAttribute>*) ()
#5  0x0815e6d3 in UMLDoc::createOperation(UMLClassifier*, QString const&, QPtrList<UMLAttribute>*) ()
#6  0x0815d7f8 in UMLDoc::createChildObject(UMLObject*, Uml::UMLObject_Type) ()
#7  0x082100b8 in ClassifierListPage::slotNewListItem() ()
#8  0x08210407 in ClassifierListPage::qt_invoke(int, QUObject*) ()
#9  0x40cd38bb in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40cd3684 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x4101b4bc in QButton::clicked() () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40d64cae in QButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40d0ae36 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40c72776 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40c722d8 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x4081b464 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#17 0x40c022ad in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40c004d5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40c184dd in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40c851d0 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40c72a6f in QApplication::enter_loop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40e5ed35 in QDialog::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x081654d8 in UMLDoc::showProperties(UMLWidget*) ()
#24 0x0818659c in UMLWidget::slotMenuSelection(int) ()
#25 0x081867d7 in UMLWidget::mouseDoubleClickEvent(QMouseEvent*) ()
#26 0x0817e960 in UMLView::allocateMouseDoubleClickEvent(QMouseEvent*) ()
#27 0x08179e5d in UMLView::contentsMouseDoubleClickEvent(QMouseEvent*) ()
#28 0x40de9092 in QScrollView::viewportMouseDoubleClickEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40de8962 in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40cd103e in QObject::activate_filters(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40cd0f30 in QObject::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40d0a97f in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40c72776 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40c722d8 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x4081b464 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#36 0x40c022ad in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40c004d5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40c184dd in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x40c851d0 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x40c850c6 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x40c72a0f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x0813d21e in main ()
Comment 1 Jonathan Riddell 2004-02-05 17:55:56 UTC

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