Application: kwin (4.11.12) KDE Platform Version: 4.14.2 Qt Version: 4.8.6 Operating System: Linux 3.16.6-2-desktop x86_64 Distribution: "openSUSE 13.2 (Harlequin) (x86_64)" -- Information about the crash: - What I was doing when the application crashed: i was opening dolphin when crash and somtimes kwin or another things crashed i dont know why does it happen The crash can be reproduced sometimes. -- Backtrace: Application: KWin (kwin), signal: Bus error Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f54f9a36800 (LWP 29083))] Thread 2 (Thread 0x7f54dadca700 (LWP 29096)): #0 0x00007f54f323505f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f54f84628cb in () at /usr/lib64/libQtScript.so.4 #2 0x00007f54f8462909 in () at /usr/lib64/libQtScript.so.4 #3 0x00007f54f32310a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f54f92617fd in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f54f9a36800 (LWP 29083)): [KCrash Handler] #5 0x00007f54f920c6c9 in __memcpy_sse2_unaligned () at /lib64/libc.so.6 #6 0x00007f54f3dcc2df in KSharedDataCache::insert(QString const&, QByteArray const&) () at /usr/lib64/libkdecore.so.5 #7 0x00007f54f7f14f71 in KImageCache::insertImage(QString const&, QImage const&) () at /usr/lib64/libkdeui.so.5 #8 0x00007f54f7f15119 in KImageCache::insertPixmap(QString const&, QPixmap const&) () at /usr/lib64/libkdeui.so.5 #9 0x00007f54f792658f in () at /usr/lib64/libplasma.so.3 #10 0x00007f54f792db59 in () at /usr/lib64/libplasma.so.3 #11 0x00007f54f35dd1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #12 0x00007f54f35e13b1 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4 #13 0x00007f54f274576c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #14 0x00007f54f274bcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #15 0x00007f54f7eb5bda in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5 #16 0x00007f54f35c92ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #17 0x00007f54f35f8cbc in () at /usr/lib64/libQtCore.so.4 #18 0x00007f54f35f9d18 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #19 0x00007f54f27e2f96 in () at /usr/lib64/libQtGui.so.4 #20 0x00007f54f35c7e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #21 0x00007f54f35c8165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #22 0x00007f54f35cd5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4 #23 0x00007f54f95a27a3 in kdemain () at /usr/lib64/libkdeinit4_kwin.so #24 0x00007f54f919db05 in __libc_start_main () at /lib64/libc.so.6 #25 0x000000000040075e in _start () Reported using DrKonqi
W/ 99% chance your /var partition is full.
My partition /var is almost clear because I've installed opensuse with kde 4.14.2 the same day that i had problems
*** Bug 340634 has been marked as a duplicate of this bug. ***
*** Bug 340651 has been marked as a duplicate of this bug. ***
*** Bug 340654 has been marked as a duplicate of this bug. ***
*** Bug 340669 has been marked as a duplicate of this bug. ***
*** Bug 340775 has been marked as a duplicate of this bug. ***
*** Bug 340786 has been marked as a duplicate of this bug. ***
*** Bug 340791 has been marked as a duplicate of this bug. ***
*** Bug 340822 has been marked as a duplicate of this bug. ***
*** Bug 340826 has been marked as a duplicate of this bug. ***
*** Bug 340827 has been marked as a duplicate of this bug. ***
*** Bug 340898 has been marked as a duplicate of this bug. ***
*** Bug 340911 has been marked as a duplicate of this bug. ***
*** Bug 340955 has been marked as a duplicate of this bug. ***
*** Bug 340975 has been marked as a duplicate of this bug. ***
*** Bug 341027 has been marked as a duplicate of this bug. ***
*** Bug 341030 has been marked as a duplicate of this bug. ***
First, sorry for the flood, but I noticed a pattern here (all from openSUSE 13.2). This could be related to switching to btrfs file system. I have no idea if btrfs supports the same file pre-allocation calls that ext4 does. If this is reproducible, please try (re)moving /var/tmp/kdecache-user/*.kcache files. Adding Hrvoje from openSUSE KDE team.
i have really little knowledge about BTRFS, and what does it do differently vs. ext4. from quick google it would appear it supports posix_fallocate fine.. however, i've stumbled upon this thread http://www.spinics.net/lists/linux-btrfs/msg38740.html which indicates some problems with mmap usage + btrfs + kernel 3.16 < 3.17.2 will try to investigate with other folks do they have some ideas what could go wrong (and does openSUSE carries some specific patches wrt. btrfs)
*** Bug 340930 has been marked as a duplicate of this bug. ***
Thanks for the link, the fallocate+mmap pattern mentioned there is indeed the same usage pattern as in kshareddatacache. Can anyone confirm that using btrfs with 3.17.2 kernel fixes the issue? openSUSE offers newer kernel builds for testing, see http://download.opensuse.org/repositories/Kernel:/stable/standard/
I can confirm that switching rootfs back to ext4 fixes the issue completely with exactly the same software/hardware configuration, so the issue is indeed btrfs-related.
I can also confirm that switching the rootfs back to ext4 resolves the issue with the same hardware configuration. I have just reinstalled openSUSE 13.2 x64, using btrfs on the rootfs. I immediately updated to the 3.17.3-1.g76fe48f-desktop kernel once I was in KDE. I will report back with any findings.
It looks like the problem is fixed with the 3.17.3 kernel I installed. I would have had a crash by now, which seemed to happen more often with heavy disk activity. I have performed tests using rsync on my system, and no crashes have occurred.
if i correctly compared patches mentioned in that thread, they are also backported into 3.16 branch (so, present with kernel 3.16.7; openSUSE 13.2 release has 3.16.6) will open a report at openSUSE bugzilla so our kernel team can take a look and either backport also, or just update to 3.16.7.
Created attachment 89625 [details] New crash information added by DrKonqi plasma-desktop (4.11.12) on KDE Platform 4.14.2 using Qt 4.8.6 - What I was doing when the application crashed: I was copying multiple files from usb external disk using dolphin. - Unusual behavior I noticed: crash desktop, only apps are running -- Backtrace (Reduced): #7 0x00007f4c3408405c in qstrncmp (len=<optimized out>, str2=<optimized out>, str1=<optimized out>) at /usr/include/QtCore/qbytearray.h:104 #8 findNamedEntry (key=..., this=0x7f4c12fd7000) at /usr/src/debug/kdelibs-4.14.2/kdecore/util/kshareddatacache.cpp:790 #9 KSharedDataCache::find (this=this@entry=0xbc77b0, key=..., destination=destination@entry=0x7fffdd0f8590) at /usr/src/debug/kdelibs-4.14.2/kdecore/util/kshareddatacache.cpp:1613 #10 0x00007f4c348fc975 in KImageCache::findPixmap (this=0xbc77b0, key=..., destination=destination@entry=0x7fffdd0f85f0) at /usr/src/debug/kdelibs-4.14.2/kdeui/util/kimagecache.cpp:150 #11 0x00007f4c2880fd33 in Plasma::Theme::findInCache (this=0xcacd00, key=..., pix=...) at /usr/src/debug/kdelibs-4.14.2/plasma/theme.cpp:1045
Created attachment 89643 [details] New crash information added by DrKonqi plasma-desktop (4.11.12) on KDE Platform 4.14.2 using Qt 4.8.6 - What I was doing when the application crashed: Copied some files, ahd dolphin open, fresh installation: crash then crash every login -- Backtrace (Reduced): #7 0x00007fa9e11d105c in qstrncmp (len=<optimized out>, str2=<optimized out>, str1=<optimized out>) at /usr/include/QtCore/qbytearray.h:104 #8 findNamedEntry (key=..., this=0x7fa9be894000) at /usr/src/debug/kdelibs-4.14.2/kdecore/util/kshareddatacache.cpp:790 #9 KSharedDataCache::find (this=this@entry=0xa42ef0, key=..., destination=destination@entry=0x7fff2fb7ed40) at /usr/src/debug/kdelibs-4.14.2/kdecore/util/kshareddatacache.cpp:1613 #10 0x00007fa9e1a49975 in KImageCache::findPixmap (this=0xa42ef0, key=..., destination=destination@entry=0x7fff2fb7eda0) at /usr/src/debug/kdelibs-4.14.2/kdeui/util/kimagecache.cpp:150 #11 0x00007fa9d595cd33 in Plasma::Theme::findInCache (this=0xa92ea0, key=..., pix=...) at /usr/src/debug/kdelibs-4.14.2/plasma/theme.cpp:1045
I can confirm that after upgrading to kernel 3.17.3, I do not have crash since 2-3 days.
*** Bug 341168 has been marked as a duplicate of this bug. ***
*** Bug 341249 has been marked as a duplicate of this bug. ***
*** Bug 341295 has been marked as a duplicate of this bug. ***
*** Bug 341371 has been marked as a duplicate of this bug. ***
downstream report @ https://bugzilla.suse.com/show_bug.cgi?id=905832 if someone can check https://bugzilla.suse.com/show_bug.cgi?id=905832#c5 please report success or failure there.. TIA
*** Bug 341399 has been marked as a duplicate of this bug. ***
*** Bug 341431 has been marked as a duplicate of this bug. ***
*** Bug 341648 has been marked as a duplicate of this bug. ***
I had this bug with openSuSE 13.2 - kernel 3.16-6 to 3.16.7 After i made a backup of my home-dir, I got an erro, that some files could not be copied. I made a recovery-boot and I started making a xfs_repair -L /dev/sdaX (where X is my partition of the home-dir; and yes I have had a backup of my home). After 2 times of starting the xfs_repair command, my crash is gone and KDE is starting without problems. Don't no if this is the solution, but for me it helped. Grettings Gerald
*** Bug 341800 has been marked as a duplicate of this bug. ***
*** Bug 342770 has been marked as a duplicate of this bug. ***
*** Bug 343571 has been marked as a duplicate of this bug. ***
*** Bug 344927 has been marked as a duplicate of this bug. ***
*** Bug 356427 has been marked as a duplicate of this bug. ***