Bug 335071 - Dolphin: Crash on exit
Summary: Dolphin: Crash on exit
Status: RESOLVED DUPLICATE of bug 299736
Alias: None
Product: Oxygen
Classification: Plasma
Component: general (show other bugs)
Version: 4.13.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords: drkonqi
: 342564 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-20 09:48 UTC by sedrubal
Modified: 2015-01-08 07:27 UTC (History)
3 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 sedrubal 2014-05-20 09:48:50 UTC
Application: dolphin (4.13.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I closed Dolphin with the window X but I didn't realized anything unnormal before.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f20f145a7c0 (LWP 18693))]

Thread 3 (Thread 0x7f20d3446700 (LWP 18694)):
#0  0x00007f20f0d1bfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f20e7c8cfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f20e7c8d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f20ecd8c7be in QEventDispatcherGlib::processEvents (this=0x7f20cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f20ecd5e0af in QEventLoop::processEvents (this=this@entry=0x7f20d3445de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f20ecd5e3a5 in QEventLoop::exec (this=this@entry=0x7f20d3445de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f20ecc5ac5f in QThread::exec (this=this@entry=0x1d28980) at thread/qthread.cpp:537
#7  0x00007f20ecd3f823 in QInotifyFileSystemWatcherEngine::run (this=0x1d28980) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f20ecc5d32f in QThreadPrivate::start (arg=0x1d28980) at thread/qthread_unix.cpp:349
#9  0x00007f20e816c182 in start_thread (arg=0x7f20d3446700) at pthread_create.c:312
#10 0x00007f20f0d2930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f20d1c47700 (LWP 18696)):
#0  0x00007f20f0d1bfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f20e7c8cfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f20e7c8d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f20ecd8c7be in QEventDispatcherGlib::processEvents (this=0x7f20c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f20ecd5e0af in QEventLoop::processEvents (this=this@entry=0x7f20d1c46de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f20ecd5e3a5 in QEventLoop::exec (this=this@entry=0x7f20d1c46de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f20ecc5ac5f in QThread::exec (this=this@entry=0x2034990) at thread/qthread.cpp:537
#7  0x00007f20ecd3f823 in QInotifyFileSystemWatcherEngine::run (this=0x2034990) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f20ecc5d32f in QThreadPrivate::start (arg=0x2034990) at thread/qthread_unix.cpp:349
#9  0x00007f20e816c182 in start_thread (arg=0x7f20d1c47700) at pthread_create.c:312
#10 0x00007f20f0d2930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f20f145a7c0 (LWP 18693)):
[KCrash Handler]
#6  deref (this=0x1ed0c58c8) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  ~QMap (this=0x2cc5a10, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qmap.h:185
#8  QImageData::~QImageData (this=0x2cc59b0, __in_chrg=<optimized out>) at image/qimage.cpp:220
#9  0x00007f20ed807edb in QImage::~QImage (this=0x2994870, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#10 0x00007f20ed82fe81 in QRasterPixmapData::~QRasterPixmapData (this=0x2994840, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:93
#11 0x00007f20ed82feb9 in QRasterPixmapData::~QRasterPixmapData (this=0x2994840, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:95
#12 0x00007f20ed8217ca in ~QExplicitlySharedDataPointer (this=0x2b40730, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:166
#13 QPixmap::~QPixmap (this=0x2b40720, __in_chrg=<optimized out>) at image/qpixmap.cpp:347
#14 0x00007f20d7de04a7 in QVector<QPixmap>::free (x=0x2b406e0, this=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:466
#15 0x00007f20d7de133e in ~QVector (this=0x2cf0048, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:124
#16 ~TileSet (this=0x2cf0040, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:75
#17 Oxygen::TileSet::~TileSet (this=0x2cf0040, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:75
#18 0x00007f20d7e1670f in clear (this=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:139
#19 ~QCache (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:103
#20 ~BaseCache (this=<optimized out>, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:63
#21 Oxygen::StyleHelper::~StyleHelper (this=0x1b8bf60, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#22 0x00007f20d7e174e9 in Oxygen::StyleHelper::~StyleHelper (this=0x1b8bf60, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#23 0x00007f20d7de625d in Oxygen::Style::~Style (this=0x1b20c80, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:201
#24 0x00007f20d7de62a9 in Oxygen::Style::~Style (this=0x1b20c80, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:201
#25 0x00007f20ed752ce3 in QApplication::~QApplication (this=0x7fff1db260a0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1178
#26 0x00007f20f10444ff in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#27 0x00007f20f0c4fec5 in __libc_start_main (main=0x4006d0, argc=5, argv=0x7fff1db261d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1db261c8) at libc-start.c:287
#28 0x00000000004006fe in _start ()

Reported using DrKonqi
Comment 1 Emmanuel Pescosta 2014-05-20 09:51:29 UTC
Thanks for the bug report!

Looks like a crash in Oxygen Style, I'll reassign it.
Comment 2 Hugo Pereira Da Costa 2014-05-20 11:51:09 UTC
this is a crash in Qt. Not in oxygen ...
Comment 3 Christoph Feck 2014-05-20 11:54:48 UTC
It's still odd that this crash only happens with the custom tile QCache that Oxygen uses, but not with QPixmapCache, that is used by all Qt applications.
Comment 4 Hugo Pereira Da Costa 2014-05-20 11:57:24 UTC

*** This bug has been marked as a duplicate of bug 299736 ***
Comment 5 Hugo Pereira Da Costa 2014-05-20 11:58:35 UTC
yes. 
I have no clue why. My gut-guess is that it is related to the way that things are deallocated by Qt, between QApp, widgets and style.
Comment 6 Hugo Pereira Da Costa 2014-05-20 12:00:53 UTC
... I guess I could try use QPixmapCache internally instead of QCache, though that would require quite some reworking of the code.
Comment 7 Frank Reininghaus 2015-01-08 07:27:25 UTC
*** Bug 342564 has been marked as a duplicate of this bug. ***