Application: kdeinit5 (5.3.0) Qt Version: 5.4.1 Operating System: Linux 3.19.0-15-generic x86_64 Distribution: Ubuntu 15.04 -- Information about the crash: To replicate this: 1. Right click on a titlebar, choose More Actions --> Window Manager Settings. 2. The moment the Settings dialog opens, close it with the titlebar close icon. 3. You will get a crash (I managed to do this twice) The crash can be reproduced sometimes. -- Backtrace: Application: KDE Control Module (kdeinit5), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fdddf4af780 (LWP 5040))] Thread 2 (Thread 0x7fddaf42c700 (LWP 5044)): #0 0x00007fddde1a8ff9 in timerSourcePrepare (source=<optimized out>, timeout=0x7fddaf42bc54) at kernel/qeventdispatcher_glib.cpp:161 #1 0x00007fdddacd23fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fdddacd2de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fdddacd2fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fddde1a9c6c in QEventDispatcherGlib::processEvents (this=0x7fdda80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #5 0x00007fddde14e3e2 in QEventLoop::exec (this=this@entry=0x7fddaf42be20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #6 0x00007fddddf0db44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503 #7 0x00007fddcd664f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #8 0x00007fddddf12b0e in QThreadPrivate::start (arg=0x1c9c8d0) at thread/qthread_unix.cpp:337 #9 0x00007fdddb72f6aa in start_thread (arg=0x7fddaf42c700) at pthread_create.c:333 #10 0x00007fddddbabeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7fdddf4af780 (LWP 5040)): [KCrash Handler] #6 0x00007fddddada267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #7 0x00007fddddadbeca in __GI_abort () at abort.c:89 #8 0x00007fddddb1dc53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fddddc361a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #9 0x00007fddddb25c69 in malloc_printerr (ptr=<optimized out>, str=0x7fddddc362b8 "double free or corruption (out)", action=1) at malloc.c:4965 #10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834 #11 0x00007fddddb2989c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950 #12 0x00007fddde17f0bb in QMetaCallEvent::~QMetaCallEvent (this=0x7fddc4005510, __in_chrg=<optimized out>) at kernel/qobject.cpp:467 #13 0x00007fddde17f109 in QMetaCallEvent::~QMetaCallEvent (this=0x7fddc4005510, __in_chrg=<optimized out>) at kernel/qobject.cpp:475 #14 0x00007fddde153587 in QCoreApplication::removePostedEvents (receiver=0xf1cd30, eventType=eventType@entry=0) at kernel/qcoreapplication.cpp:1629 #15 0x00007fddde17f6fa in QObjectPrivate::~QObjectPrivate (this=0xf1d070, __in_chrg=<optimized out>) at kernel/qobject.cpp:234 #16 0x00007fddde17f809 in QObjectPrivate::~QObjectPrivate (this=0xf1d070, __in_chrg=<optimized out>) at kernel/qobject.cpp:245 #17 0x00007fddde18a83b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54 #18 ~QScopedPointer (this=0xf1cd38, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101 #19 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882 #20 0x00007fddcc69f619 in QXcbConnection::~QXcbConnection (this=0xf1cd30, __in_chrg=<optimized out>) at qxcbconnection.cpp:450 #21 0x00007fddcc6a3d3e in qDeleteAll<QList<QXcbConnection*>::const_iterator> (end=..., begin=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:315 #22 qDeleteAll<QList<QXcbConnection*> > (c=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:323 #23 QXcbIntegration::~QXcbIntegration (this=0xee2da0, __in_chrg=<optimized out>) at qxcbintegration.cpp:189 #24 0x00007fddcc6a3e19 in QXcbIntegration::~QXcbIntegration (this=0xee2da0, __in_chrg=<optimized out>) at qxcbintegration.cpp:190 #25 0x00007fdddee595c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0xee2960, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1374 #26 0x00007fdddc54d4e9 in QApplicationPrivate::~QApplicationPrivate (this=0xee2960, __in_chrg=<optimized out>) at kernel/qapplication.cpp:183 #27 0x00007fddde18a83b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54 #28 ~QScopedPointer (this=0x7ffd170bf528, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101 #29 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882 #30 0x00007fdddc54f133 in QApplication::~QApplication (this=0x7ffd170bf520, __in_chrg=<optimized out>) at kernel/qapplication.cpp:803 #31 0x00007fddccb88480 in ~KCMShell (this=0x7ffd170bf520, __in_chrg=<optimized out>) at ../../kcmshell/main.h:32 #32 kdemain (_argc=12, _argv=<optimized out>) at ../../kcmshell/main.cpp:305 #33 0x0000000000408716 in launch (argc=argc@entry=14, _name=_name@entry=0xef1c68 "kcmshell5", args=<optimized out>, args@entry=0xef1c72 "--icon", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0xef1d26 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b711 "0") at ../../../src/kdeinit/kinit.cpp:741 #34 0x000000000040a132 in handle_launcher_request (sock=8, who=who@entry=0x40b6c6 "launcher") at ../../../src/kdeinit/kinit.cpp:1180 #35 0x000000000040a6ee in handle_requests (waitForPid=waitForPid@entry=0) at ../../../src/kdeinit/kinit.cpp:1369 #36 0x000000000040501b in main (argc=5, argv=<optimized out>) at ../../../src/kdeinit/kinit.cpp:1860 Reported using DrKonqi
*** Bug 346824 has been marked as a duplicate of this bug. ***
*** Bug 346851 has been marked as a duplicate of this bug. ***
*** Bug 347134 has been marked as a duplicate of this bug. ***
I assume this is due to commit 67d7eb7120902c2519a2cb2463a4256dad8ba070, resp commit 305387ec3a12cbcc692a81fa8795a996702b32c5 Martin, do you recall the original problem to be fixed by those?
> Martin, do you recall the original problem to be fixed by those? yes, clearly. I did test that change ;-) But I cannot see how it could be related. A property should not be deleted...
(In reply to Martin Gräßlin from comment #5) > But I cannot see how it could be related. A property should not be deleted... I don't think it's the deletion of the property, but that it's set early, resp. that QX11Info::connection() and/or QX11Info::appRootWindow() are called early. Do you have a description of the original problem around?
> I don't think it's the deletion of the property, but that it's set early, resp. that QX11Info::connection() and/or QX11Info::appRootWindow() are called early. That shouldn't be. QX11Info provides them as soon as QGuiApplication is constructed. > Do you have a description of the original problem around? bug #345339
Git commit 87a3d01a75e2371ae4c74ce71f2a7446a91ca7df by Thomas Lübking. Committed on 15/05/2015 at 20:02. Pushed by luebking into branch 'Plasma/5.3'. lazy setting of xbc properties on qApp just a wild guess - the crashes showed up somewhen after the early setting of the property/ X11Info access - if this indeed is the cause, they should disappear or only appear after actually using the detect button. We'll see. REVIEW: 123777 M +2 -0 kcmkwin/kwinrules/detectwidget.cpp M +0 -4 kcmkwin/kwinrules/kcm.cpp M +0 -4 kcmkwin/kwinrules/main.cpp http://commits.kde.org/kwin/87a3d01a75e2371ae4c74ce71f2a7446a91ca7df
Git commit 8855f47f34df6226d302a08a248e553ec9e97cc2 by Thomas Lübking. Committed on 15/05/2015 at 21:55. Pushed by luebking into branch 'master'. lazy setting of xbc properties on qApp just a wild guess - the crashes showed up somewhen after the early setting of the property/ X11Info access - if this indeed is the cause, they should disappear or only appear after actually using the detect button. We'll see. REVIEW: 123777 M +2 -0 kcmkwin/kwinrules/detectwidget.cpp M +0 -4 kcmkwin/kwinrules/kcm.cpp M +0 -4 kcmkwin/kwinrules/main.cpp http://commits.kde.org/kwin/8855f47f34df6226d302a08a248e553ec9e97cc2
*** Bug 348472 has been marked as a duplicate of this bug. ***
*** Bug 348606 has been marked as a duplicate of this bug. ***
From bug #348624 we have to assume that commit 87a3d01a75e2371ae4c74ce71f2a7446a91ca7df didn't help :-(
*** Bug 349566 has been marked as a duplicate of this bug. ***
*** Bug 349754 has been marked as a duplicate of this bug. ***
I'm affected by this too. Here's a debug trace (please let me know if I should create a new trace with debug symbols for libraries). Note that for me the crash doesn't seem to happen right away when closing the settings dialog. But after closing it and (for example) right-click a windows title bar, it crashes. [Thread 0x7f03c08ec700 (LWP 14207) exited] [Thread 0x7f03b974f700 (LWP 14209) exited] Program received signal SIGSEGV, Segmentation fault. isShown (this=0x255ea60) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/useractions.cpp:105 105 /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/useractions.cpp: No such file or directory. Thread 6 (Thread 0x7f03c33f4700 (LWP 14206)): #0 0x00007f03dc5bc18d in poll () from /usr/lib/libc.so.6 No symbol table info available. #1 0x00007f03da0919f2 in ?? () from /usr/lib/libxcb.so.1 No symbol table info available. #2 0x00007f03da09356f in xcb_wait_for_event () from /usr/lib/libxcb.so.1 No symbol table info available. #3 0x00007f03c3c96ca9 in ?? () from /usr/lib/libQt5XcbQpa.so.5 No symbol table info available. #4 0x00007f03da363a9e in ?? () from /usr/lib/libQt5Core.so.5 No symbol table info available. #5 0x00007f03dc8874a4 in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #6 0x00007f03dc5c512d in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 4 (Thread 0x7f03bba5f700 (LWP 14208)): #0 0x00007f03dc5bde23 in select () from /usr/lib/libc.so.6 No symbol table info available. #1 0x00007f03da59691f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #2 0x00007f03da5983f7 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #3 0x00007f03da5988fe in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #4 0x00007f03da54226a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #5 0x00007f03da35eaf4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 No symbol table info available. #6 0x00007f03d4821335 in ?? () from /usr/lib/libQt5Qml.so.5 No symbol table info available. #7 0x00007f03da363a9e in ?? () from /usr/lib/libQt5Core.so.5 No symbol table info available. #8 0x00007f03dc8874a4 in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #9 0x00007f03dc5c512d in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 2 (Thread 0x7f03b8f4e700 (LWP 14210)): #0 0x00007f03dc88d07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 No symbol table info available. #1 0x00007f03d92c0564 in ?? () from /usr/lib/libQt5Script.so.5 No symbol table info available. #2 0x00007f03d92c05a9 in ?? () from /usr/lib/libQt5Script.so.5 No symbol table info available. #3 0x00007f03dc8874a4 in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #4 0x00007f03dc5c512d in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 1 (Thread 0x7f03dcda7840 (LWP 14205)): #0 isShown (this=0x255ea60) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/useractions.cpp:105 No locals. #1 KWin::UserActionsMenu::show (this=0x255ea60, pos=..., cl=...) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/useractions.cpp:136 cl = @0x7ffd4766e480: {d = 0x3090cf0, value = 0x2719c40} pos = @0x7ffd4766e4f0: {x1 = 500, y1 = 19, x2 = 500, y2 = 19} this = 0x255ea60 #2 0x00007f03dc132d0a in KWin::Workspace::showWindowMenu (this=0x255e820, pos=..., cl=cl@entry=0x2719c40) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/useractions.cpp:1711 No locals. #3 0x00007f03dc0c1d92 in KWin::AbstractClient::performMouseCommand (this=0x2719c40, cmd=<optimized out>, globalPos=...) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/abstract_client.cpp:692 replay = false #4 0x00007f03dc1022d1 in KWin::Client::processDecorationButtonPress (this=this@entry=0x2719c40, button=button@entry=3, x=x@entry=504, y=y@entry=19, x_root=x_root@entry=500, y_root=19, ignoreMenu=false) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/events.cpp:1249 com = <optimized out> active = true #5 0x00007f03dc104705 in KWin::Client::buttonPressEvent (this=0x2719c40, w=<optimized out>, button=3, state=0, x=504, y=19, x_root=500, y_root=19, time=4270906) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/events.cpp:1196 event = <incomplete type> #6 0x00007f03dc104a58 in KWin::Client::buttonPressEvent (this=<optimized out>, w=<optimized out>, button=<optimized out>, state=<optimized out>, x=<optimized out>, y=<optimized out>, x_root=500, y_root=19, time=4270906) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/events.cpp:1202 No locals. #7 0x00007f03dc10510b in KWin::Client::windowEvent (this=0x2719c40, e=e@entry=0x7f03bc0014f0) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/events.cpp:675 event = 0x7f03bc0014f0 eventType = <optimized out> #8 0x00007f03dc106562 in KWin::Workspace::workspaceEvent (this=0x255e820, e=0x7f03bc0014f0) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/events.cpp:352 c = <optimized out> c = <optimized out> c = <optimized out> c = <optimized out> eventType = <optimized out> __PRETTY_FUNCTION__ = "bool KWin::Workspace::workspaceEvent(xcb_generic_event_t*)" eventWindow = 50331667 #9 0x00007f03da5413ff in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #10 0x00007f03c3c9a554 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/libQt5XcbQpa.so.5 No symbol table info available. #11 0x00007f03c3c9b303 in QXcbConnection::processXcbEvents() () from /usr/lib/libQt5XcbQpa.so.5 No symbol table info available. #12 0x00007f03da573eb1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #13 0x00007f03db27e00c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 No symbol table info available. #14 0x00007f03db2834e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 No symbol table info available. #15 0x00007f03da54489b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #16 0x00007f03da546c96 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #17 0x00007f03da5987c2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #18 0x00007f03c3cfd35d in ?? () from /usr/lib/libQt5XcbQpa.so.5 No symbol table info available. #19 0x00007f03da54226a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 No symbol table info available. #20 0x00007f03da54a20c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 No symbol table info available. #21 0x00007f03dcaa258f in kdemain (argc=1, argv=0x7ffd4766f078) at /tmp/yaourt-tmp-medhefgo/aur-kwin-git/src/kwin/main_x11.cpp:303 primaryScreen = 0 c = 0x0 number_of_screens = <optimized out> a = {<KWin::Application> = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7f03db97f1a0 <QApplication::staticMetaObject>, stringdata = 0x7f03dc27bcc0 <qt_meta_stringdata_KWin__Application>, data = 0x7f03dc27bbc0 <qt_meta_data_KWin__Application>, static_metacall = 0x7f03dc22f670 <KWin::Application::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, m_originalSessionKey = {static null = {<No data fields>}, d = 0x7f03da5f7de0 <QArrayData::shared_null>}, m_eventFilter = { d = 0x24c61f0}, m_configLock = false, m_operationMode = KWin::Application::OperationModeX11, m_x11Time = 4270906, m_rootWindow = 191, m_connection = 0x247c320, static crashes = 0}, static staticMetaObject = {d = {superdata = 0x7f03dc4d4220 <KWin::Application::staticMetaObject>, stringdata = 0x7f03dcaa3320 <qt_meta_stringdata_KWin__ApplicationX11>, data = 0x7f03dcaa32c0 <qt_meta_data_KWin__ApplicationX11>, static_metacall = 0x7f03dcaa2c00 <KWin::ApplicationX11::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, owner = {d = 0x24c5830}, m_replace = false} replaceOption = {d = {d = 0x24c8cb0}} parser = {d = 0x24ce860} helper = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7f03da981b80 <QObject::staticMetaObject>, stringdata = 0x7f03dc2714a0 <qt_meta_stringdata_KWin__SessionSaveDoneHelper>, data = 0x7f03dc271440 <qt_meta_data_KWin__SessionSaveDoneHelper>, static_metacall = 0x7f03dc2305b0 <KWin::SessionSaveDoneHelper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, notifier = 0x24c8f30, conn = 0x24de450} #22 0x00007f03dc4fc610 in __libc_start_main () from /usr/lib/libc.so.6 No symbol table info available. #23 0x0000000000400819 in _start () No symbol table info available.
No, you're not. Or at least *this* bug is about a crash-on-close of the config dialog, while your backtrace crashes kwin_x11 (the window manager itself) on attempting to just show the Alt+F3 menu (looks like dangeling pointer) I'm not entirely sure this a related to th specific config dialog at all (try to cause it my just using the Alt+F3 menu two or three times in a row) => Can you please open a new bug with the backtrace.
*** Bug 351922 has been marked as a duplicate of this bug. ***
Is anyone still experiencing this issue?
As we haven't had another crash report for this issue for more than 12 months I assume the linked commits fixed the issue for good. In case the crash still happens, please reopen.