Bug 373054 - Lots of crashes at login and logout with this version of KDE and openSUSE Leap 42.2
Summary: Lots of crashes at login and logout with this version of KDE and openSUSE Lea...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.28.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords: drkonqi
: 373634 376510 416836 417010 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-28 22:48 UTC by Aaron Digulla
Modified: 2022-10-28 16:50 UTC (History)
5 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 Aaron Digulla 2016-11-28 22:48:04 UTC
Application: kwin_x11 (5.8.3)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.27-2-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
3D driver: NVidia 375.20
nouveau is disabled.
I'm having a lot of problems lately with openSUSE Leap 42.2 and KDE. It feels that every package update breaks the 3D libraries in some way.

My guess is that there is a bug somewhere between the kernel, the NVIDIA driver and KDE. KDE apps like kwin, kmix, sddm-greeter (whatever that is) crash when I restart or when I try to log out.

The log out is especially bad since after the update, I have to switch to the console to reboot since the "hey, I want to leave" dialog (sddm-greeter?) crashes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3872f86940 (LWP 2803))]

Thread 2 (Thread 0x7f3853fff700 (LWP 2819)):
#0  0x00007f38726edb03 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f386fdc0849 in qt_safe_select (nfds=8, fdread=0x7f384c000a78, fdwrite=0x7f384c000d08, fdexcept=0x7f384c000f98, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f386fdc20c3 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f384c0008e0, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007f386fdc2527 in QEventDispatcherUNIX::processEvents (this=0x7f384c0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007f386fd71fdb in QEventLoop::exec (this=this@entry=0x7f3853ffec60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f386fbacf1a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f386997f1d5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f386fbb19e9 in QThreadPrivate::start (arg=0x7f3869be7ce0) at thread/qthread_unix.cpp:341
#8  0x00007f38729b6734 in start_thread (arg=0x7f3853fff700) at pthread_create.c:334
#9  0x00007f38726f4d3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3872f86940 (LWP 2803)):
[KCrash Handler]
#6  0x00007f38729c0490 in _xend () at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
#7  __lll_unlock_elision (lock=0x7f3852def008, private=128) at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:29
#8  0x00007f387163bc2b in KSharedDataCache::Private::unlock (this=0x212f9e0) at /usr/src/debug/kcoreaddons-5.26.0/src/lib/caching/kshareddatacache.cpp:1226
#9  KSharedDataCache::Private::CacheLocker::~CacheLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/src/debug/kcoreaddons-5.26.0/src/lib/caching/kshareddatacache.cpp:1298
#10 KSharedDataCache::find (this=0x212d4d0, key=..., destination=destination@entry=0x7ffc8cfa2740) at /usr/src/debug/kcoreaddons-5.26.0/src/lib/caching/kshareddatacache.cpp:1580
#11 0x00007f3866e35998 in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x212cc70, key=..., data=..., path=...) at /usr/src/debug/kiconthemes-5.26.0/src/kiconloader.cpp:984
#12 0x00007f3866e368a0 in KIconLoader::loadIcon (this=0x7f386704ccd0 <(anonymous namespace)::Q_QGS_globalIconLoader::innerFunction()::holder>, _name=..., group=group@entry=KIconLoader::Desktop, size=16, state=0, overlays=..., path_store=path_store@entry=0x0, canReturnNull=canReturnNull@entry=false) at /usr/src/debug/kiconthemes-5.26.0/src/kiconloader.cpp:1277
#13 0x00007f3866e2dc78 in KIconEngine::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at /usr/src/debug/kiconthemes-5.26.0/src/kiconengine.cpp:102
#14 0x00007f3870342839 in QIcon::pixmap (this=this@entry=0x7ffc8cfa2ae0, window=window@entry=0x0, size=..., mode=mode@entry=QIcon::Normal, state=state@entry=QIcon::Off) at image/qicon.cpp:839
#15 0x00007f38703428da in QIcon::pixmap (this=this@entry=0x7ffc8cfa2ae0, size=..., mode=mode@entry=QIcon::Normal, state=state@entry=QIcon::Off) at image/qicon.cpp:775
#16 0x00007f3851fc034c in QIcon::pixmap (state=QIcon::Off, mode=QIcon::Normal, h=16, w=16, this=0x7ffc8cfa2ae0) at /usr/include/qt5/QtGui/qicon.h:77
#17 KWindowSystemPrivateX11::iconFromNetWinInfo (this=<optimized out>, width=16, height=16, scale=<optimized out>, flags=<optimized out>, info=0x23c1b20) at /usr/src/debug/kwindowsystem-5.26.0/src/platforms/xcb/kwindowsystem.cpp:772
#18 0x00007f38713b0e02 in KWindowSystem::icon (win=8388616, width=width@entry=16, height=height@entry=16, scale=scale@entry=true, flags=flags@entry=12, info=0x23c1b20) at /usr/src/debug/kwindowsystem-5.26.0/src/kwindowsystem.cpp:512
#19 0x00007f38721fea1d in KWin::Client::getIcons (this=this@entry=0x22ec030) at /usr/src/debug/kwin-5.8.3/client.cpp:1717
#20 0x00007f387225e714 in KWin::Client::manage (this=this@entry=0x22ec030, w=w@entry=8388616, isMapped=isMapped@entry=true) at /usr/src/debug/kwin-5.8.3/manage.cpp:145
#21 0x00007f38721e0994 in KWin::Workspace::createClient (this=this@entry=0x21c95f0, w=8388616, is_mapped=is_mapped@entry=true) at /usr/src/debug/kwin-5.8.3/workspace.cpp:517
#22 0x00007f38721e715c in KWin::Workspace::init (this=this@entry=0x21c95f0) at /usr/src/debug/kwin-5.8.3/workspace.cpp:324
#23 0x00007f38721e7bb8 in KWin::Workspace::Workspace (this=0x21c95f0, sessionKey=...) at /usr/src/debug/kwin-5.8.3/workspace.cpp:210
#24 0x00007f387223e4f3 in KWin::Application::createWorkspace (this=0x7ffc8cfa3e50) at /usr/src/debug/kwin-5.8.3/main.cpp:271
#25 0x00007f3872bd289e in KWin::ApplicationX11::__lambda8::__lambda9::operator() (__closure=0x21818b0) at /usr/src/debug/kwin-5.8.3/main_x11.cpp:250
#26 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ApplicationX11::performStartup()::__lambda8::__lambda9>::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:495
#27 QtPrivate::Functor<KWin::ApplicationX11::performStartup()::__lambda8::__lambda9, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:552
#28 QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::__lambda8::__lambda9, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x21818a0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobject_impl.h:192
#29 0x00007f386fd9e1c3 in QtPrivate::QSlotObjectBase::call (a=0x7ffc8cfa3460, r=0x7ffc8cfa3e50, this=0x21818a0) at ../../src/corelib/kernel/qobject_impl.h:124
#30 QMetaObject::activate (sender=0x21169d0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3715
#31 0x00007f3872bd2d6c in KWin::ApplicationX11::__lambda8::operator() (__closure=0x2123680) at /usr/src/debug/kwin-5.8.3/main_x11.cpp:263
#32 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ApplicationX11::performStartup()::__lambda8>::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:495
#33 QtPrivate::Functor<KWin::ApplicationX11::performStartup()::__lambda8, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:552
#34 QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::__lambda8, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x2123670, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobject_impl.h:192
#35 0x00007f386fd9e1c3 in QtPrivate::QSlotObjectBase::call (a=0x7ffc8cfa3630, r=0x21130a0, this=0x2123670) at ../../src/corelib/kernel/qobject_impl.h:124
#36 QMetaObject::activate (sender=0x21130a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3715
#37 0x00007f386fd9e717 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f38715d3ae0 <KSelectionOwner::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3595
#38 0x00007f38713c6923 in KSelectionOwner::claimedOwnership (this=<optimized out>) at /usr/src/debug/kwindowsystem-5.26.0/build/src/moc_kselectionowner.cpp:154
#39 0x00007f38713b311b in KSelectionOwner::Private::claimSucceeded (this=0x2124a80) at /usr/src/debug/kwindowsystem-5.26.0/src/platforms/xcb/kselectionowner.cpp:206
#40 0x00007f38713b3192 in KSelectionOwner::Private::gotTimestamp (this=<optimized out>) at /usr/src/debug/kwindowsystem-5.26.0/src/platforms/xcb/kselectionowner.cpp:240
#41 0x00007f38713b38b9 in KSelectionOwner::filterEvent (this=0x21130a0, ev_P=<optimized out>) at /usr/src/debug/kwindowsystem-5.26.0/src/platforms/xcb/kselectionowner.cpp:424
#42 0x00007f386fd71270 in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7f38540013d0, result=result@entry=0x7ffc8cfa37a8) at kernel/qabstracteventdispatcher.cpp:460
#43 0x00007f385b6f5be4 in QXcbConnection::handleXcbEvent (this=this@entry=0x20c2120, event=event@entry=0x7f38540013d0) at qxcbconnection.cpp:1091
#44 0x00007f385b6f7c3b in QXcbConnection::processXcbEvents (this=0x20c2120) at qxcbconnection.cpp:1723
#45 0x00007f386fd9f166 in QObject::event (this=0x20c2120, e=<optimized out>) at kernel/qobject.cpp:1256
#46 0x00007f3870a7ae3c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x20c2120, e=0x7f3854001420) at kernel/qapplication.cpp:3804
#47 0x00007f3870a7f49a in QApplication::notify (this=0x7ffc8cfa3e50, receiver=0x20c2120, e=0x7f3854001420) at kernel/qapplication.cpp:3561
#48 0x00007f386fd73fc5 in QCoreApplication::notifyInternal2 (receiver=0x20c2120, event=event@entry=0x7f3854001420) at kernel/qcoreapplication.cpp:1015
#49 0x00007f386fd75daa in QCoreApplication::sendEvent (event=0x7f3854001420, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20a5810) at kernel/qcoreapplication.cpp:1650
#51 0x00007f386fdc24b4 in QEventDispatcherUNIX::processEvents (this=0x20f6ab0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:579
#52 0x00007f385b75994d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#53 0x00007f386fd71fdb in QEventLoop::exec (this=this@entry=0x7ffc8cfa3d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#54 0x00007f386fd79ec6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#55 0x00007f38702bf70c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1607
#56 0x00007f3870a78045 in QApplication::exec () at kernel/qapplication.cpp:2979
#57 0x00007f3872bd49cc in kdemain (argc=1, argv=0x7ffc8cfa3fd8) at /usr/src/debug/kwin-5.8.3/main_x11.cpp:466
#58 0x00007f387262b6e5 in __libc_start_main (main=0x4007d0 <main(int, char**)>, argc=3, argv=0x7ffc8cfa3fd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc8cfa3fc8) at libc-start.c:289
#59 0x0000000000400809 in _start () at ../sysdeps/x86_64/start.S:118

Reported using DrKonqi
Comment 1 Martin Flöser 2016-11-29 06:22:46 UTC
Crash is in KSharedDataCache. Very unlikely to be related to 3D libraries.

Check that the filesystem has free space, that it's not corrupted and that all files are owned by you.

Reassigning to framework which contains KSharedDataCache.
Comment 2 Aaron Digulla 2016-11-29 19:50:34 UTC
I have 100GB free on /home and 160GB on root.

My guess is that this is the /home file system which could be corrupt. Any idea which folder? ~/.kde4/?
Comment 3 Elvis Angelaccio 2016-12-24 13:39:02 UTC
*** Bug 373634 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2017-02-18 11:47:59 UTC
*** Bug 376510 has been marked as a duplicate of this bug. ***
Comment 5 Dominik Haumann 2017-02-18 11:49:45 UTC
@Luca: Could you have a look and comment on this?
Comment 6 Dominik Haumann 2017-02-18 11:51:08 UTC
What's also important to note is that the frameworks version is "old". I am aware of the fact that it was decided to stay with KDE Frameworks 5.26, but the thing is that this is a combination that (from a KDE perspective) is rather untested. Maybe this could lead to this kind of issues? Just a guess..
Comment 7 Nate Graham 2020-01-28 18:00:59 UTC
*** Bug 416836 has been marked as a duplicate of this bug. ***
Comment 8 Harald Sitter 2020-09-07 06:31:02 UTC
*** Bug 417010 has been marked as a duplicate of this bug. ***
Comment 9 Justin Zobel 2022-10-12 03:50:06 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 10 Bug Janitor Service 2022-10-27 05:03: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
mark the bug 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 Aaron Digulla 2022-10-27 19:23:16 UTC
I can't provide any more information since I gave up on KDE a long time ago but there are duplicate bugs from 2 years ago.

I would guess the bug is still alive. For the short term, please add logging or error messages around the lines in the many reported stacktraces which contain the offending path.

That would help to track this bug down.
Comment 12 Nate Graham 2022-10-28 16:50:52 UTC
Since you aren't in a position to reproduce the issue anymore, and all duplicates are over 2 years old, there aren't a lot of debugging options. Let's close it.