Bug 301293 - Gwenview crashed after closing with Alt+F4 [ QStyleSheetStyle::event() ]
Summary: Gwenview crashed after closing with Alt+F4 [ QStyleSheetStyle::event() ]
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: triaged
: 318685 337390 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-06 18:10 UTC by do_m
Modified: 2018-10-28 03:27 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (8.53 KB, text/plain)
2012-06-07 12:35 UTC, Alex
Details
New crash information added by DrKonqi (11.26 KB, text/plain)
2013-04-25 18:35 UTC, Loudumo
Details
New crash information added by DrKonqi (5.47 KB, text/plain)
2014-01-12 11:41 UTC, Miroslaw
Details
New crash information added by DrKonqi (10.76 KB, text/plain)
2014-02-19 16:24 UTC, novosibman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description do_m 2012-06-06 18:10:32 UTC
Application: gwenview (2.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-20-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

- using ubuntu (not kubuntu)
- open gwenview
- show image in full screen
- close gwenview using Alt+F4 (from fullscreen mode)
-->  crash

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77c5a50 (LWP 2099))]

Thread 3 (Thread 0xb69ffb70 (LWP 2102)):
#0  0x00792416 in __kernel_vsyscall ()
#1  0x00dd27ae in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x05e6134b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05e52896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x05e52f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02db0cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x05e795f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x0090ad31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00de146e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb55f6b70 (LWP 2103)):
#0  0x0035ed10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x00b2f7d5 in do_gettime (frac=0xb55f6020, sec=0xb55f6018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00c024b6 in QTimerInfoList::updateCurrentTime (this=0x8b9e274) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00c0280a in QTimerInfoList::timerWait (this=0x8b9e274, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00c01053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb55f612c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00c010ed in timerSourcePrepare (source=0x8b9e240, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x05e5188c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x05e52637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x05e52c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00c01b37 in QEventDispatcherGlib::processEvents (this=0x8b9c5f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00bd21dd in QEventLoop::processEvents (this=0xb55f62b0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00bd2421 in QEventLoop::exec (this=0xb55f62b0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00ad590b in QThread::exec (this=0x8b98c88) at thread/qthread.cpp:498
#14 0x00bb2e2d in QInotifyFileSystemWatcherEngine::run (this=0x8b98c88) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00ad87b3 in QThreadPrivate::start (arg=0x8b98c88) at thread/qthread_unix.cpp:331
#16 0x0090ad31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00de146e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77c5a50 (LWP 2099)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x04169146 in QStyleSheetStyle::event (this=0x8edef58, e=0xbfcef8fc) at styles/qstylesheetstyle.cpp:5808
#9  0x03e09d84 in notify_helper (e=0xbfcef8fc, receiver=0x8edef58, this=0x8996dc0) at kernel/qapplication.cpp:4486
#10 QApplicationPrivate::notify_helper (this=0x8996dc0, receiver=0x8edef58, e=0xbfcef8fc) at kernel/qapplication.cpp:4458
#11 0x03e0f133 in QApplication::notify (this=0xbfcef8fc, receiver=0x8edef58, e=0xbfcef8fc) at kernel/qapplication.cpp:3886
#12 0x0111e971 in KApplication::notify (this=0xbfcf09b8, receiver=0x8edef58, event=0xbfcef8fc) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00bd319e in QCoreApplication::notifyInternal (this=0xbfcf09b8, receiver=0x8edef58, event=0xbfcef8fc) at kernel/qcoreapplication.cpp:787
#14 0x03e082f4 in sendEvent (event=0xbfcef8fc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QApplicationPrivate::setFocusWidget (focus=0x0, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2248
#16 0x03e532bc in clearFocus (this=0x8ea3010) at kernel/qwidget.cpp:6470
#17 QWidget::clearFocus (this=0x8ea3010) at kernel/qwidget.cpp:6454
#18 0x03e5ef0d in QWidget::~QWidget (this=0x8ea3010, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1583
#19 0x0426895f in QFrame::~QFrame (this=0x8ea3010, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#20 0x042fb694 in QAbstractScrollArea::~QAbstractScrollArea (this=0x8ea3010, __in_chrg=<optimized out>) at widgets/qabstractscrollarea.cpp:521
#21 0x0439a21e in QAbstractItemView::~QAbstractItemView (this=0x8ea3010, __in_chrg=<optimized out>) at itemviews/qabstractitemview.cpp:596
#22 0x043bcc6f in QListView::~QListView (this=0x8ea3010, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:205
#23 0x00403269 in Gwenview::ThumbnailView::~ThumbnailView (this=0x8ea3010, __in_chrg=<optimized out>) at ../../lib/thumbnailview/thumbnailview.cpp:350
#24 0x003ffcf2 in Gwenview::ThumbnailBarView::~ThumbnailBarView (this=0x8ea3010, __in_chrg=<optimized out>) at ../../lib/thumbnailview/thumbnailbarview.cpp:414
#25 0x003ffd32 in Gwenview::ThumbnailBarView::~ThumbnailBarView (this=0x8ea3010, __in_chrg=<optimized out>) at ../../lib/thumbnailview/thumbnailbarview.cpp:417
#26 0x00be7841 in QObjectPrivate::deleteChildren (this=0x8ea43f8) at kernel/qobject.cpp:1955
#27 0x03e5efbe in QWidget::~QWidget (this=0x8ea0988, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#28 0x0426895f in QFrame::~QFrame (this=0x8ea0988, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#29 0x003cc120 in Gwenview::FullScreenBar::~FullScreenBar (this=0x8ea0988, __in_chrg=<optimized out>) at ../../lib/fullscreenbar.cpp:135
#30 0x003cc162 in Gwenview::FullScreenBar::~FullScreenBar (this=0x8ea0988, __in_chrg=<optimized out>) at ../../lib/fullscreenbar.cpp:137
#31 0x00be7841 in QObjectPrivate::deleteChildren (this=0x8ce62a0) at kernel/qobject.cpp:1955
#32 0x03e5efbe in QWidget::~QWidget (this=0x8bd2660, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#33 0x0806d820 in Gwenview::DocumentPanel::~DocumentPanel (this=0x8bd2660, __in_chrg=<optimized out>) at ../../app/documentpanel.cpp:435
#34 0x00be7841 in QObjectPrivate::deleteChildren (this=0x8b8f460) at kernel/qobject.cpp:1955
#35 0x03e5efbe in QWidget::~QWidget (this=0x8b8f448, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#36 0x0426895f in QFrame::~QFrame (this=0x8b8f448, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#37 0x042d050f in QStackedWidget::~QStackedWidget (this=0x8b8f448, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:149
#38 0x042d0552 in QStackedWidget::~QStackedWidget (this=0x8b8f448, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:151
#39 0x00be7841 in QObjectPrivate::deleteChildren (this=0x8b833a8) at kernel/qobject.cpp:1955
#40 0x03e5efbe in QWidget::~QWidget (this=0x8b812c8, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#41 0x03e5f292 in QWidget::~QWidget (this=0x8b812c8, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1671
#42 0x00be7841 in QObjectPrivate::deleteChildren (this=0x8b820e0) at kernel/qobject.cpp:1955
#43 0x03e5efbe in QWidget::~QWidget (this=0x8b011b8, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#44 0x0426895f in QFrame::~QFrame (this=0x8b011b8, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#45 0x042ccc5c in QSplitter::~QSplitter (this=0x8b011b8, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1050
#46 0x08071b0d in ~Splitter (this=0x8b011b8, __in_chrg=<optimized out>) at ../../app/splitter.h:57
#47 Gwenview::Splitter::~Splitter (this=0x8b011b8, __in_chrg=<optimized out>) at ../../app/splitter.h:57
#48 0x00be7841 in QObjectPrivate::deleteChildren (this=0x8b51088) at kernel/qobject.cpp:1955
#49 0x03e5efbe in QWidget::~QWidget (this=0x8b50d10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#50 0x042841cf in QMainWindow::~QMainWindow (this=0x8b50d10, __in_chrg=<optimized out>) at widgets/qmainwindow.cpp:388
#51 0x011f9ab9 in KMainWindow::~KMainWindow (this=0x8b50d10, __in_chrg=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:467
#52 0x01242eac in KXmlGuiWindow::~KXmlGuiWindow (this=0x8b50d10, __vtt_parm=0x80b17ac, __in_chrg=<optimized out>) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:118
#53 0x080879a5 in Gwenview::MainWindow::~MainWindow (this=0x8b50d10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:806
#54 0x08087a10 in Gwenview::MainWindow::~MainWindow (this=0x8b50d10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:808
#55 0x00be65f3 in qDeleteInEventHandler (o=0x8b50d10) at kernel/qobject.cpp:3986
#56 0x00bebb80 in QObject::event (this=0x8b50d10, e=0x8b8c160) at kernel/qobject.cpp:1200
#57 0x03e63c92 in QWidget::event (this=0x8b50d10, event=0x8b8c160) at kernel/qwidget.cpp:8754
#58 0x0428651c in QMainWindow::event (this=0x8b50d10, event=0x8b8c160) at widgets/qmainwindow.cpp:1478
#59 0x011fa5a4 in KMainWindow::event (this=0x8b50d10, ev=0x8b8c160) at ../../kdeui/widgets/kmainwindow.cpp:1084
#60 0x01242a02 in KXmlGuiWindow::event (this=0x8b50d10, ev=0x8b8c160) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#61 0x03e09d84 in notify_helper (e=0x8b8c160, receiver=0x8b50d10, this=0x8996dc0) at kernel/qapplication.cpp:4486
#62 QApplicationPrivate::notify_helper (this=0x8996dc0, receiver=0x8b50d10, e=0x8b8c160) at kernel/qapplication.cpp:4458
#63 0x03e0f1d8 in QApplication::notify (this=0x8996dc0, receiver=0x8b50d10, e=0x8b8c160) at kernel/qapplication.cpp:4451
#64 0x0111e971 in KApplication::notify (this=0xbfcf09b8, receiver=0x8b50d10, event=0x8b8c160) at ../../kdeui/kernel/kapplication.cpp:311
#65 0x00bd319e in QCoreApplication::notifyInternal (this=0xbfcf09b8, receiver=0x8b50d10, event=0x8b8c160) at kernel/qcoreapplication.cpp:787
#66 0x00bd6f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x897aca8) at kernel/qcoreapplication.cpp:1428
#68 0x00bd70ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#69 0x00c016a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#70 postEventSourceDispatch (s=0x8999798) at kernel/qeventdispatcher_glib.cpp:277
#71 0x05e5225f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0x05e52990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0x05e52c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x00c01ada in QEventDispatcherGlib::processEvents (this=0x897b9e8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#75 0x03ec1e7a in QGuiEventDispatcherGlib::processEvents (this=0x897b9e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00bd21dd in QEventLoop::processEvents (this=0xbfcf0904, flags=...) at kernel/qeventloop.cpp:149
#77 0x00bd2421 in QEventLoop::exec (this=0xbfcf0904, flags=...) at kernel/qeventloop.cpp:201
#78 0x00bd719d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#79 0x03e07924 in QApplication::exec () at kernel/qapplication.cpp:3760
#80 0x08063c7d in main (argc=) at ../../app/main.cpp:139

Reported using DrKonqi
Comment 1 Alex 2012-06-07 12:35:11 UTC
Created attachment 71638 [details]
New crash information added by DrKonqi

gwenview (2.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2

- What I was doing when the application crashed:
Gwen view was in full screen mode and i just pressed M-c (this is my config of OpenBox which i use with KDE-4.8 to close the window).

-- Backtrace (Reduced):
#7  0x00007f2f9d660515 in QStyleSheetStyle::event (this=0xf7e540, e=0x7fff421d33f0) at styles/qstylesheetstyle.cpp:5798
#8  0x00007f2f9d3303e4 in QApplicationPrivate::notify_helper (this=0xc54430, receiver=0xf7e540, e=0x7fff421d33f0) at kernel/qapplication.cpp:4551
#9  0x00007f2f9d334ebf in QApplication::notify (this=<optimized out>, receiver=0xf7e540, e=0x7fff421d33f0) at kernel/qapplication.cpp:4412
#10 0x00007f2f9e06eb76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#11 0x00007f2f9eb26cdb in QCoreApplication::notifyInternal (this=0x7fff421d4900, receiver=0xf7e540, event=0x7fff421d33f0) at kernel/qcoreapplication.cpp:915
Comment 2 Jekyll Wu 2012-07-04 12:33:12 UTC
See bug 268328
Comment 3 Jekyll Wu 2013-04-21 19:28:12 UTC
*** Bug 318685 has been marked as a duplicate of this bug. ***
Comment 4 Benni Hill 2013-04-22 19:02:51 UTC
Updated version (from bug 318685).
Comment 5 Loudumo 2013-04-25 18:35:22 UTC
Created attachment 79446 [details]
New crash information added by DrKonqi

gwenview (2.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

crashes when closing with alt-F4 when used to view more than one image. Never crashes when only one image is viewed.

-- Backtrace (Reduced):
#8  0xb644eb86 in QStyleSheetStyle::event (this=0x9a9a448, e=0xbfaba7b0) at styles/qstylesheetstyle.cpp:5798
#9  0xb60d5ed4 in notify_helper (e=0xbfaba7b0, receiver=0x9a9a448, this=0x9607bb0) at kernel/qapplication.cpp:4559
#10 QApplicationPrivate::notify_helper (this=0x9607bb0, receiver=0x9a9a448, e=0xbfaba7b0) at kernel/qapplication.cpp:4531
#11 0xb60db30d in QApplication::notify (this=0xbfaba7b0, receiver=0x9a9a448, e=0xbfaba7b0) at kernel/qapplication.cpp:4288
#12 0xb6c5ae01 in KApplication::notify (this=0xbfabb9e8, receiver=0x9a9a448, event=0xbfaba7b0) at ../../kdeui/kernel/kapplication.cpp:311
Comment 6 Miroslaw 2014-01-12 11:41:48 UTC
Created attachment 84595 [details]
New crash information added by DrKonqi

gwenview (2.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:
I did as during bug, in full screen mode I closed application. In background I listen to music using audacious.

-- Backtrace (Reduced):
#7  0x00007fd64ff347c5 in QStyleSheetStyle::event (this=0x2b4d9a0, e=0x7fff13af3a20) at styles/qstylesheetstyle.cpp:5798
#8  0x00007fd64fc05894 in notify_helper (e=0x7fff13af3a20, receiver=0x2b4d9a0, this=0x2566e70) at kernel/qapplication.cpp:4559
#9  QApplicationPrivate::notify_helper (this=0x2566e70, receiver=0x2b4d9a0, e=0x7fff13af3a20) at kernel/qapplication.cpp:4531
#10 0x00007fd64fc0a713 in QApplication::notify (this=0x7fff13af4e50, receiver=0x2b4d9a0, e=0x7fff13af3a20) at kernel/qapplication.cpp:4420
#11 0x00007fd65093f3f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
Comment 7 novosibman 2014-02-19 16:24:44 UTC
Created attachment 85235 [details]
New crash information added by DrKonqi

gwenview (2.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

1. open any image Gwenview e.g. using right click menu in file explorer
2. click 'full screen' button OR press enter to activate full screen mode
3. press Alt-F4
4. crash

-- Backtrace (Reduced):
#7  0x00007f93273347c5 in QStyleSheetStyle::event (this=0x1f3ec00, e=0x7fffb82dd430) at styles/qstylesheetstyle.cpp:5798
#8  0x00007f9327005894 in notify_helper (e=0x7fffb82dd430, receiver=0x1f3ec00, this=0x1a4f370) at kernel/qapplication.cpp:4559
#9  QApplicationPrivate::notify_helper (this=0x1a4f370, receiver=0x1f3ec00, e=0x7fffb82dd430) at kernel/qapplication.cpp:4531
#10 0x00007f932700a713 in QApplication::notify (this=0x7fffb82de790, receiver=0x1f3ec00, e=0x7fffb82dd430) at kernel/qapplication.cpp:4420
#11 0x00007f9327d3f3f6 in KApplication::notify (this=0x7fffb82de790, receiver=0x1f3ec00, event=0x7fffb82dd430) at ../../kdeui/kernel/kapplication.cpp:311
Comment 8 Christoph Feck 2014-07-12 12:10:53 UTC
*** Bug 337390 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2017-09-09 04:15:55 UTC
Does this reproduce with a more recent KF5 version of Gwenview?
Comment 10 Andrew Crouthamel 2018-09-28 02:31:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Andrew Crouthamel 2018-10-28 03:27:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!