Since upgrading to Kubuntu 15.10 this crash seems to occur with regularity when pausing or fast forwarding a video. However, I have suffered the same crash (possibly different root causes?) when doing other mundane tasks such as clicking the task bar. Samples from dmesg below. I do not think the wlan0 activity is related to the segmentation fault. [ 6592.767741] wlan0: authenticated [ 6592.769570] wlan0: associate with 30:91:8f:79:1c:31 (try 1/3) [ 6592.773267] wlan0: RX AssocResp from 30:91:8f:79:1c:31 (capab=0x411 status=0 aid=3) [ 6592.794517] wlan0: associated [ 7818.438647] kactivitymanage[1716]: segfault at 7fb3ddf89cd0 ip 00007fb3b7da51b1 sp 00007ffea6f56208 error 4 in libQt5Sql.so.5.4.2[7fb3b7d91000+3f000] [ 7819.384802] wlan0: deauthenticating from 30:91:8f:79:1c:31 by local choice (Reason: 3=DEAUTH_LEAVING) [ 7819.419809] cfg80211: World regulatory domain updated: [ 7819.419820] cfg80211: DFS Master region: unset [ 7819.419824] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 7819.419833] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 7819.419839] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 7819.419845] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 7819.419853] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 7819.419860] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 7819.419867] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 7819.419873] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 7819.419879] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 7831.097309] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 7833.677084] audit: type=1400 audit(1451188634.449:63): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/home/nate7809/.config/dconf/user" pid=8450 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 [ 7866.987120] wlan0: authenticate with 30:91:8f:79:1c:31 [ 7866.989637] wlan0: send auth to 30:91:8f:79:1c:31 (try 1/3) [ 7866.992988] wlan0: authenticated [ 7866.996321] wlan0: associate with 30:91:8f:79:1c:31 (try 1/3) [ 7867.000083] wlan0: RX AssocResp from 30:91:8f:79:1c:31 (capab=0x411 status=0 aid=1) [ 7867.019947] wlan0: associated [ 7867.020013] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 8021.631624] kactivitymanage[8468]: segfault at 7fd1d8a8acd0 ip 00007fd1c80c01b1 sp 00007ffe019362f8 error 4 in libQt5Sql.so.5.4.2[7fd1c80ac000+3f000] Reproducible: Always Steps to Reproduce: 1. Open / log in to PC as normal 2. Utilise KDE + any video player (I have experienced the fault with both VLC and Amarok, so there is reason to believe it is non-application specific - this is KDE-specific) 3. Use controls to pause, forward, rewind, or change volume of the video Note: I have experienced the segmentation faults when clicking in KDE as well but not as frequently Actual Results: immediate crash screen goes black followed by instantaneous log in offer back into Kwin (strange - there does not appear to be any full reboot, just a complete crash of Kwin and log back into Kwin. suspect this is only the desktop environment that crashes Expected Results: Should have behaved normally I searched for crashes related to the package named in dmesg, libQt5Sql.so.5.4.2. It is claimed in some threads that "fixes" have already been implemented for libQt5Sql.so.5.4.2. These fixes are likely to be incomplete or address a different underlying cause for the segmentation faults. I am doubtful that I am the only user experiencing this as anecdotal forum posts seem to indicate a higher degree of crashing post upgrade. Please note I was on Kubuntu 15.04 prior to 15.10 and experienced no crashes for at least the prior 6 months on the same hardware and same software and same profile. This is related to the upgrade.
Apologies, this should read "Reproducible: Sometimes"
Segfault is kactivitymanagerd, not kwin. You should get a crash dialog to obtain "developer information" - please post them since they'll (hopefully) tell why it crashes.
(In reply to Thomas Lübking from comment #2) > Segfault is kactivitymanagerd, not kwin. > You should get a crash dialog to obtain "developer information" - please > post them since they'll (hopefully) tell why it crashes. Many thanks for the prompt response and clarification. I will install kdelibs5-dbg and attempt to reproduce the error with 'gdb' backtrace information. Just to be sure - that is what you are suggesting by obtaining crash dialog? My knowledge / experience is obviously somewhat limited- but I would like to be helpful in providing the best information possible back to the community. Thank you again.
I think you would rather need libKF5Activities-dbg or something like that. Kdelibs "5" is actually Kdelibs for 4.x applications :)
I think this might be the backtrace you need? == SegvAnalysis ================================= Segfault happened at: 0x7fa54da671b1 <QSqlDatabase::close()+17>: mo v 0xc0(%rax),%rax PC (0x7fa54da671b1) ok source "0xc0(%rax)" (0x7fa567c6dcd0) not located in a known VMA region (ne eded readable region)! destination "%rax" ok == SegvReason ================================= reading unknown VMA == Signal ================================= 11 == SourcePackage ================================= kactivities-kf5 == Stacktrace ================================= #0 0x00007fa54da671b1 in QSqlDatabase::close (this=this@entry=0x1dacaf8) at kernel/qsqldatabase.cpp:871 No locals. #1 0x00007fa54da68719 in QSqlDatabase::~QSqlDatabase (this=0x1dacaf8, __i n_chrg=<optimized out>) at kernel/qsqldatabase.cpp:799 this = 0x1dacaf8 #2 0x00007fa54da6a83d in QHashNode<QString, QSqlDatabase>::~QHashNode (th is=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../ ../src/corelib/tools/qhash.h:197 No locals. #3 QHash<QString, QSqlDatabase>::deleteNode2 (node=0x1dacae0) at ../../in clude/QtCore/../../src/corelib/tools/qhash.h:545 No locals. #4 0x00007fa56636cc59 in QHashData::free_helper (this=0x1d17c00, node_del ete=0x7fa54da6a830 <QHash<QString, QSqlDatabase>::deleteNode2(QHashData::N ode*)>) at tools/qhash.cpp:493 next = 0x1d17c00 cur = 0x1dacae0 this_e = 0x1d17c00 bucket = 0x1dc1220 n = <optimized out> #5 0x00007fa54da66e83 in QHash<QString, QSqlDatabase>::freeData (this=0x7 fa54da94720 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder> , x=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash .h:581 No locals. #6 QHash<QString, QSqlDatabase>::~QHash (this=0x7fa54da94720 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_chrg=<optimized o ut>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:302 No locals. #7 QConnectionDict::~QConnectionDict (this=0x7fa54da94720 <(anonymous nam espace)::Q_QGS_dbDict::innerFunction()::holder>, __in_chrg=<optimized out> ) at kernel/qsqldatabase.cpp:110 No locals. #8 (anonymous namespace)::Q_QGS_dbDict::Holder::~Holder (this=0x7fa54da94 720 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_c hrg=<optimized out>) at kernel/qsqldatabase.cpp:126 No locals. #9 0x00007fa565b54d32 in __run_exit_handlers (status=status@entry=1, list p=0x7fa565edf698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=tru #8 (anonymous namespace)::Q_QGS_dbDict::Holder::~Holder (this=0x7fa54da94 720 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_c hrg=<optimized out>) at kernel/qsqldatabase.cpp:126 No locals. #9 0x00007fa565b54d32 in __run_exit_handlers (status=status@entry=1, list p=0x7fa565edf698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=tru e) at exit.c:82 atfct = <optimized out> onfct = <optimized out> cxafct = <optimized out> f = <optimized out> #10 0x00007fa565b54d85 in __GI_exit (status=status@entry=1) at exit.c:104 No locals. #11 0x00007fa55d59368e in QXcbConnection::processXcbEvents (this=0x1cd80e0 ) at qxcbconnection.cpp:1246 connection_error = <optimized out> eventqueue = <optimized out> #12 0x00007fa56651a651 in QObject::event (this=0x1cd80e0, e=<optimized out >) at kernel/qobject.cpp:1245 mce = <optimized out> sw = {receiver = 0x1cd80e0, previousSender = 0x0, currentSender = {sender = 0x1ce3d70, signal = 4, ref = 1}, switched = true} | #13 0x00007fa5664e8de9 in QCoreApplication::notify (this=<optimized out>, | receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplicatio| n.cpp:997 | d = <optimized out> | #14 0x00007fa5664e8f1b in QCoreApplication::notifyInternal (this=0x7ffdf4d| c56f0, receiver=0x1cd80e0, event=event@entry=0x7fa554003310) at kernel/qco| reapplication.cpp:935 | result = false | cbdata = {0x1cd80e0, 0x7fa554003310, 0x7ffdf4dc52cf} | d = <optimized out> | threadData = 0x1ccbd70 | loopLevelCounter = {threadData = 0x1ccbd70} | #15 0x00007fa5664eb057 in QCoreApplication::sendEvent (event=0x7fa55400331| 0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/ker| nel/qcoreapplication.h:228 | No locals. | #16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0| , event_type=event_type@entry=0, data=0x1ccbd70) at kernel/qcoreapplicatio| n.cpp:1552 | e = 0x7fa554003310 | pe = <optimized out> | r = <optimized out> | unlocker = {m = <synthetic pointer>} | event_deleter = {d = 0x7fa554003310} | locker = {val = 30195096} | startOffset = 0 | i = @0x1ccbd8c: 1 | cleanup = {receiver = 0x0, event_type = 0, data = 0x1ccbd70, excep| tionCaught = true} | #17 0x00007fa5664eb588 in QCoreApplication::sendPostedEvents (receiver=rec| eiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication| .cpp:1410 | data = <optimized out> #18 0x00007fa56653fe73 in postEventSourceDispatch (s=0x1d1f0a0) at kernel/ qeventdispatcher_glib.cpp:271 source = 0x1d1f0a0 #19 0x00007fa562950ff7 in g_main_context_dispatch () from /lib/x86_64-linu x-gnu/libglib-2.0.so.0 No symbol table info available. #20 0x00007fa562951250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so. 0 No symbol table info available. #21 0x00007fa5629512fc in g_main_context_iteration () from /lib/x86_64-lin ux-gnu/libglib-2.0.so.0 No symbol table info available. #22 0x00007fa56654029b in QEventDispatcherGlib::processEvents (this=0x1d10 9e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 d = 0x1d1f3a0 canWait = true savedFlags = {i = 0} result = false #23 0x00007fa5664e675a in QEventLoop::exec (this=this@entry=0x7ffdf4dc55a0 , flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 d = 0x1d2f0f0 locker = {val = 30195328} ref = {d = 0x1d2f0f0, locker = @0x7ffdf4dc5520, exceptionCaught = true} #24 0x00007fa5664ee2cc in QCoreApplication::exec () at kernel/qcoreapplica tion.cpp:1188 threadData = 0x1ccbd70 eventLoop = {<QObject> = {_vptr.QObject = 0x7fa56671c418 <vtable f or QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, string data = 0x7fa56664bea0 <qt_meta_stringdata_QObject>, data = 0x7fa56664bd80 <qt_meta_data_QObject>, static_metacall = 0x7fa566521a40 <QObject::qt_stat ic_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x1d2f0f0}, static staticQtMetaObj ect = {d = {superdata = 0x0, stringdata = 0x7fa5666936a0 <qt_meta_stringda ta_Qt>, data = 0x7fa566690e20 <qt_meta_data_Qt>, static_metacall = 0x0, re latedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7fa5667160e0 <QObject::staticMetaObject>, stringdata = 0x7 fa5666a7400 <qt_meta_stringdata_QEventLoop>, data = 0x7fa5666a73a0 <qt_met a_data_QEventLoop>, static_metacall = 0x7fa566592350 <QEventLoop::qt_stati c_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = <optimized out> #25 0x0000000000412757 in main () No symbol table info available. == StacktraceAddressSignature ================================= /usr/bin/kactivitymanagerd:11:/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.4.2 +141b1:/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.4.2+15719:/usr/lib/x86_64- linux-gnu/libQt5Sql.so.5.4.2+1783d:/usr/lib/x86_64-linux-gnu/libQt5Core.so .5.4.2+105c59:/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.4.2+13e83:/lib/x86_ 64-linux-gnu/libc-2.21.so+39d32:/lib/x86_64-linux-gnu/libc-2.21.so+39d85:/ usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so+3368e:/usr/lib/x 86_64-linux-gnu/libQt5Core.so.5.4.2+2b3651:/usr/lib/x86_64-linux-gnu/libQt 5Core.so.5.4.2+281de9:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2+281f1b :/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2+284057:/usr/lib/x86_64-linu x-gnu/libQt5Core.so.5.4.2+284588:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5 .4.2+2d8e73:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.1 (deleted)+49ff7 == StacktraceTop ================================= QSqlDatabase::close (this=this@entry=0x1dacaf8) at kernel/qsqldatabase.cpp :871 QSqlDatabase::~QSqlDatabase (this=0x1dacaf8, __in_chrg=<optimized out>) at kernel/qsqldatabase.cpp:799 QHashNode<QString, QSqlDatabase>::~QHashNode (this=<optimized out>, __in_c hrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash .h:197 QHash<QString, QSqlDatabase>::deleteNode2 (node=0x1dacae0) at ../../includ e/QtCore/../../src/corelib/tools/qhash.h:545 QHashData::free_helper (this=0x1d17c00, node_delete=0x7fa54da6a830 <QHash< QString, QSqlDatabase>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp :493 == Tags ================================= wily == ThreadStacktrace ================================= . Thread 5 (Thread 0x7fa54cb4a700 (LWP 10558)): | #0 0x00007fa565be5c4d in nanosleep () at ../sysdeps/unix/syscall-template| .S:81 | No locals. | #1 0x00007fa5663ba41d in qt_nanosleep (amount=...) at tools/qelapsedtimer| _unix.cpp:190 | r = <optimized out> | #2 0x00007fa56630867b in QThread::sleep (secs=<optimized out>) at thread/| qthread_unix.cpp:471 | No locals. | #3 0x00007fa54dad5f0a in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins| /kactivitymanagerd/kactivitymanagerd_plugin_sqlite.so | No symbol table info available. | #4 0x00007fa5663092be in QThreadPrivate::start (arg=0x1db60a0) at thread/| qthread_unix.cpp:337 | __clframe = {__cancel_routine = 0x7fa5663083f0 <QThreadPrivate::fi| nish(void*)>, __cancel_arg = 0x1db60a0, __do_it = 1, __cancel_type = <opti| mized out>} | thr = 0x1db60a0 | data = 0x1dc1bc0 | objectName = {static null = {<No data fields>}, d = 0x7fa5665b8500| <QArrayData::shared_null>} | #5 0x00007fa564b256aa in start_thread (arg=0x7fa54cb4a700) at pthread_cre| ate.c:333 | __res = <optimized out> | pd = 0x7fa54cb4a700 | now = <optimized out> | unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140347933239040, -8124| 430806302894237, 0, 140728711531631, 140347933239744, 30921792, 8073441561| 176921955, 8073529571230177123}, mask_was_saved = 0}}, priv = {pad = {0x0,| 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} | not_first_call = <optimized out> | pagesize_m1 = <optimized out> | sp = <optimized out> | freesize = <optimized out> | __PRETTY_FUNCTION__ = "start_thread" | #6 0x00007fa565c21eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/cl| one.S:109 | No locals. | . | Thread 4 (Thread 0x7fa54f46f700 (LWP 9725)): | #0 0x00007fa565c168dd in poll () at ../sysdeps/unix/syscall-template.S:81| No locals. | #1 0x00007fa5629511ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.| 0 No symbol table info available. | #7 0x00007fa5663092be in QThreadPrivate::start (arg=0x1d2d820) at thread/| qthread_unix.cpp:337 | __clframe = {__cancel_routine = 0x7fa5663083f0 <QThreadPrivate::fi| nish(void*)>, __cancel_arg = 0x1d2d820, __do_it = 1, __cancel_type = <opti| mized out>} | thr = 0x1d2d820 | data = 0x1d2da50 | objectName = {static null = {<No data fields>}, d = 0x7fa5665b8500| <QArrayData::shared_null>} | #8 0x00007fa564b256aa in start_thread (arg=0x7fa54f46f700) at pthread_cre| ate.c:333 | __res = <optimized out> | pd = 0x7fa54f46f700 | now = <optimized out> | unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140347976382208, -8124| 430806302894237, 0, 140728711533631, 140347976382912, 30595632, 8073449689| 939400547, 8073529571230177123}, mask_was_saved = 0}}, priv = {pad = {0x0,| 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} | not_first_call = <optimized out> | pagesize_m1 = <optimized out> | sp = <optimized out> | freesize = <optimized out> | __PRETTY_FUNCTION__ = "start_thread" | #9 0x00007fa565c21eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/cl| one.S:109 | No locals. | . | Thread 3 (Thread 0x7fa54fc70700 (LWP 9724)): | #0 0x00007fa565c168dd in poll () at ../sysdeps/unix/syscall-template.S:81| No locals. | #1 0x00007fa5629511ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.| 0 | No symbol table info available. | #2 0x00007fa5629512fc in g_main_context_iteration () from /lib/x86_64-lin| ux-gnu/libglib-2.0.so.0 | No symbol table info available. | #3 0x00007fa56654029b in QEventDispatcherGlib::processEvents (this=0x7fa5| 400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 | d = 0x7fa5400008e0 | canWait = true | savedFlags = {i = 0} | result = false | #4 0x00007fa5664e675a in QEventLoop::exec (this=this@entry=0x7fa54fc6fdb0| , flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 | d = 0x7fa540002d90 | locker = {val = 30593904} | ref = {d = 0x7fa540002d90, locker = @0x7fa54fc6fd30, exceptionCaug| ht = true} | #5 0x00007fa5663043d4 in QThread::exec (this=<optimized out>) at thread/q| thread.cpp:503 | d = 0x1d2d300 locker = {val = 30593904} | eventLoop = {<QObject> = {_vptr.QObject = 0x7fa56671c418 <vtable f| or QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, string| data = 0x7fa56664bea0 <qt_meta_stringdata_QObject>, data = 0x7fa56664bd80 | <qt_meta_data_QObject>, static_metacall = 0x7fa566521a40 <QObject::qt_stat| ic_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects| = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fa540002d90}, static staticQtMe| taObject = {d = {superdata = 0x0, stringdata = 0x7fa5666936a0 <qt_meta_str| ingdata_Qt>, data = 0x7fa566690e20 <qt_meta_data_Qt>, static_metacall = 0x| 0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject =| {d = {superdata = 0x7fa5667160e0 <QObject::staticMetaObject>, stringdata | = 0x7fa5666a7400 <qt_meta_stringdata_QEventLoop>, data = 0x7fa5666a73a0 <q| t_meta_data_QEventLoop>, static_metacall = 0x7fa566592350 <QEventLoop::qt_| static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObj| ects = 0x0, extradata = 0x0}}} | returnCode = <optimized out> | #6 0x000000000041543a in Activities* runInQThread<Activities>()::Thread::| run() () | No symbol table info available. | #7 0x00007fa5663092be in QThreadPrivate::start (arg=0x1d2c3f0) at thread/| qthread_unix.cpp:337 | __clframe = {__cancel_routine = 0x7fa5663083f0 <QThreadPrivate::fi| nish(void*)>, __cancel_arg = 0x1d2c3f0, __do_it = 1, __cancel_type = <opti| mized out>} | thr = 0x1d2c3f0 | data = 0x1d2d3b0 | objectName = {static null = {<No data fields>}, d = 0x7fa5665b8500| <QArrayData::shared_null>} | #8 0x00007fa564b256aa in start_thread (arg=0x7fa54fc70700) at pthread_cre| ate.c:333 | __res = <optimized out> | pd = 0x7fa54fc70700 | now = <optimized out> | unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140347984774912, -8124| 430806302894237, 0, 140728711533631, 140347984775616, 30593936, 8073448590| 964643683, 8073529571230177123}, mask_was_saved = 0}}, priv = {pad = {0x0,| 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} | not_first_call = <optimized out> | pagesize_m1 = <optimized out> | sp = <optimized out> | freesize = <optimized out> | __PRETTY_FUNCTION__ = "start_thread" | #9 0x00007fa565c21eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/cl| one.S:109 | No locals. | . | Thread 2 (Thread 0x7fa550471700 (LWP 9723)): | #0 0x00007fa565c168dd in poll () at ../sysdeps/unix/syscall-template.S:81| No locals. | #1 0x00007fa5629511ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.| 0 | No symbol table info available. | #2 0x00007fa5629512fc in g_main_context_iteration () from /lib/x86_64-lin| ux-gnu/libglib-2.0.so.0 | No symbol table info available. | #3 0x00007fa56654027f in QEventDispatcherGlib::processEvents (this=0x7fa5| 440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 | d = 0x7fa5440008e0 | canWait = true | savedFlags = {i = 0} | result = <optimized out> #4 0x00007fa5664e675a in QEventLoop::exec (this=this@entry=0x7fa550470db0| , flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 | d = 0x7fa544002f90 | locker = {val = 30585472} | ref = {d = 0x7fa544002f90, locker = @0x7fa550470d30, exceptionCaug| ht = true} | #5 0x00007fa5663043d4 in QThread::exec (this=<optimized out>) at thread/q| thread.cpp:503 | d = 0x1d2b210 | locker = {val = 30585472} | eventLoop = {<QObject> = {_vptr.QObject = 0x7fa56671c418 <vtable f| or QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, string| data = 0x7fa56664bea0 <qt_meta_stringdata_QObject>, data = 0x7fa56664bd80 | <qt_meta_data_QObject>, static_metacall = 0x7fa566521a40 <QObject::qt_stat| ic_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects| = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fa544002f90}, static staticQtMe| taObject = {d = {superdata = 0x0, stringdata = 0x7fa5666936a0 <qt_meta_str| ingdata_Qt>, data = 0x7fa566690e20 <qt_meta_data_Qt>, static_metacall = 0x| 0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject =| {d = {superdata = 0x7fa5667160e0 <QObject::staticMetaObject>, stringdata | = 0x7fa5666a7400 <qt_meta_stringdata_QEventLoop>, data = 0x7fa5666a73a0 <q| t_meta_data_QEventLoop>, static_metacall = 0x7fa566592350 <QEventLoop::qt_| static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObj| ects = 0x0, extradata = 0x0}}} | returnCode = <optimized out> | #6 0x000000000041540a in Resources* runInQThread<Resources>()::Thread::ru| n() () | No symbol table info available. | #7 0x00007fa5663092be in QThreadPrivate::start (arg=0x1d2b080) at thread/| qthread_unix.cpp:337 | __clframe = {__cancel_routine = 0x7fa5663083f0 <QThreadPrivate::fi| nish(void*)>, __cancel_arg = 0x1d2b080, __do_it = 1, __cancel_type = <opti| mized out>} | thr = 0x1d2b080 | data = 0x1d28b50 | objectName = {static null = {<No data fields>}, d = 0x7fa5665b8500| <QArrayData::shared_null>} | #8 0x00007fa564b256aa in start_thread (arg=0x7fa550471700) at pthread_cre| ate.c:333 | __res = <optimized out> | pd = 0x7fa550471700 | now = <optimized out> | unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140347993167616, -8124| 430806302894237, 0, 140728711533631, 140347993168320, 30585504, 8073434280| 670484323, 8073529571230177123}, mask_was_saved = 0}}, priv = {pad = {0x0,| 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} | not_first_call = <optimized out> | pagesize_m1 = <optimized out> | sp = <optimized out> | freesize = <optimized out> | __PRETTY_FUNCTION__ = "start_thread" | #9 0x00007fa565c21eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/cl| one.S:109 | No locals. | . | Thread 1 (Thread 0x7fa567af1800 (LWP 9712)): | #0 0x00007fa54da671b1 in QSqlDatabase::close (this=this@entry=0x1dacaf8) | at kernel/qsqldatabase.cpp:871 | No locals. | #1 0x00007fa54da68719 in QSqlDatabase::~QSqlDatabase (this=0x1dacaf8, __i| n_chrg=<optimized out>) at kernel/qsqldatabase.cpp:799 | this = 0x1dacaf8 #2 0x00007fa54da6a83d in QHashNode<QString, QSqlDatabase>::~QHashNode (th| is=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../| ../src/corelib/tools/qhash.h:197 | No locals. | #3 QHash<QString, QSqlDatabase>::deleteNode2 (node=0x1dacae0) at ../../in| clude/QtCore/../../src/corelib/tools/qhash.h:545 | No locals. | #4 0x00007fa56636cc59 in QHashData::free_helper (this=0x1d17c00, node_del| ete=0x7fa54da6a830 <QHash<QString, QSqlDatabase>::deleteNode2(QHashData::N| ode*)>) at tools/qhash.cpp:493 | next = 0x1d17c00 | cur = 0x1dacae0 | this_e = 0x1d17c00 | bucket = 0x1dc1220 | n = <optimized out> | #5 0x00007fa54da66e83 in QHash<QString, QSqlDatabase>::freeData (this=0x7| fa54da94720 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>| , x=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash| .h:581 | No locals. | #6 QHash<QString, QSqlDatabase>::~QHash (this=0x7fa54da94720 <(anonymous | namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_chrg=<optimized o| ut>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:302 | No locals. | #7 QConnectionDict::~QConnectionDict (this=0x7fa54da94720 <(anonymous nam| espace)::Q_QGS_dbDict::innerFunction()::holder>, __in_chrg=<optimized out>| ) at kernel/qsqldatabase.cpp:110 | No locals. | #8 (anonymous namespace)::Q_QGS_dbDict::Holder::~Holder (this=0x7fa54da94| 720 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_c| hrg=<optimized out>) at kernel/qsqldatabase.cpp:126 | No locals. | #9 0x00007fa565b54d32 in __run_exit_handlers (status=status@entry=1, list| p=0x7fa565edf698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=tru| e) at exit.c:82 | atfct = <optimized out> | onfct = <optimized out> | cxafct = <optimized out> | f = <optimized out> | #10 0x00007fa565b54d85 in __GI_exit (status=status@entry=1) at exit.c:104 | No locals. | #11 0x00007fa55d59368e in QXcbConnection::processXcbEvents (this=0x1cd80e0| ) at qxcbconnection.cpp:1246 | connection_error = <optimized out> | eventqueue = <optimized out> | #12 0x00007fa56651a651 in QObject::event (this=0x1cd80e0, e=<optimized out| >) at kernel/qobject.cpp:1245 | mce = <optimized out> | sw = {receiver = 0x1cd80e0, previousSender = 0x0, currentSender = | {sender = 0x1ce3d70, signal = 4, ref = 1}, switched = true} | #13 0x00007fa5664e8de9 in QCoreApplication::notify (this=<optimized out>, | receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplicatio| n.cpp:997 | d = <optimized out> | #14 0x00007fa5664e8f1b in QCoreApplication::notifyInternal (this=0x7ffdf4d| c56f0, receiver=0x1cd80e0, event=event@entry=0x7fa554003310) at kernel/qco| reapplication.cpp:935 | result = false | cbdata = {0x1cd80e0, 0x7fa554003310, 0x7ffdf4dc52cf} | d = <optimized out> | threadData = 0x1ccbd70 | loopLevelCounter = {threadData = 0x1ccbd70} | #15 0x00007fa5664eb057 in QCoreApplication::sendEvent (event=0x7fa55400331| 0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/ker| nel/qcoreapplication.h:228 No locals. | #16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0| , event_type=event_type@entry=0, data=0x1ccbd70) at kernel/qcoreapplicatio| n.cpp:1552 | e = 0x7fa554003310 | pe = <optimized out> | r = <optimized out> | unlocker = {m = <synthetic pointer>} | event_deleter = {d = 0x7fa554003310} | locker = {val = 30195096} | startOffset = 0 | i = @0x1ccbd8c: 1 | cleanup = {receiver = 0x0, event_type = 0, data = 0x1ccbd70, excep| tionCaught = true} | #17 0x00007fa5664eb588 in QCoreApplication::sendPostedEvents (receiver=rec| eiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication| .cpp:1410 | data = <optimized out> | #18 0x00007fa56653fe73 in postEventSourceDispatch (s=0x1d1f0a0) at kernel/| qeventdispatcher_glib.cpp:271 | source = 0x1d1f0a0 | #19 0x00007fa562950ff7 in g_main_context_dispatch () from /lib/x86_64-linu| x-gnu/libglib-2.0.so.0 | No symbol table info available. | #20 0x00007fa562951250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.| 0 | No symbol table info available. | #21 0x00007fa5629512fc in g_main_context_iteration () from /lib/x86_64-lin| ux-gnu/libglib-2.0.so.0 | No symbol table info available. | #22 0x00007fa56654029b in QEventDispatcherGlib::processEvents (this=0x1d10| 9e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 | d = 0x1d1f3a0 | canWait = true | savedFlags = {i = 0} | result = false | #23 0x00007fa5664e675a in QEventLoop::exec (this=this@entry=0x7ffdf4dc55a0| , flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 | d = 0x1d2f0f0 | locker = {val = 30195328} | ref = {d = 0x1d2f0f0, locker = @0x7ffdf4dc5520, exceptionCaught = | true} | #24 0x00007fa5664ee2cc in QCoreApplication::exec () at kernel/qcoreapplica| tion.cpp:1188 | threadData = 0x1ccbd70 | eventLoop = {<QObject> = {_vptr.QObject = 0x7fa56671c418 <vtable f| or QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, string| data = 0x7fa56664bea0 <qt_meta_stringdata_QObject>, data = 0x7fa56664bd80 | <qt_meta_data_QObject>, static_metacall = 0x7fa566521a40 <QObject::qt_stat| ic_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects| = 0x0, extradata = 0x0}}, d_ptr = {d = 0x1d2f0f0}, static staticQtMetaObj| ect = {d = {superdata = 0x0, stringdata = 0x7fa5666936a0 <qt_meta_stringda| ta_Qt>, data = 0x7fa566690e20 <qt_meta_data_Qt>, static_metacall = 0x0, re| latedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d =| {superdata = 0x7fa5667160e0 <QObject::staticMetaObject>, stringdata = 0x7| fa5666a7400 <qt_meta_stringdata_QEventLoop>, data = 0x7fa5666a73a0 <qt_met| a_data_QEventLoop>, static_metacall = 0x7fa566592350 <QEventLoop::qt_stati| c_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects | = 0x0, extradata = 0x0}}} | returnCode = <optimized out> | #25 0x0000000000412757 in main () | No symbol table info available. | == Title ================================= | kactivitymanagerd crashed with SIGSEGV in QSqlDatabase::close() | | == Uname ================================= | Linux 4.2.0-22-generic x86_64 | | == UpgradeStatus ================================= | Upgraded to wily on 2015-12-26 (1 days ago) | | == UserGroups ================================= | adm cdrom dip lpadmin plugdev sambashare sudo
The session crash triggers kactivitymanagerd irregular shut down, which in turn exposes a known bug in QSQL https://bugs.kde.org/show_bug.cgi?id=348194 . Kactivitymanagerd can not crash the session. I'd say it is a driver issue that kills x11 or something.
Sorry, skipped the "actual results" part and thought it was about the segfault in the log ;-) If the X11 server crashes you'll (hopefully) find a backtrace in /var/log/Xorg.*.log (that's a bug in X11 resp. some module, usually the graphics driver) - the only other thing capable of aborting the session is a crashing ksmserver, but if the problem isn't some action recording in kactivities, the description indeed sounds more like a driver bug. KWin would just crash (and usually automatically restart) but never exit the session. In doubt, just attach all /var/log/Xorg.*.log files, but the bug is somewhere between upstream (if kwin induces the X11 segfault) and invalid (if it doesn't even that)