Bug 127057 - CRASH when copying and pasting class diagrams
Summary: CRASH when copying and pasting class diagrams
Status: RESOLVED DUPLICATE of bug 107358
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 04:25 UTC by Karl Pietrzak
Modified: 2006-05-11 07:44 UTC (History)
0 users

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


Attachments
XMI file to demonstrate the bug (233.05 KB, application/x-uml)
2006-05-10 04:26 UTC, Karl Pietrzak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Pietrzak 2006-05-10 04:25:50 UTC
Version:           1.5.3 (using KDE 3.4.2 Level "b" , SUSE 10.0)
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.13-15.8-default

Open the attached XMI file in Umbrello.

Change to the "Example of Targets and Builders" class diagram.

Select all the classes by making a big rectangle around:
- main.cpp
- C++ProgramBuilder
- main
- main.o

Go to Edit->Copy
Then Edit->Paste

CRASH!

Using host libthread_db library "/lib64/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912561297920 (LWP 25956)]
[KCrash handler]
#3  0x00002aaaae7194db in memcpy () from /lib64/tls/libc.so.6
#4  0x00002aaaaff23028 in ?? ()
#5  0x00007fffff8662c0 in ?? ()
#6  0x0000000001309d30 in ?? ()
#7  0x00002aaaaff23028 in ?? ()
#8  0x00002aaaae3e99b0 in std::string::_Rep::_M_clone ()
   from /usr/lib64/libstdc++.so.6
#9  0x00002aaaae3e9b1c in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib64/libstdc++.so.6
#10 0x00000000005c6101 in UMLWidget::getID ()
#11 0x00000000004e0c61 in AssociationWidget::getWidgetID ()
#12 0x00000000005b85f5 in UMLView::addAssociation ()
#13 0x000000000062a026 in UMLClipboard::pasteClip4 ()
#14 0x000000000062acca in UMLClipboard::paste ()
#15 0x000000000056fa21 in UMLApp::slotEditPaste ()
#16 0x000000000057346c in UMLApp::qt_invoke ()
#17 0x00002aaaac8a0638 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#18 0x00002aaaac8a0a5d in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#19 0x00002aaaab67514c in KAction::qt_invoke ()
   from /opt/kde3/lib64/libkdeui.so.4
#20 0x00002aaaac8a0638 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x00002aaaab663194 in KToolBarButton::buttonClicked ()
   from /opt/kde3/lib64/libkdeui.so.4
#22 0x00002aaaab663335 in KToolBarButton::mouseReleaseEvent ()
   from /opt/kde3/lib64/libkdeui.so.4
#23 0x00002aaaac8d3f97 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#24 0x00002aaaac84a603 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#25 0x00002aaaac84b274 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#26 0x00002aaaabcaf98f in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#27 0x00002aaaac7f057c in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x00002aaaac7ef428 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#29 0x00002aaaac801447 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#30 0x00002aaaac85f243 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#31 0x00002aaaac85f142 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#32 0x000000000053eb90 in main ()
Comment 1 Karl Pietrzak 2006-05-10 04:26:27 UTC
Created attachment 15999 [details]
XMI file to demonstrate the bug
Comment 2 Oliver Kellogg 2006-05-11 07:44:56 UTC
It doesn't crash on the current KDE SVN 3.5 branch -
but besides, copy/paste within a class diagram is not yet
supported (see the existing wish, #107358)

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