Bug 350340 - Gwenview crashed when switching between windows
Summary: Gwenview crashed when switching between windows
Status: RESOLVED UPSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-18 11:58 UTC by Petr Kulhavy
Modified: 2015-08-05 09:15 UTC (History)
2 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 Petr Kulhavy 2015-07-18 11:58:45 UTC
Application: gwenview (5.0.0)

Qt Version: 5.4.1
Operating System: Linux 4.1.0-040100-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
In dual screen set-up I first moved Gwenview from one screen to another, i.e.:
- pull over from screen 2 to screen 1
- full-screen mode -> Gwenview moved back to screen 2
- non-full-screen mode
- move again to screen 1
- resize window to full screen size
- full-screen mode

Then I was switching many times between Gwenview and another window (Rawtherapee) using ALT+TAB. After several tries Gwenview unexpectedly crashed.

-- 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 0x7f841e7bf800 (LWP 14331))]

Thread 3 (Thread 0x7f841c502700 (LWP 14332)):
#0  0x00007f842ba068dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f84258aab72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f84258ac64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f841e426099 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f842c087b0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f842771c6aa in start_thread (arg=0x7f841c502700) at pthread_create.c:333
#6  0x00007f842ba11eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8406aa6700 (LWP 14417)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f842c088c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f842f8083eb in Gwenview::ThumbnailGenerator::run (this=0x2e70180) at ../../lib/thumbnailprovider/thumbnailgenerator.cpp:262
#3  0x00007f842c087b0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f842771c6aa in start_thread (arg=0x7f8406aa6700) at pthread_create.c:333
#5  0x00007f842ba11eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f841e7bf800 (LWP 14331)):
[KCrash Handler]
#6  brw_meta_fast_clear (brw=brw@entry=0x1a9be58, fb=fb@entry=0x1f29b40, buffers=buffers@entry=2, partial_clear=partial_clear@entry=false) at ../../../../../../../src/mesa/drivers/dri/i965/brw_meta_fast_clear.c:446
#7  0x00007f8413b51f68 in brw_clear (ctx=0x1a9be58, mask=2) at ../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:246
#8  0x00007f84303bcf4a in QGL2PaintEngineEx::begin(QPaintDevice*) () from /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5
#9  0x00007f842c86336f in QPainter::begin(QPaintDevice*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007f842cf33f2e in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f842cc131e8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f842cd1193e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f842cf32c0b in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f842c2c5a14 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f842cbcfb0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f842cbd5000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f842c2c5c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f842cc0c8d9 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f842cc0cf30 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f842cbdd7d9 in QWidgetPrivate::repaint_sys(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f842cbfe28f in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f842cc13298 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f842cbcfb2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f842cbd5000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f842c2c5c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f842c2c7c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f842cf00a6a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f842cf071d1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f842c2f773a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f842cf164f3 in QGraphicsScene::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f842cbcfb2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f842cbd5000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f842c2c5c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f842c2c7c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f842c31e843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f84271fdc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f84271fdf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f84271fdfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f842c31ec57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f842c2c33e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f842c2cb02c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x0000000000437ebd in main (argc=2, argv=<optimized out>) at ../../app/main.cpp:166

Reported using DrKonqi
Comment 1 Martin Sandsmark 2015-08-05 09:15:11 UTC
This is a bug in the intel graphics stack, you can track the work on it here: https://bugs.freedesktop.org/show_bug.cgi?id=86281