Bug 294728 - Deleting default attribute
Summary: Deleting default attribute
Status: RESOLVED UPSTREAM
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:
Depends on:
Blocks:
 
Reported: 2012-02-24 02:48 UTC by Tex Morgan
Modified: 2012-02-26 17:03 UTC (History)
1 user (show)

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 Tex Morgan 2012-02-24 02:48:48 UTC
Application: umbrello (2.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: I had added an attribute to a class but was having problems with my wireless keyboard so I tried deleting it manually using the mouse.  The item highlighted, then changed to wait for me to rename it, but I deleted it before I did.  Then the program crashed.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa4599ee780 (LWP 15506))]

Thread 2 (Thread 0x7fa444d09700 (LWP 15510)):
#0  0x00007fa45577d773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa451e9ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa451ea0792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa44cc93516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa451ec52b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa455492efc in start_thread (arg=0x7fa444d09700) at pthread_create.c:304
#6  0x00007fa45578989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa4599ee780 (LWP 15506)):
[KCrash Handler]
#6  0x0000000003801c20 in ?? ()
#7  0x00000000007362af in UMLListView::contentsMouseDoubleClickEvent (this=<optimized out>, me=<optimized out>) at ../../../umbrello/umbrello/umllistview.cpp:1330
#8  0x00007fa456362746 in Q3ScrollView::viewportMouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#9  0x00007fa456362f07 in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#10 0x00007fa45631576e in Q3ListView::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#11 0x00007fa456846c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x20fa230, event=0x7fffb2ed7fe0) at kernel/qcoreapplication.cpp:902
#12 0x00007fa456d7743f in notify_helper (e=0x7fffb2ed7fe0, receiver=0x20fa230, this=0x1c48700) at kernel/qapplication.cpp:4482
#13 QApplicationPrivate::notify_helper (this=0x1c48700, receiver=0x20fa230, e=0x7fffb2ed7fe0) at kernel/qapplication.cpp:4458
#14 0x00007fa456d7ccbb in QApplication::notify (this=<optimized out>, receiver=0x20fa230, e=0x7fffb2ed7fe0) at kernel/qapplication.cpp:4047
#15 0x00007fa4581b4466 in KApplication::notify (this=0x7fffb2ed8c60, receiver=0x20fa230, event=0x7fffb2ed7fe0) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007fa456846afc in QCoreApplication::notifyInternal (this=0x7fffb2ed8c60, receiver=0x20fa230, event=0x7fffb2ed7fe0) at kernel/qcoreapplication.cpp:787
#17 0x00007fa456d78442 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QApplicationPrivate::sendMouseEvent (receiver=0x20fa230, event=0x7fffb2ed7fe0, alienWidget=0x20fa230, nativeWidget=0x20f6b30, buttonDown=0x20fa230, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#19 0x00007fa456df79d5 in QETWidget::translateMouseEvent (this=0x20f6b30, event=<optimized out>) at kernel/qapplication_x11.cpp:4571
#20 0x00007fa456df694e in QApplication::x11ProcessEvent (this=0x7fffb2ed8c60, event=0x7fffb2ed8800) at kernel/qapplication_x11.cpp:3693
#21 0x00007fa456e1f4a2 in x11EventSourceDispatch (s=0x1c4c670, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#22 0x00007fa451e9fa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fa451ea0258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fa451ea0429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fa456871ed6 in QEventDispatcherGlib::processEvents (this=0x1c03f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007fa456e1f10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fa456845cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007fa456845ef7 in QEventLoop::exec (this=0x7fffb2ed8bd0, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007fa45684a789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#30 0x000000000043aba6 in main (argc=3, argv=0x7fffb2ed9068) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 272729.

Possible duplicates by query: bug 282492, bug 272729, bug 272693.

Reported using DrKonqi
Comment 1 Oliver Kellogg 2012-02-26 17:03:47 UTC
Cannot reproduce using current trunk.
Based on your backtrace, looking at
tags/KDE/4.7.4/kdesdk/umbrello/umbrello/umllistview.cpp, line 1330 is:

    item->cancelRename(0); //double click can cause it to go into rename mode.

In the current trunk, this call is not done at all.
In fact, looking at `svn log umllistview.cpp` I see that a lot has changed in this area; see commits 1268936, 1268941, 1270599, 1270635, 1270636.
Please retry with current trunk or with 2.8.1 (will be part of the upcoming KDE 4.8.1)