Bug 110379 - crash while dragging text in FloatingText::mouseMoveEvent (floatingtext.cpp:307)
Summary: crash while dragging text in FloatingText::mouseMoveEvent (floatingtext.cpp:307)
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-08 08:51 UTC by Alan Ezust
Modified: 2005-08-08 17:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
try dragging on the "unpublished classes" floating text. (169.66 KB, text/plain)
2005-08-08 08:57 UTC, Alan Ezust
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Ezust 2005-08-08 08:51:00 UTC
Version:           1.48 (using KDE KDE 3.4.1)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc version 3.3.6 (Debian 1:3.3.6-7) 
OS:                Linux

How to reproduce:

Drag around some imported C++ classes with associations to each other.
Then as soon as I click on one of the Text objects, about to drag it,
I get a crash report. It's happened to me 5 times tonight.


Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1231142784 (LWP 9148)]
[KCrash handler]
#3  0x0814db37 in FloatingText::mouseMoveEvent (this=0x8860d40, me=0x0)
    at floatingtext.cpp:307
#4  0x081866bf in ToolBarState::mouseMove (this=0x884d4e0, ome=0xbfffd250)
    at toolbarstate.cpp:139
#5  0x08186f81 in ToolBarStateArrow::mouseMove (this=0x884d4e0, ome=0x88)
    at toolbarstatearrow.cpp:105
#6  0x081d1bd4 in UMLView::contentsMouseMoveEvent (this=0x0, ome=0x88)
    at umlview.cpp:771
#7  0xb72229e2 in QScrollView::viewportMouseMoveEvent ()
   from /usr/lib/libqt-mt.so.3
#8  0xb722211b in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#9  0xb710a04e in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#10 0xb7109f7c in QObject::event () from /usr/lib/libqt-mt.so.3
#11 0xb7142aaf in QWidget::event () from /usr/lib/libqt-mt.so.3
#12 0xb70afe1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#13 0xb70af514 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#14 0xb76ffac5 in KApplication::notify () from /usr/lib/libkdecore.so.4
#15 0xb70445b0 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#16 0xb704223e in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#17 0xb7059254 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#18 0xb70c21d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#19 0xb70c2088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#20 0xb70b0071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#21 0x08166064 in main (argc=136, argv=0x88) at main.cpp:113
Comment 1 Alan Ezust 2005-08-08 08:57:50 UTC
Created attachment 12143 [details]
try dragging on the "unpublished classes" floating text.

I was compulsively saving and re-saving as I made each change. Now I have a
reproducible test case. All I have to do is click and try to drag on this
"unpublished classes" FloatingText and it causes Umbrello to crash the same way
every time.
Comment 2 Oliver Kellogg 2005-08-08 12:56:10 UTC
SVN commit by okellogg:

mouseMoveEvent(): Check m_pLink for NULL before dereferencing.
Gee, I wish all things were as simple as this. 110216 is making me cry...
Comment 3 Alan Ezust 2005-08-08 17:48:18 UTC
i'm sorry! I didn't want to make you cry! I'm trying to help!

:-)


On 8 Aug 2005 10:56:10 -0000, Oliver Kellogg <okellogg@users.sourceforge.net> 
wrote:
[bugs.kde.org quoted mail]
i'm sorry! I didn't want to make you cry! I'm trying to help!<br>
<br>
:-)<br>
<br><br><div><span class="gmail_quote">On 8 Aug 2005 10:56:10 -0000, <b class="gmail_sendername">Oliver Kellogg</b> &lt;<a href="mailto:okellogg@users.sourceforge.net">okellogg@users.sourceforge.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">------- You are receiving this mail because: -------<br>You are the assignee for the bug, or are watching the assignee.
<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=110379">http://bugs.kde.org/show_bug.cgi?id=110379</a><br>okellogg users sourceforge net changed:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
What&nbsp;&nbsp;&nbsp;&nbsp;|Removed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|Added<br>----------------------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Status|UNCONFIRMED&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|RESOLVED<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Resolution|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|FIXED<br><br><br><br>------- Additional Comments From okellogg users sourceforge net&nbsp;&nbsp;2005-08-08 12:56 -------<br>SVN commit by okellogg:<br><br>mouseMoveEvent(): Check m_pLink for NULL before dereferencing.
<br>Gee, I wish all things were as simple as this. 110216 is making me cry...<br><br><br>-------------------------------------------------------<br>SF.Net email is Sponsored by the Better Software Conference &amp; EXPO<br>
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices<br>Agile &amp; Plan-Driven Development * Managing Projects &amp; Teams * Testing &amp; QA<br>Security * Process Improvement &amp; Measurement * <a href="http://www.sqe.com/bsce5sf">
http://www.sqe.com/bsce5sf</a><br>_______________________________________________<br>Uml-devel mailing list<br><a href="mailto:Uml-devel@lists.sourceforge.net">Uml-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/uml-devel">
https://lists.sourceforge.net/lists/listinfo/uml-devel</a><br></blockquote></div><br>