Bug 261539 - Application crashed on exit [QRasterWindowSurface::~QRasterWindowSurface]
Summary: Application crashed on exit [QRasterWindowSurface::~QRasterWindowSurface]
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.14.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 257489 265100 280022 282666 284669 287750 288190 290007 292252 294270 302815 306716 306998 308009 313653 324180 324407 326249 326996 327253 327730 327798 328666 329417 329923 330038 330243 330831 331005 331437 331575 334146 334657 335349 337115 339256 341395 341443 341464 342543 342840 343139 345095 345287 345636 373899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-29 15:20 UTC by Giorgos Tsiapaliokas
Modified: 2016-12-21 21:14 UTC (History)
54 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.95 KB, text/plain)
2011-11-03 18:51 UTC, Alex Godko
Details
New crash information added by DrKonqi (4.03 KB, text/plain)
2011-11-28 09:33 UTC, Alex Godko
Details
New crash information added by DrKonqi (6.24 KB, text/plain)
2012-05-19 13:26 UTC, Christoph
Details
New crash information added by DrKonqi (4.17 KB, text/plain)
2014-02-26 09:57 UTC, Levis Nickaster
Details
New crash information added by DrKonqi (3.49 KB, text/plain)
2014-06-30 23:59 UTC, Gustavo Da Rocha
Details
New crash information added by DrKonqi (4.58 KB, text/plain)
2014-11-07 09:57 UTC, margueritesu
Details
New crash information added by DrKonqi (4.31 KB, text/plain)
2014-11-12 23:03 UTC, Rebecca B.
Details
New crash information added by DrKonqi (4.00 KB, text/plain)
2016-12-21 20:40 UTC, Landis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Tsiapaliokas 2010-12-29 15:20:47 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.5.4 (KDE 4.5.4) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-gentoo-r5 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
i had just change the theme appearence from bespin to oxygen and then i closed the system settings window,the bug appeared.

- Custom settings of the application:
it has to be something relative with the change of the theme.i tried to reproduce the bug but i couldn't.maybe it happens only in the first boot.

The crash can be reproduced some of the time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f57cad99729 in QRasterWindowSurface::~QRasterWindowSurface (this=0x19a2ea0, __in_chrg=<value optimized out>) at painting/qwindowsurface_raster.cpp:104
#7  0x00007f57cad997a9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x19a2ea0, __in_chrg=<value optimized out>) at painting/qwindowsurface_raster.cpp:108
#8  0x00007f57cadb39c1 in QWidgetBackingStore::~QWidgetBackingStore (this=0xf5da60, __in_chrg=<value optimized out>) at painting/qbackingstore.cpp:883
#9  0x00007f57cabf2819 in QWidgetBackingStoreTracker::destroy (this=0x6fad40) at kernel/qwidget.cpp:205
#10 0x00007f57cabf2968 in QWidgetPrivate::deleteExtra (this=0x1133a30) at kernel/qwidget.cpp:1750
#11 0x00007f57cabf2bac in QWidgetPrivate::~QWidgetPrivate (this=0x1133a30, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:318
#12 0x00007f57cabf2eb9 in QWidgetPrivate::~QWidgetPrivate (this=0x1133a30, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:323
#13 0x00007f57c9f8c9d3 in cleanup (this=0x19bf5d0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#14 ~QScopedPointer (this=0x19bf5d0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#15 QObject::~QObject (this=0x19bf5d0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:817
#16 0x00007f57cabf4f66 in QWidget::~QWidget (this=0x19bf5d0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1477
#17 0x00007f57cabf5189 in QWidget::~QWidget (this=0x19bf5d0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1620
#18 0x00007f57cb140b55 in QGlobalStaticDeleter<QWidget>::~QGlobalStaticDeleter (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1820
#19 0x00007f57c97d53b1 in __run_exit_handlers (status=0, listp=0x7f57c9b064a8, run_list_atexit=true) at exit.c:78
#20 0x00007f57c97d5405 in exit (status=26881696) at exit.c:100
#21 0x00007f57c97bece4 in __libc_start_main (main=0x4126c0 <main(int, char**)>, argc=5, ubp_av=0x7fffe2c266a8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffe2c26698) at libc-start.c:258
#22 0x000000000040bd59 in _start ()

Possible duplicates by query: bug 255081.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-02-01 17:56:39 UTC
*** Bug 265100 has been marked as a duplicate of this bug. ***
Comment 2 Ben Cooksley 2011-04-14 05:48:53 UTC
The duplicate report indicates that Plasma might be responsible here...
Comment 3 Christoph Feck 2011-05-14 14:35:52 UTC
*** Bug 257489 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2011-08-13 14:38:03 UTC
Duplicate bug 280022 also mentions Bespin style, so it might be related to that style.
Comment 5 Christoph Feck 2011-08-13 14:38:34 UTC
*** Bug 280022 has been marked as a duplicate of this bug. ***
Comment 6 Alex Godko 2011-11-03 18:51:15 UTC
Created attachment 65204 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

I'm switched color themes, styles, plasma styles, etc. On close got a crash, and it is repeated several times.

-- Backtrace (Reduced):
#6  0x00007ff6420fcc09 in QRasterWindowSurface::~QRasterWindowSurface (this=0x30a3c70, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:110
#7  0x00007ff6420fcc89 in QRasterWindowSurface::~QRasterWindowSurface (this=0x30a3c70, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:114
#8  0x00007ff64211626e in QWidgetBackingStore::~QWidgetBackingStore (this=0x2c1bb10, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:883
#9  0x00007ff641f53a29 in QWidgetBackingStoreTracker::destroy (this=0x2ad9ea0) at kernel/qwidget.cpp:210
#10 0x00007ff641f53b7e in QWidgetPrivate::deleteExtra (this=0x2b70a00) at kernel/qwidget.cpp:1796
Comment 7 Beat Wolf 2011-11-24 08:17:33 UTC
*** Bug 282666 has been marked as a duplicate of this bug. ***
Comment 8 Beat Wolf 2011-11-24 08:17:36 UTC
*** Bug 284669 has been marked as a duplicate of this bug. ***
Comment 9 Alex Godko 2011-11-28 09:33:22 UTC
Created attachment 66141 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

systemsettings crashed on exit. I've changed color schema, and change was successfull.

-- Backtrace (Reduced):
#6  0x00007f815c9f2c09 in QRasterWindowSurface::~QRasterWindowSurface (this=0x2412120, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:110
#7  0x00007f815c9f2c89 in QRasterWindowSurface::~QRasterWindowSurface (this=0x2412120, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:114
#8  0x00007f815ca0c26e in QWidgetBackingStore::~QWidgetBackingStore (this=0x1e60980, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:883
#9  0x00007f815c849a29 in QWidgetBackingStoreTracker::destroy (this=0x19ea7d0) at kernel/qwidget.cpp:210
#10 0x00007f815c849b7e in QWidgetPrivate::deleteExtra (this=0x34ce0e0) at kernel/qwidget.cpp:1796
Comment 10 Beat Wolf 2011-11-28 14:36:54 UTC
*** Bug 287750 has been marked as a duplicate of this bug. ***
Comment 11 Aaron J. Seigo 2011-11-28 15:16:05 UTC
bug in the raster paint engine 

(and why is this bug filed against plasma if it is system settings that is crashing? :)
Comment 12 Anne-Marie Mahfouf 2011-12-04 17:18:58 UTC
*** Bug 288190 has been marked as a duplicate of this bug. ***
Comment 13 Thijs 2012-01-09 08:45:14 UTC
*** Bug 290007 has been marked as a duplicate of this bug. ***
Comment 14 Jekyll Wu 2012-01-23 07:39:26 UTC
*** Bug 292252 has been marked as a duplicate of this bug. ***
Comment 15 Jekyll Wu 2012-02-16 22:20:31 UTC
*** Bug 294270 has been marked as a duplicate of this bug. ***
Comment 16 Christoph 2012-05-19 09:30:19 UTC
(In reply to comment #11)
> bug in the raster paint engine 

You changed the bug to "resolved upstream" (I presume you mean in Qt) in November 2011; however, I still experience this crash in the QRasterWindowsSurface destructor:

Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

I thus have to ask: Which Qt version is supposed to include the fix? Is there a Qt ticket for this issue?
 
> (and why is this bug filed against plasma if it is system settings that is
> crashing? :)

Well, in my case the notifications says plasma-desktop crashed. And plasma crashes on shutdown even though I don't have system-settings open.
Comment 17 Thomas Lübking 2012-05-19 10:30:57 UTC
The bug happens everywhere (just google "~QRasterWindowSurface segfault")

The issue seems that QWidgets are deleted _after_ the application and Qt says it's not a Qt bug:
https://bugreports.qt-project.org/browse/QTBUG-16974

So anything that somehow uses KSelectionWatcher or some autodeleted global widget (in plasma's case kidletime seems to be the cause) is prone to this bug.

The issue is directly caused by the raster graphicssystem but i also smell the glib dispatcher here.

Since plasma might drop to lousy performance when using the native graphicssystem and the opengl graphicssystem is still too buggy, you could -as an instant workaround- try to simply get rid of the glib dispatcher first, see whether the issue remains and report your findings:

in ~/.kde/env have some script
export QT_NO_GLIB=1

However given the upstream statements, questionable or not, kdelibs and all affected applications will need to fix this.

This particular crash is either in systemsettings or *might* have been caused by the oxygen(-transparent) style, which eventually has been fixed in this regard as well as by the bespin style (but i've never seen such crash myself) - unfortunately we only know that the globalstaticdeleter deleted "a" QWidget :-(

Since the bug was last reported for 4.7.2 i'll set it "waiting for info" unless we get an update regarding KDE 4.8 for *this* particular crash.

Your bug is however unlikely upstream either, but please look for the correct duplicate (there's for sure...) and hook on there.

-----

FTR:
"Resolved upstream" is just a funny way to say "Somebody else's problem" - it's doesn't actually mean the bug is reported or even fixed.
Comment 18 Thomas Lübking 2012-05-19 10:32:12 UTC
Can anybody confirm *this* particular bug (segfault in systemsettings or maybe a directly invoked kcm) for KDE >= 4.8?
Comment 19 Christoph 2012-05-19 13:26:29 UTC
Created attachment 71219 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

The crash still happens as soon as I log out, even though I placed a script into ~/.kde/env that sets the environment variable as suggested two comments above.

Please note this is on KDE 4.8.2.

-- Backtrace (Reduced):
#6  0x00007f2f88907199 in QRasterWindowSurface::~QRasterWindowSurface (this=0x3650cd0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#7  0x00007f2f88907219 in QRasterWindowSurface::~QRasterWindowSurface (this=0x3650cd0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#8  0x00007f2f8891f8de in QWidgetBackingStore::~QWidgetBackingStore (this=0x3652e40, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#9  0x00007f2f887503d9 in QWidgetBackingStoreTracker::destroy (this=0x3647260) at kernel/qwidget.cpp:217
#10 0x00007f2f8875052e in QWidgetPrivate::deleteExtra (this=0x2729080) at kernel/qwidget.cpp:1830
Comment 20 Thomas Lübking 2012-05-20 07:44:24 UTC
fixing component and resetting known affected version - whether *this* issue remains for 4.8 is still unknown
Comment 21 Myriam Schweingruber 2012-09-08 09:41:31 UTC
Confirmation for up to 4.8.4
Comment 22 Myriam Schweingruber 2012-09-17 09:53:07 UTC
*** Bug 306716 has been marked as a duplicate of this bug. ***
Comment 23 Myriam Schweingruber 2012-10-01 01:00:30 UTC
*** Bug 306998 has been marked as a duplicate of this bug. ***
Comment 24 Christoph Feck 2013-01-28 00:16:52 UTC
*** Bug 313653 has been marked as a duplicate of this bug. ***
Comment 25 Dominik Haumann 2013-08-30 21:44:42 UTC
*** Bug 324180 has been marked as a duplicate of this bug. ***
Comment 26 Dominik Haumann 2013-08-30 21:45:00 UTC
*** Bug 308009 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2013-09-02 19:00:04 UTC
Bug 324407 reveals an interesting detail. The global widget to be deleted after QApplication destruction could actually be a Qt widget.

http://qt.gitorious.org/qt/bibrs-qt/commit/f900144fdb7e5b811011315a98b7ea7ed9a80f32 reveals a global "globalStyleInfoWidget", part of QGraphicsLayout. Not sure if it is still used in Qt 4.8.
Comment 28 Christoph Feck 2013-09-02 19:01:06 UTC
*** Bug 324407 has been marked as a duplicate of this bug. ***
Comment 29 Christoph Feck 2013-09-02 19:02:05 UTC
Forget my last remark, bug 324407 was using latest Qt.
Comment 30 Christoph Feck 2013-10-21 21:04:24 UTC
Reported upstream as https://bugreports.qt-project.org/browse/QTBUG-34214
Comment 31 Christoph Feck 2013-10-21 21:12:06 UTC
*** Bug 326249 has been marked as a duplicate of this bug. ***
Comment 32 Jekyll Wu 2013-11-07 02:52:05 UTC
*** Bug 327253 has been marked as a duplicate of this bug. ***
Comment 33 Jekyll Wu 2013-11-07 02:52:10 UTC
*** Bug 326996 has been marked as a duplicate of this bug. ***
Comment 34 Christoph Feck 2013-11-18 13:45:10 UTC
*** Bug 327730 has been marked as a duplicate of this bug. ***
Comment 35 Christoph Feck 2013-11-18 13:46:10 UTC
*** Bug 302815 has been marked as a duplicate of this bug. ***
Comment 36 Jekyll Wu 2013-11-19 13:31:19 UTC
*** Bug 327798 has been marked as a duplicate of this bug. ***
Comment 37 Christoph Feck 2013-12-11 16:20:36 UTC
Good news, the globalStyleInfoWidget will be gone with Qt 5.3.0. I doubt Qt 4.x will see any change.

Remaining is the global QWidget from libkidletime.
Comment 38 Christoph Feck 2013-12-11 16:21:18 UTC
*** Bug 328666 has been marked as a duplicate of this bug. ***
Comment 39 Christoph Feck 2013-12-30 12:40:46 UTC
*** Bug 329417 has been marked as a duplicate of this bug. ***
Comment 40 Christoph Feck 2014-01-14 01:47:04 UTC
*** Bug 329923 has been marked as a duplicate of this bug. ***
Comment 41 Jekyll Wu 2014-01-17 01:53:21 UTC
*** Bug 330038 has been marked as a duplicate of this bug. ***
Comment 42 Jekyll Wu 2014-01-21 11:44:46 UTC
*** Bug 330243 has been marked as a duplicate of this bug. ***
Comment 43 Jekyll Wu 2014-02-06 05:03:21 UTC
*** Bug 330831 has been marked as a duplicate of this bug. ***
Comment 44 Jekyll Wu 2014-02-11 18:15:57 UTC
*** Bug 331005 has been marked as a duplicate of this bug. ***
Comment 45 Jekyll Wu 2014-02-23 18:05:11 UTC
*** Bug 331437 has been marked as a duplicate of this bug. ***
Comment 46 Levis Nickaster 2014-02-26 09:57:38 UTC
Created attachment 85332 [details]
New crash information added by DrKonqi

kmix (4.4) on KDE Platform 4.12.2 using Qt 4.8.5

- What I was doing when the application crashed: Logout/shutdown/restart the machine

- Unusual behavior I noticed: transparent oxygen theme with naked workspace theme

- Custom settings of the application: no custom setting for kmix. using default settings

-- Backtrace (Reduced):
#6  0xb648a082 in QRasterWindowSurface::~QRasterWindowSurface() () from /usr/lib/libQtGui.so.4
#7  0xb648a10c in QRasterWindowSurface::~QRasterWindowSurface() () from /usr/lib/libQtGui.so.4
[...]
#10 0xb62b7a28 in QWidgetPrivate::deleteExtra() () from /usr/lib/libQtGui.so.4
#11 0xb62b7c2d in QWidgetPrivate::~QWidgetPrivate() () from /usr/lib/libQtGui.so.4
#12 0xb62b7edc in QWidgetPrivate::~QWidgetPrivate() () from /usr/lib/libQtGui.so.4
Comment 47 Jekyll Wu 2014-02-28 00:58:40 UTC
*** Bug 331575 has been marked as a duplicate of this bug. ***
Comment 48 Kyle Agronick 2014-04-28 06:16:45 UTC
This happens to me every day with almost every program I use. Just shutting down my computer causes KDE Crash handler dialogs to pop up everywhere. Nothing can close without a segmentation fault.
Comment 49 Christoph Feck 2014-04-30 19:05:03 UTC
*** Bug 334146 has been marked as a duplicate of this bug. ***
Comment 50 Christopher Bräuer 2014-05-03 13:22:26 UTC
I can confirm this bug. It doesn't depend on amarok especially, also gwenview aso. are crashing.
Using the latest version of KDE 4.13 on openSUSE 13.1 (64 bit).
Comment 51 Kyle Agronick 2014-05-06 20:43:22 UTC
I posted a temporary solution to this on my blog. It makes the crash dialogs go away at least http://poisonpacket.wordpress.com/2014/05/06/the-kde-bug-that-makes-crash-reports-appear-whenever-you-close-an-app-that-has-not-been-fixed-in-the-4-years-since-it-was-reported/
Comment 52 Thomas Lübking 2014-05-06 21:07:46 UTC
Define "transparent windows" - if it's linked to a particular GUI style (oxygen-transparent, qtcurve, bespin) this (massive crashing) can probably be fixed/avoided.

If you've so far only tested one or two of those, try the other one(s) and report tested version and findings (crashes as well/not - notice that applications that were running while changing the style will probably still crash, only new processes are relevant)
Comment 53 Jekyll Wu 2014-05-13 01:24:10 UTC
*** Bug 334657 has been marked as a duplicate of this bug. ***
Comment 54 Christoph Feck 2014-05-26 10:03:02 UTC
*** Bug 335349 has been marked as a duplicate of this bug. ***
Comment 55 Gustavo Da Rocha 2014-06-30 23:59:49 UTC
Created attachment 87495 [details]
New crash information added by DrKonqi

kmix (4.5) on KDE Platform 4.13.2 using Qt 4.8.5

- What I was doing when the application crashed:

-it happens when i restart the system or when i power off the system

-- Backtrace (Reduced):
#6  0x00007fc83eec7789 in QRasterWindowSurface::~QRasterWindowSurface (this=0x1c24390, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#7  0x00007fc83eec7809 in QRasterWindowSurface::~QRasterWindowSurface (this=0x1c24390, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#8  0x00007fc83eedfb1c in QWidgetBackingStore::~QWidgetBackingStore (this=0x1b23970, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#9  0x00007fc83ed1c8f9 in QWidgetBackingStoreTracker::destroy (this=0x1e24890) at kernel/qwidget.cpp:225
#10 0x00007fc83ed1ca99 in QWidgetPrivate::deleteExtra (this=this@entry=0x1cfdee0) at kernel/qwidget.cpp:1833
Comment 56 Myriam Schweingruber 2014-07-05 13:00:56 UTC
*** Bug 337115 has been marked as a duplicate of this bug. ***
Comment 57 Nalaka Hewapathirana 2014-08-04 06:48:17 UTC
Application: gwenview (4.13.1)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-32-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

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

This happens every time when I close the gwenview application. I think kmix also crash when I login out. The main cause is the use of oxygen-transparent theme for application. When I switched to oxygen, the things work as expected. 

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 0x7fcbe0ee7840 (LWP 16726))]

Thread 3 (Thread 0x7fcbc8a4c700 (LWP 16727)):
#0  0x00007fcbdfd2cb50 in testAndSetOrdered (newValue=0, expectedValue=1, this=0x15fad90) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetRelease (newValue=0, expectedValue=1, this=0x15fad90) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:272
#2  unlockInline (this=0x15fad48) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:171
#3  unlock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:121
#4  ~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:115
#5  canWaitLocked (this=0x15fad00) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:229
#6  postEventSourcePrepare (s=0x7fcbc4001350, timeout=0x7fcbc8a4bba4) at kernel/qeventdispatcher_glib.cpp:270
#7  0x00007fcbd976f68d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fcbd976ff03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fcbd97700ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fcbdfd2c7be in QEventDispatcherGlib::processEvents (this=0x7fcbc40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#11 0x00007fcbdfcfe0af in QEventLoop::processEvents (this=this@entry=0x7fcbc8a4bd60, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fcbdfcfe3a5 in QEventLoop::exec (this=this@entry=0x7fcbc8a4bd60, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fcbdfbfac5f in QThread::exec (this=this@entry=0x13159e0) at thread/qthread.cpp:537
#14 0x00007fcbdfcdf823 in QInotifyFileSystemWatcherEngine::run (this=0x13159e0) at io/qfilesystemwatcher_inotify.cpp:265
#15 0x00007fcbdfbfd32f in QThreadPrivate::start (arg=0x13159e0) at thread/qthread_unix.cpp:349
#16 0x00007fcbd9c3b182 in start_thread (arg=0x7fcbc8a4c700) at pthread_create.c:312
#17 0x00007fcbdd9b330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fcbc3987700 (LWP 16728)):
#0  __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fcbbc000a60) at pthread_mutex_unlock.c:81
#1  __GI___pthread_mutex_unlock (mutex=0x7fcbbc000a60) at pthread_mutex_unlock.c:310
#2  0x00007fcbd97b19c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbd976fe9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbd97700ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcbdfd2c7be in QEventDispatcherGlib::processEvents (this=0x7fcbbc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fcbdfcfe0af in QEventLoop::processEvents (this=this@entry=0x7fcbc3986d60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fcbdfcfe3a5 in QEventLoop::exec (this=this@entry=0x7fcbc3986d60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fcbdfbfac5f in QThread::exec (this=this@entry=0x1802280) at thread/qthread.cpp:537
#9  0x00007fcbdfcdf823 in QInotifyFileSystemWatcherEngine::run (this=0x1802280) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fcbdfbfd32f in QThreadPrivate::start (arg=0x1802280) at thread/qthread_unix.cpp:349
#11 0x00007fcbd9c3b182 in start_thread (arg=0x7fcbc3987700) at pthread_create.c:312
#12 0x00007fcbdd9b330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fcbe0ee7840 (LWP 16726)):
[KCrash Handler]
#6  0x00007fcbde7ff8c9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x13f28a0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#7  0x00007fcbde7ff949 in QRasterWindowSurface::~QRasterWindowSurface (this=0x13f28a0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#8  0x00007fcbde817c5c in QWidgetBackingStore::~QWidgetBackingStore (this=0x18f8a70, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#9  0x00007fcbde650009 in QWidgetBackingStoreTracker::destroy (this=0x1cecf50) at kernel/qwidget.cpp:225
#10 0x00007fcbde6501a9 in QWidgetPrivate::deleteExtra (this=this@entry=0x1aed830) at kernel/qwidget.cpp:1833
#11 0x00007fcbde6503bd in QWidgetPrivate::~QWidgetPrivate (this=0x1aed830, __in_chrg=<optimized out>) at kernel/qwidget.cpp:365
#12 0x00007fcbde650649 in QWidgetPrivate::~QWidgetPrivate (this=0x1aed830, __in_chrg=<optimized out>) at kernel/qwidget.cpp:370
#13 0x00007fcbdfd18735 in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#14 ~QScopedPointer (this=0x1aed758, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#15 QObject::~QObject (this=0x1aed750, __in_chrg=<optimized out>) at kernel/qobject.cpp:816
#16 0x00007fcbde658dcc in QWidget::~QWidget (this=0x1aed750, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554
#17 0x00007fcbde659049 in QWidget::~QWidget (this=0x1aed750, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1703
#18 0x00007fcbdeba8995 in QGlobalStaticDeleter<QWidget>::~QGlobalStaticDeleter (this=0x7fcbdf0f51a0 <_ZZL21globalStyleInfoWidgetvE7cleanup>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1960
#19 0x00007fcbdd8f4509 in __run_exit_handlers (status=0, listp=0x7fcbddc776c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#20 0x00007fcbdd8f4555 in __GI_exit (status=<optimized out>) at exit.c:104
#21 0x00007fcbdd8d9ecc in __libc_start_main (main=0x427580 <main(int, char**)>, argc=6, argv=0x7fffb7cfcd08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb7cfccf8) at libc-start.c:321
#22 0x0000000000427b22 in _start ()

Possible duplicates by query: bug 331005, bug 330831, bug 330243, bug 330038, bug 328666.

Report to https://bugs.kde.org/
Comment 58 Christoph Feck 2014-09-21 11:03:24 UTC
*** Bug 339256 has been marked as a duplicate of this bug. ***
Comment 59 Vavano 2014-10-24 18:56:11 UTC
Application: gwenview (4.13.1)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-38-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Every time closing Gwenview applikation it crashes
- Custom settings of the application:
Stock settings.

HELPFUL INFORMATION!!!

Maybe I have soliution

Just in file    
"/home/USER/.kde/share/config/kdeglobals"
I delete line "widgetStyle=oxygen transparent"(last line)  in [General]
after this file modification i don't have crash on Gwenview exit!

BEFORE modification

[General]
BrowserApplication=google-chrome.desktop
ColorScheme=Текущая схема
XftAntialias=true
XftSubPixel=none
desktopFont=Verdana,9,-1,5,50,0,0,0,0,0
fixed=Monospace,9,-1,5,50,0,0,0,0,0
font=Verdana,9,-1,5,50,0,0,0,0,0
menuFont=Verdana,9,-1,5,50,0,0,0,0,0
shadeSortColumn=true
smallestReadableFont=Verdana,8,-1,5,50,0,0,0,0,0
taskbarFont=Verdana,9,-1,5,50,0,0,0,0,0
toolBarFont=Verdana,9,-1,5,50,0,0,0,0,0
widgetStyle=oxygen transparent


AFTER

[General]
BrowserApplication=google-chrome.desktop
ColorScheme=Текущая схема
XftAntialias=true
XftSubPixel=none
desktopFont=Verdana,9,-1,5,50,0,0,0,0,0
fixed=Monospace,9,-1,5,50,0,0,0,0,0
font=Verdana,9,-1,5,50,0,0,0,0,0
menuFont=Verdana,9,-1,5,50,0,0,0,0,0
shadeSortColumn=true
smallestReadableFont=Verdana,8,-1,5,50,0,0,0,0,0
taskbarFont=Verdana,9,-1,5,50,0,0,0,0,0
toolBarFont=Verdana,9,-1,5,50,0,0,0,0,0

and in my case problem was solved

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 0x7ffc37dfa840 (LWP 7131))]

Thread 3 (Thread 0x7ffc1f683700 (LWP 7132)):
#0  0x00007ffc306c461a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffc306c49a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffc30682a59 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffc30682f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffc306830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffc36c407be in QEventDispatcherGlib::processEvents (this=0x7ffc180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007ffc36c120af in QEventLoop::processEvents (this=this@entry=0x7ffc1f682d60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ffc36c123a5 in QEventLoop::exec (this=this@entry=0x7ffc1f682d60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ffc36b0ec5f in QThread::exec (this=this@entry=0x270c950) at thread/qthread.cpp:537
#9  0x00007ffc36bf3823 in QInotifyFileSystemWatcherEngine::run (this=0x270c950) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007ffc36b1132f in QThreadPrivate::start (arg=0x270c950) at thread/qthread_unix.cpp:349
#11 0x00007ffc30b4e182 in start_thread (arg=0x7ffc1f683700) at pthread_create.c:312
#12 0x00007ffc348c6fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ffc1e7a4700 (LWP 7133)):
#0  0x00007ffc348b9c6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffc30682fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffc306830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffc36c407be in QEventDispatcherGlib::processEvents (this=0x7ffc100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007ffc36c120af in QEventLoop::processEvents (this=this@entry=0x7ffc1e7a3d60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffc36c123a5 in QEventLoop::exec (this=this@entry=0x7ffc1e7a3d60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffc36b0ec5f in QThread::exec (this=this@entry=0x27893c0) at thread/qthread.cpp:537
#7  0x00007ffc36bf3823 in QInotifyFileSystemWatcherEngine::run (this=0x27893c0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ffc36b1132f in QThreadPrivate::start (arg=0x27893c0) at thread/qthread_unix.cpp:349
#9  0x00007ffc30b4e182 in start_thread (arg=0x7ffc1e7a4700) at pthread_create.c:312
#10 0x00007ffc348c6fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffc37dfa840 (LWP 7131)):
[KCrash Handler]
#6  0x00007ffc357138c9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x25fec30, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#7  0x00007ffc35713949 in QRasterWindowSurface::~QRasterWindowSurface (this=0x25fec30, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#8  0x00007ffc3572bc5c in QWidgetBackingStore::~QWidgetBackingStore (this=0x2af49d0, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#9  0x00007ffc35564009 in QWidgetBackingStoreTracker::destroy (this=0x2c3fdd0) at kernel/qwidget.cpp:225
#10 0x00007ffc355641a9 in QWidgetPrivate::deleteExtra (this=this@entry=0x29b5f00) at kernel/qwidget.cpp:1833
#11 0x00007ffc355643bd in QWidgetPrivate::~QWidgetPrivate (this=0x29b5f00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:365
#12 0x00007ffc35564649 in QWidgetPrivate::~QWidgetPrivate (this=0x29b5f00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:370
#13 0x00007ffc36c2c735 in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#14 ~QScopedPointer (this=0x29b5ce8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#15 QObject::~QObject (this=0x29b5ce0, __in_chrg=<optimized out>) at kernel/qobject.cpp:816
#16 0x00007ffc3556cdcc in QWidget::~QWidget (this=0x29b5ce0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554
#17 0x00007ffc3556d049 in QWidget::~QWidget (this=0x29b5ce0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1703
#18 0x00007ffc35abc995 in QGlobalStaticDeleter<QWidget>::~QGlobalStaticDeleter (this=0x7ffc360091a0 <_ZZL21globalStyleInfoWidgetvE7cleanup>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1960
#19 0x00007ffc34808149 in __run_exit_handlers (status=0, listp=0x7ffc34b8b6c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#20 0x00007ffc34808195 in __GI_exit (status=<optimized out>) at exit.c:104
#21 0x00007ffc347edecc in __libc_start_main (main=0x427580 <main(int, char**)>, argc=6, argv=0x7fff65b8f288, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff65b8f278) at libc-start.c:321
#22 0x0000000000427b22 in _start ()

Possible duplicates by query: bug 331005, bug 330831, bug 330243, bug 330038, bug 328666.

Отправить на https://bugs.kde.org/
Comment 60 margueritesu 2014-11-07 09:57:23 UTC
Created attachment 89491 [details]
New crash information added by DrKonqi

gwenview (4.14.0 pre) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

Just closed Gwenview.

- Unusual behavior I noticed:

Crash reporter jumped.

- Custom settings of the application:

It's Oxygen Transparent related. so please assign to its developer :-)

-- Backtrace (Reduced):
#5  0x00007fd74b8f1d29 in QRasterWindowSurface::~QRasterWindowSurface() (this=0x208b5b0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#6  0x00007fd74b8f1da9 in QRasterWindowSurface::~QRasterWindowSurface() (this=0x208b5b0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#7  0x00007fd74b90a07c in QWidgetBackingStore::~QWidgetBackingStore() (this=0x2077750, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#8  0x00007fd74b746709 in QWidgetBackingStoreTracker::destroy() (this=0x21c0370) at kernel/qwidget.cpp:225
#9  0x00007fd74b7468a9 in QWidgetPrivate::deleteExtra() (this=this@entry=0x209c2d0) at kernel/qwidget.cpp:1833
Comment 61 Rebecca B. 2014-11-12 23:03:17 UTC
Created attachment 89567 [details]
New crash information added by DrKonqi

kmix (4.5) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

i closed kmix. it crash everytime when crash

-- Backtrace (Reduced):
#6  0x000000399e7c87b9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x23227c0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#7  0x000000399e7c8839 in QRasterWindowSurface::~QRasterWindowSurface (this=0x23227c0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#8  0x000000399e7e13cc in QWidgetBackingStore::~QWidgetBackingStore (this=0x23d00a0, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#9  0x000000399e6109f9 in QWidgetBackingStoreTracker::destroy (this=0x26983a0) at kernel/qwidget.cpp:225
#10 0x000000399e610ba9 in QWidgetPrivate::deleteExtra (this=this@entry=0x24e5420) at kernel/qwidget.cpp:1833
Comment 62 Christoph Feck 2014-11-29 12:42:31 UTC
*** Bug 341395 has been marked as a duplicate of this bug. ***
Comment 63 Myriam Schweingruber 2014-11-30 17:16:42 UTC
*** Bug 341443 has been marked as a duplicate of this bug. ***
Comment 64 Arjun AK 2014-12-01 14:50:43 UTC
*** Bug 341464 has been marked as a duplicate of this bug. ***
Comment 65 Christoph Feck 2015-01-07 15:40:42 UTC
*** Bug 342543 has been marked as a duplicate of this bug. ***
Comment 66 Christoph Feck 2015-01-14 17:37:38 UTC
*** Bug 342840 has been marked as a duplicate of this bug. ***
Comment 67 Christoph Feck 2015-01-22 12:51:18 UTC
*** Bug 343139 has been marked as a duplicate of this bug. ***
Comment 68 Myriam Schweingruber 2015-01-23 11:28:03 UTC
*** Bug 343189 has been marked as a duplicate of this bug. ***
Comment 69 Christoph Feck 2015-03-12 21:32:36 UTC
*** Bug 345095 has been marked as a duplicate of this bug. ***
Comment 70 Christoph Feck 2015-03-18 06:46:43 UTC
*** Bug 345287 has been marked as a duplicate of this bug. ***
Comment 71 Christoph Feck 2015-03-30 19:01:10 UTC
*** Bug 345636 has been marked as a duplicate of this bug. ***
Comment 72 Alex Bikadorov 2016-12-19 19:58:37 UTC
*** Bug 373899 has been marked as a duplicate of this bug. ***
Comment 73 Landis 2016-12-21 20:40:20 UTC
Created attachment 102924 [details]
New crash information added by DrKonqi

krusader (2.4.0-beta3 "Single Step") on KDE Platform 4.14.9 using Qt 4.8.6

- What I was doing when the application crashed:

using krusader as normal. works fine while open
Quit
Crash! 
Every Time.

-- Backtrace (Reduced):
#6  0x00007fb56df48d29 in QRasterWindowSurface::~QRasterWindowSurface (this=0x29db4c0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#7  0x00007fb56df48da9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x29db4c0, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#8  0x00007fb56df6107c in QWidgetBackingStore::~QWidgetBackingStore (this=0x2db8dc0, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#9  0x00007fb56dd9d709 in QWidgetBackingStoreTracker::destroy (this=0x2db8d10) at kernel/qwidget.cpp:225
#10 0x00007fb56dd9d8a9 in QWidgetPrivate::deleteExtra (this=this@entry=0x297f450) at kernel/qwidget.cpp:1833
Comment 74 Christoph Feck 2016-12-21 21:14:45 UTC
Use Krusader 2.5.0, which is not based on Qt 4.