Bug 199191 - gwenview get SIGSEGV on a drag-and-drop of a picture and a click on "cancel"
Summary: gwenview get SIGSEGV on a drag-and-drop of a picture and a click on "cancel"
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 206542 209385 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-06 21:17 UTC by Jonathan Avraham
Modified: 2013-04-02 17:36 UTC (History)
5 users (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 Jonathan Avraham 2009-07-06 21:17:47 UTC
Version:           2.2.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

When dragging a picture or a group of picture with the left mouse button, dropping and clicking "cancel" on the resulting menu - gwenview crashes every time.

backtrace:
Application: Gwenview (gwenview), signal SIGSEGV
[Current thread is 0 (LWP 8415)]

Thread 3 (Thread 0xb3bb7b90 (LWP 8416)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb5e7e0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65422ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb79579b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7e3d66f in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0xb795696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5e7a4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb653349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb2e03b90 (LWP 8417)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb5e7e412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6542344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb795798c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb794ce76 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb795696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5e7a4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb653349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5a82700 (LWP 8415)):
[KCrash Handler]
#6  0xb7a48f89 in QEventLoop::exit () from /usr/lib/libQtCore.so.4
#7  0xb6b3c334 in QDragManager::eventFilter () from /usr/lib/libQtGui.so.4
#8  0xb7a49d1c in QCoreApplicationPrivate::sendThroughApplicationEventFilters () from /usr/lib/libQtCore.so.4
#9  0xb6ab1e13 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#10 0xb6abab11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#11 0xb757394d in KApplication::notify () from /usr/lib/libkdeui.so.5
#12 0xb7a4aa3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#13 0xb6ab9b7e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#14 0xb6b2997e in ?? () from /usr/lib/libQtGui.so.4
#15 0xb6b28ca7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#16 0xb6b53c6a in ?? () from /usr/lib/libQtGui.so.4
#17 0xb5ec6b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb5eca0eb in ?? () from /usr/lib/libglib-2.0.so.0
#19 0xb5eca268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb7a76438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#21 0xb6b53365 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb7a4906a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#23 0xb7a494aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#24 0xb6b3a310 in QDragManager::drag () from /usr/lib/libQtGui.so.4
#25 0xb6ac553a in QDrag::exec () from /usr/lib/libQtGui.so.4
#26 0xb70482ed in QListView::internalDrag () from /usr/lib/libQtGui.so.4
#27 0xb7048417 in QListView::startDrag () from /usr/lib/libQtGui.so.4
#28 0xb702fb5d in QAbstractItemView::mouseMoveEvent () from /usr/lib/libQtGui.so.4
#29 0xb7048592 in QListView::mouseMoveEvent () from /usr/lib/libQtGui.so.4
#30 0xb6b089ad in QWidget::event () from /usr/lib/libQtGui.so.4
#31 0xb6ee2993 in QFrame::event () from /usr/lib/libQtGui.so.4
#32 0xb6f8294f in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#33 0xb7034647 in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#34 0xb6f84f55 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb7a49c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#36 0xb6ab1e7a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#37 0xb6abab11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0xb757394d in KApplication::notify () from /usr/lib/libkdeui.so.5
#39 0xb7a4aa3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#40 0xb6ab9b7e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#41 0xb6b2997e in ?? () from /usr/lib/libQtGui.so.4
#42 0xb6b28ca7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#43 0xb6b53c6a in ?? () from /usr/lib/libQtGui.so.4
#44 0xb5ec6b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0xb5eca0eb in ?? () from /usr/lib/libglib-2.0.so.0
#46 0xb5eca268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0xb7a76438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb6b53365 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb7a4906a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#50 0xb7a494aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#51 0xb7a4b959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#52 0xb6ab1d17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#53 0x0807e75d in _start ()
Comment 1 Jonathan Avraham 2009-07-06 21:19:41 UTC
Forgot to mention - I'm using Ubuntu (gnome), not kubuntu.
Comment 2 Aurelien Gateau 2009-08-25 10:05:16 UTC
I can't reproduce it here with Gwenview 2.3. Can you try to upgrade?
Comment 3 Dario Andres 2009-09-06 23:33:44 UTC
*** Bug 206519 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-09-07 00:01:12 UTC
*** Bug 206542 has been marked as a duplicate of this bug. ***
Comment 5 Aurelien Gateau 2009-09-07 09:49:02 UTC
I need a bit more information to reproduce:
- What application is the origin of the drag?
- Does it crash with a specific number of images?
- Does it crash with any image?
- Are you dropping on the view background or on a folder in the view?
Comment 6 Jonathan Avraham 2009-09-07 21:00:40 UTC
(In reply to comment #5)
> I need a bit more information to reproduce:
> - What application is the origin of the drag?
I'm dragging within Gwenview's browse window.

> - Does it crash with a specific number of images?
No, it crashes with any number of images, including one.

> - Does it crash with any image?
Yes.

> - Are you dropping on the view background or on a folder in the view?
I'm dropping on the browse background.

I hope this infomation is helpful.
Comment 7 Aurelien Gateau 2009-09-08 09:17:14 UTC
So you are dragging an image from the browse window to the background of the browse window.

I can't reproduce this, neither with Gwenview and KDE trunk, nor with Gwenview 2.2.2, KDE 4.2.2.
Comment 8 Dario Andres 2009-10-10 18:01:30 UTC
Bug 209385 got this crash on 4.3 and provided a full backtrace.
Also note that the reporter is using Desktop Effects/Compositing, and this crash could be related to it (there are other qt-d&d crashes related to effects)
Thanks
Comment 9 Dario Andres 2009-10-10 18:01:40 UTC
*** Bug 209385 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2013-04-02 17:36:26 UTC
Closing based om comments #7. Please feel free to reopen this report if you can reproduce it with Gwenview 4.10 or later.