Summary: | double click to enter/leave fullscreen sometimes crashes gwenview | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Franz Trischberger <franz.trischberger> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | VERIFIED UPSTREAM | ||
Severity: | crash | CC: | fabian, gisk+kdebugs, jirislaby, mcmarius, phd, vivo75+kde |
Priority: | NOR | Keywords: | drkonqi |
Version: | 19.04.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Franz Trischberger
2019-01-25 10:03:42 UTC
Created attachment 117991 [details]
New crash information added by DrKonqi
gwenview (18.12.1) using Qt 5.12.0
- What I was doing when the application crashed:
Due to an earlier crash I opened an image and began double clicking to make fullscreen and back, after a few attempts the application crashed.
While inconsistent, the crash is repeatable.
-- Backtrace (Reduced):
#6 QCursor::shape (this=this@entry=0x0) at kernel/qcursor.cpp:539
#7 0x00007f88307f7498 in QBasicDrag::updateCursor (this=this@entry=0x55861b6f0a30, action=action@entry=Qt::IgnoreAction) at kernel/qsimpledrag.cpp:317
#8 0x00007f882b0924ca in QXcbDrag::handle_xdnd_status (this=this@entry=0x55861b6f0a30, event=event@entry=0x7fff3b04a580) at qxcbdrag.cpp:825
#9 0x00007f882b092ae0 in QXcbDrag::handle_xdnd_position (this=this@entry=0x55861b6f0a30, w=w@entry=0x55861bb4fa90, e=e@entry=0x7fff3b04a660, b=b@entry=..., mods=mods@entry=...) at qxcbdrag.cpp:771
#10 0x00007f882b0954f4 in QXcbDrag::move (this=0x55861b6f0a30, globalPos=..., b=..., mods=...) at qxcbdrag.cpp:475
Created attachment 118987 [details] New crash information added by DrKonqi gwenview (18.12.3) using Qt 5.12.2 double click on image, better described by bug 403582 opener -- Backtrace (Reduced): #5 0x00007f81f8f11266 in QCursor::shape() const () from /usr/lib64/libQt5Gui.so.5 #6 0x00007f81f8f3cf18 in QBasicDrag::updateCursor(Qt::DropAction) () from /usr/lib64/libQt5Gui.so.5 #7 0x00007f81f3d4030a in QXcbDrag::handle_xdnd_status(xcb_client_message_event_t const*) () from /usr/lib64/libQt5XcbQpa.so.5 #8 0x00007f81f3d40918 in QXcbDrag::handle_xdnd_position(QPlatformWindow*, xcb_client_message_event_t const*, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /usr/lib64/libQt5XcbQpa.so.5 #9 0x00007f81f3d42a23 in QXcbDrag::move(QPoint const&, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /usr/lib64/libQt5XcbQpa.so.5 I can reproduce this bug. When double-clicking to enter full screen, if you inadvertently move the mouse, you'll start dragging the image thumbnail. The drag-n-drop operation remains struck and you'll have that thumbnail attached to the cursor even after releasing the mouse button. In this situation, every keypress would make gwenview crash. Backtrace Application: gwenview (19.04.2) Qt Version: 5.12.2 Frameworks Version: 5.59.0 Operating System: Linux 5.0.0-17-generic x86_64 Distribution: Ubuntu 19.04 -- Information about the crash: <Descrivi dettagliatamente cosa stavi facendo quando si è verificato l'errore.> The crash can be reproduced every time. -- Backtrace: Application: Gwenview (gwenview), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fef5d38cac0 (LWP 7285))] Thread 5 (Thread 0x7fef46ffe700 (LWP 7294)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5568ac2a1e00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5568ac2a1db0, cond=0x5568ac2a1dd8) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x5568ac2a1dd8, mutex=0x5568ac2a1db0) at pthread_cond_wait.c:655 #3 0x00007fef63993733 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fef63993819 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fef654de0b3 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5 #6 0x00007fef6398d612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007fef620ac182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #8 0x00007fef63620b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7fef4591a700 (LWP 7293)): #0 futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fef45919950, expected=0, futex_word=0x5568ac232f84) at ../sysdeps/unix/sysv/linux/futex-internal.h:142 #1 __pthread_cond_wait_common (abstime=0x7fef45919a00, mutex=0x5568ac232f30, cond=0x5568ac232f58) at pthread_cond_wait.c:533 #2 __pthread_cond_timedwait (cond=0x5568ac232f58, mutex=0x5568ac232f30, abstime=0x7fef45919a00) at pthread_cond_wait.c:667 #3 0x00007fef639936b5 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fef639937e6 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fef63990de1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fef6398d612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007fef620ac182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #8 0x00007fef63620b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fef51810700 (LWP 7288)): #0 futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fef5180f950, expected=0, futex_word=0x5568ac176c54) at ../sysdeps/unix/sysv/linux/futex-internal.h:142 #1 __pthread_cond_wait_common (abstime=0x7fef5180fa00, mutex=0x5568ac176c00, cond=0x5568ac176c28) at pthread_cond_wait.c:533 #2 __pthread_cond_timedwait (cond=0x5568ac176c28, mutex=0x5568ac176c00, abstime=0x7fef5180fa00) at pthread_cond_wait.c:667 #3 0x00007fef639936b5 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fef639937e6 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fef63990de1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fef6398d612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007fef620ac182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #8 0x00007fef63620b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fef5a9b2700 (LWP 7287)): #0 0x00007fef63614729 in __GI___poll (fds=0x7fef4c011910, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fef618d8cb6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fef618d8ddc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fef63b96063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fef63b415bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fef6398c2c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fef63190565 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007fef6398d612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fef620ac182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #9 0x00007fef63620b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fef5d38cac0 (LWP 7285)): [KCrash Handler] #6 0x00007fef6412e8b6 in QCursor::shape() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #7 0x00007fef6415a838 in QBasicDrag::updateCursor(Qt::DropAction) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #8 0x00007fef5cce155a in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #9 0x00007fef5cce1b70 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #10 0x00007fef5cce4582 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #11 0x00007fef641595ac in QBasicDrag::eventFilter(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #12 0x00007fef63b424cb in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007fef64710588 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x00007fef64717930 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007fef63b428e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007fef64120c6c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #17 0x00007fef64122075 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #18 0x00007fef640fc05b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #19 0x00007fef5ccdb67a in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #20 0x00007fef618d8aae in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007fef618d8d48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007fef618d8ddc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007fef63b96047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007fef63b415bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007fef64159113 in QBasicDrag::drag(QDrag*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #26 0x00007fef64156925 in QDragManager::drag(QDrag*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #27 0x00007fef64156bdb in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #28 0x00007fef654931db in Gwenview::DocumentView::dragThumbnailLoaded(KFileItem const&, QPixmap const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5 #29 0x00007fef63b6c563 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #30 0x00007fef6552f98e in Gwenview::ThumbnailProvider::thumbnailLoaded(KFileItem const&, QPixmap const&, QSize const&, unsigned long long) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5 #31 0x00007fef654e0dda in Gwenview::ThumbnailProvider::emitThumbnailLoaded(QImage const&, QSize const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5 #32 0x00007fef654e0e60 in Gwenview::ThumbnailProvider::thumbnailReady(QImage const&, QSize const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5 #33 0x00007fef63b6cca2 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #34 0x00007fef64710551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #35 0x00007fef64717930 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #36 0x00007fef63b428e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x00007fef63b45927 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #38 0x00007fef63b96a43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #39 0x00007fef618d8aae in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007fef618d8d48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007fef618d8ddc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007fef63b96047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007fef63b415bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007fef63b495e2 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #45 0x00005568a9abedec in ?? () #46 0x00007fef63529b6b in __libc_start_main (main=0x5568a9abe940, argc=2, argv=0x7fff8b77af98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8b77af88) at ../csu/libc-start.c:308 #47 0x00005568a9abf3aa in _start () [Inferior 1 (process 7285) detached] Created attachment 121973 [details]
New crash information added by DrKonqi
gwenview (19.04.3) using Qt 5.12.3
- What I was doing when the application crashed:
double click
double click
drag and drop
crash
-- Backtrace (Reduced):
#6 QCursor::shape (this=this@entry=0x0) at kernel/qcursor.cpp:539
#7 0x00007fba2628b000 in QBasicDrag::updateCursor (this=this@entry=0x555ba47c7300, action=action@entry=Qt::IgnoreAction) at kernel/qsimpledrag.cpp:316
#8 0x00007fba0fd42062 in QXcbDrag::handle_xdnd_status (this=this@entry=0x555ba47c7300, event=event@entry=0x7ffffc4fb9b0) at qxcbdrag.cpp:825
#9 0x00007fba0fd426f0 in QXcbDrag::handle_xdnd_position (this=this@entry=0x555ba47c7300, w=w@entry=0x555ba4c0c600, e=e@entry=0x7ffffc4fba90, b=b@entry=..., mods=mods@entry=...) at qxcbdrag.cpp:771
#10 0x00007fba0fd45093 in QXcbDrag::move (this=0x555ba47c7300, globalPos=..., b=..., mods=...) at qxcbdrag.cpp:475
Created attachment 122361 [details]
New crash information added by DrKonqi
gwenview (19.08.0) using Qt 5.13.0
- What I was doing when the application crashed:
Triple click and move with the mouse to cause drag & drop and switch to fullscreen mode at the same time.
-- Backtrace (Reduced):
#6 QCursor::shape (this=this@entry=0x0) at kernel/qcursor.cpp:539
#7 0x00007fe83cec2d78 in QBasicDrag::updateCursor (this=this@entry=0x55bfd02d08c0, action=action@entry=Qt::IgnoreAction) at kernel/qsimpledrag.cpp:316
#8 0x00007fe837310cba in QXcbDrag::handle_xdnd_status (this=this@entry=0x55bfd02d08c0, event=event@entry=0x7ffc1d6e44d0) at qxcbdrag.cpp:825
#9 0x00007fe8373112d8 in QXcbDrag::handle_xdnd_position (this=this@entry=0x55bfd02d08c0, w=w@entry=0x55bfd067a9e0, e=e@entry=0x7ffc1d6e45b0, b=b@entry=..., mods=..., mods@entry=...) at qxcbdrag.cpp:771
#10 0x00007fe837313e61 in QXcbDrag::move (this=0x55bfd02d08c0, globalPos=..., b=..., mods=...) at qxcbdrag.cpp:475
While I also get those Drag-indicator-crashes it as well happens when the mouse isn't moved. Reproduced with one hand locking the mouse on the table, the other one doing the double click. Probably it's the geometry change of the window that confuses the mouse handler? (Just a guess). I get these crashes frequently (70% of the time going fullscreen) which really makes it a pain to use. Please could a DEV at least try to have a look at this? Fixed in Qt: https://bugreports.qt.io/browse/QTBUG-74110 (In reply to Fabian Vogt from comment #7) > Fixed in Qt: https://bugreports.qt.io/browse/QTBUG-74110 Confirmed, thanks! *** Bug 420467 has been marked as a duplicate of this bug. *** |