<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>245207</bug_id>
          
          <creation_ts>2010-07-20 09:10:44 +0000</creation_ts>
          <short_desc>Umbrello crashes on class diagram copy paste</short_desc>
          <delta_ts>2010-07-20 14:46:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>umbrello</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>241915</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Durai">b.durai</reporter>
          <assigned_to name="Umbrello Development Group">umbrello-devel</assigned_to>
          <cc>kde</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>991716</commentid>
    <comment_count>0</comment_count>
    <who name="Durai">b.durai</who>
    <bug_when>2010-07-20 09:10:44 +0000</bug_when>
    <thetext>Application: umbrello (2.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.33.6-147.fc13.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Did copy paste of a class in classDiagram tree view. When it asked for a className mistakenly typed as &quot;1&quot;. Then it crashed.

The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#6  0x009e68e6 in std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;::basic_string(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;) ()
   from /usr/lib/libstdc++.so.6
#7  0x080e9fb4 in y (this=0xaabd2f8, OldID=&quot;sepSNKDHupH6&quot;, NewID=&quot;YaN3kXMjkk5k&quot;, pos=@0xbfc92fa8) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/clipboard/idchangelog.h:69
#8  IDChangeLog::findIDChange (this=0xaabd2f8, OldID=&quot;sepSNKDHupH6&quot;, NewID=&quot;YaN3kXMjkk5k&quot;, pos=@0xbfc92fa8) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/clipboard/idchangelog.cpp:118
#9  0x080ea2ef in IDChangeLog::addIDChange (this=0xaabd2f8, OldID=&quot;sepSNKDHupH6&quot;, NewID=&quot;YaN3kXMjkk5k&quot;) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/clipboard/idchangelog.cpp:93
#10 0x087a035f in UMLDoc::assignNewID (this=0xa5fb3e8, oldID=&quot;sepSNKDHupH6&quot;) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/umldoc.cpp:2563
#11 0x087a318a in UMLDoc::assignNewIDs (this=0xa5fb3e8, obj=0xa9cbfd8) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/umldoc.cpp:2465
#12 0x080e399f in UMLDragData::decodeClip1 (mimeData=0xa5fd8c8, objects=...) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/clipboard/umldragdata.cpp:336
#13 0x080e596a in UMLClipboard::pasteClip1 (this=0xbfc93288, data=0xa5fd8c8) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/clipboard/umlclipboard.cpp:404
#14 0x080e97fc in UMLClipboard::paste (this=0xbfc93288, data=0xa5fd8c8) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/clipboard/umlclipboard.cpp:169
#15 0x08797d6c in UMLApp::slotEditPaste (this=0xa5f8ac8) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/uml.cpp:1287
#16 0x087c2b55 in UMLListView::popupMenuSel (this=0xa775b70, action=0xaa9d5e0) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/umllistview.cpp:626
#17 0x087c3f3c in UMLListView::qt_metacall (this=0xa775b70, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc935b8)
    at /usr/src/debug/kdesdk-4.4.5/i686-redhat-linux-gnu/umbrello/umbrello/umllistview.moc:111
#18 0x055a7bcb in QMetaObject::metacall (object=0xa775b70, cl=QMetaObject::InvokeMetaMethod, idx=139, argv=0xbfc935b8) at kernel/qmetaobject.cpp:237
#19 0x055b6a75 in QMetaObject::activate (sender=0xaa4ba98, m=0x64119e8, local_signal_index=2, argv=0xbfc935b8) at kernel/qobject.cpp:3295
#20 0x05f801d4 in QMenu::triggered (this=0xaa4ba98, _t1=0xaa9d5e0) at .moc/release-shared/moc_qmenu.cpp:164
#21 0x05f8261b in QMenuPrivate::_q_actionTriggered (this=0xa9d35c0) at widgets/qmenu.cpp:1120
#22 0x05f86bfe in QMenu::qt_metacall (this=0xaa4ba98, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc937a8) at .moc/release-shared/moc_qmenu.cpp:105
#23 0x069e0e8b in KMenu::qt_metacall (this=0xaa4ba98, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfc937a8) at /usr/src/debug/kdelibs-4.4.5/i686-redhat-linux-gnu/kdeui/kmenu.moc:76
#24 0x055a7bcb in QMetaObject::metacall (object=0xaa4ba98, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbfc937a8) at kernel/qmetaobject.cpp:237
#25 0x055b6a75 in QMetaObject::activate (sender=0xaa9d5e0, m=0x640b038, local_signal_index=1, argv=0xbfc937a8) at kernel/qobject.cpp:3295
#26 0x05b17e6a in QAction::triggered (this=0xaa9d5e0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#27 0x05b197fc in QAction::activate (this=0xaa9d5e0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#28 0x05f817e0 in QMenuPrivate::activateCausedStack (this=0xa9d35c0, causedStack=..., action=0xaa9d5e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#29 0x05f8752b in QMenuPrivate::activateAction (this=0xa9d35c0, action=0xaa9d5e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094
#30 0x05f8836f in QMenu::mouseReleaseEvent (this=0xaa4ba98, e=0xbfc94050) at widgets/qmenu.cpp:2312
#31 0x069df796 in KMenu::mouseReleaseEvent (this=0xaa4ba98, e=0xbfc94050) at /usr/src/debug/kdelibs-4.4.5/kdeui/widgets/kmenu.cpp:471
#32 0x05b7061d in QWidget::event (this=0xaa4ba98, event=0xbfc94050) at kernel/qwidget.cpp:8044
#33 0x05f8996c in QMenu::event (this=0xaa4ba98, e=0xbfc94050) at widgets/qmenu.cpp:2421
#34 0x05b1d77c in QApplicationPrivate::notify_helper (this=0xa571b10, receiver=0xaa4ba98, e=0xbfc94050) at kernel/qapplication.cpp:4306
#35 0x05b24d7e in QApplication::notify (this=0xbfc94900, receiver=0xaa4ba98, e=0xbfc94050) at kernel/qapplication.cpp:3871
#36 0x068fc00b in KApplication::notify (this=0xbfc94900, receiver=0xaa4ba98, event=0xbfc94050) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#37 0x055a3133 in QCoreApplication::notifyInternal (this=0xbfc94900, receiver=0xaa4ba98, event=0xbfc94050) at kernel/qcoreapplication.cpp:726
#38 0x05b23ae8 in sendEvent (receiver=0xaa4ba98, event=0xbfc94050, alienWidget=0x0, nativeWidget=0xaa4ba98, buttonDown=0x6426318, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#39 QApplicationPrivate::sendMouseEvent (receiver=0xaa4ba98, event=0xbfc94050, alienWidget=0x0, nativeWidget=0xaa4ba98, buttonDown=0x6426318, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2971
#40 0x05ba183a in QETWidget::translateMouseEvent (this=0xaa4ba98, event=0xbfc9456c) at kernel/qapplication_x11.cpp:4314
#41 0x05ba0743 in QApplication::x11ProcessEvent (this=0xbfc94900, event=0xbfc9456c) at kernel/qapplication_x11.cpp:3391
#42 0x05bcc74a in x11EventSourceDispatch (s=0xa574ce8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00e37525 in g_main_dispatch (context=0xa573e90) at gmain.c:1960
#44 IA__g_main_context_dispatch (context=0xa573e90) at gmain.c:2513
#45 0x00e3b268 in g_main_context_iterate (context=0x449490, block=1, dispatch=1, self=0xa571d58) at gmain.c:2591
#46 0x00e3b449 in IA__g_main_context_iteration (context=0xa573e90, may_block=1) at gmain.c:2654
#47 0x055cb446 in QEventDispatcherGlib::processEvents (this=0xa554418, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#48 0x05bcc336 in QGuiEventDispatcherGlib::processEvents (this=0xa554418, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x055a180a in QEventLoop::processEvents (this=0xbfc94864, flags=...) at kernel/qeventloop.cpp:149
#50 0x055a1b4a in QEventLoop::exec (this=0xbfc94864, flags=...) at kernel/qeventloop.cpp:201
#51 0x055a5807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#52 0x05b1d828 in QApplication::exec () at kernel/qapplication.cpp:3585
#53 0x0876ae1d in main (argc=177795408, argv=0xa750068) at /usr/src/debug/kdesdk-4.4.5/umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 241915.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>991830</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas L.">kde</who>
    <bug_when>2010-07-20 14:46:40 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 241915 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>