Bug 346851

Summary: kdeinit5 crash after saving Kwin application rules
Product: [Plasma] kwin Reporter: Antonis Kanouras <antonis+kdebugs>
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: etriaph
Priority: NOR Keywords: drkonqi
Version: 5.2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=345157
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antonis Kanouras 2015-04-28 15:43:23 UTC
Application: kdeinit5 ()

Qt Version: 5.4.1
Operating System: Linux 3.19.0-15-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:

I opened Steam's application rules window, enabled focus stealing for it, clicked on OK, and Dr. Konqi popped up.

Relevant package versions:
kinit                                5.9.0-0ubuntu1   
kwin                                 4:5.2.2a-0ubuntu1

-- Backtrace:
Application: kdeinit5 (kdeinit5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007ff9ebcd6267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007ff9ebcd7eca in __GI_abort () at abort.c:89
#8  0x00007ff9ebd19c53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ff9ebe321a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007ff9ebd21c69 in _int_free (ptr=<optimized out>, str=0x7ff9ebe322b8 "double free or corruption (out)", action=1) at malloc.c:4965
#10 0x00007ff9ebd21c69 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007ff9ebd2589c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007ff9ec37b0bb in QMetaCallEvent::~QMetaCallEvent() (this=0x7ff9d0004560, __in_chrg=<optimized out>) at kernel/qobject.cpp:467
#13 0x00007ff9ec37b109 in QMetaCallEvent::~QMetaCallEvent() (this=0x7ff9d0004560, __in_chrg=<optimized out>) at kernel/qobject.cpp:475
#14 0x00007ff9ec34f587 in QCoreApplication::removePostedEvents(QObject*, int) (receiver=0x1833840, eventType=eventType@entry=0) at kernel/qcoreapplication.cpp:1629
#15 0x00007ff9ec37b6fa in QObjectPrivate::~QObjectPrivate() (this=0x1833b80, __in_chrg=<optimized out>) at kernel/qobject.cpp:234
#16 0x00007ff9ec37b809 in QObjectPrivate::~QObjectPrivate() (this=0x1833b80, __in_chrg=<optimized out>) at kernel/qobject.cpp:245
#17 0x00007ff9ec38683b in QObject::~QObject() (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#18 0x00007ff9ec38683b in QObject::~QObject() (this=0x1833848, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#19 0x00007ff9ec38683b in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#20 0x00007ff9da50f619 in QXcbConnection::~QXcbConnection() (this=0x1833840, __in_chrg=<optimized out>) at qxcbconnection.cpp:450
#21 0x00007ff9da513d3e in QXcbIntegration::~QXcbIntegration() (end=..., begin=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:315
#22 0x00007ff9da513d3e in QXcbIntegration::~QXcbIntegration() (c=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:323
#23 0x00007ff9da513d3e in QXcbIntegration::~QXcbIntegration() (this=0x18703e0, __in_chrg=<optimized out>) at qxcbintegration.cpp:189
#24 0x00007ff9da513e19 in QXcbIntegration::~QXcbIntegration() (this=0x18703e0, __in_chrg=<optimized out>) at qxcbintegration.cpp:190
#25 0x00007ff9ed0555c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate() (this=0x1857410, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1374
#26 0x00007ff9ea7554e9 in QApplicationPrivate::~QApplicationPrivate() (this=0x1857410, __in_chrg=<optimized out>) at kernel/qapplication.cpp:183
#27 0x00007ff9ec38683b in QObject::~QObject() (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#28 0x00007ff9ec38683b in QObject::~QObject() (this=0x7fff025e6e68, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#29 0x00007ff9ec38683b in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#30 0x00007ff9ea757133 in QApplication::~QApplication() (this=0x7fff025e6e60, __in_chrg=<optimized out>) at kernel/qapplication.cpp:803
#31 0x00007ff9dadf8ac7 in kdemain(int, char**) (argc=4, argv=<optimized out>) at ../../../kcmkwin/kwinrules/main.cpp:266
#32 0x0000000000408716 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) (argc=argc@entry=4, _name=_name@entry=0x185d608 "kwin_rules_dialog", args=<optimized out>, args@entry=0x185d61a "--wid", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x185d63d "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b710 "0") at ../../../src/kdeinit/kinit.cpp:741
#33 0x000000000040a132 in handle_launcher_request(int, char const*) (sock=8, who=who@entry=0x40b6c6 "launcher") at ../../../src/kdeinit/kinit.cpp:1180
#34 0x000000000040a6ee in handle_requests(pid_t) (waitForPid=waitForPid@entry=0) at ../../../src/kdeinit/kinit.cpp:1369
#35 0x000000000040501b in main(int, char**) (argc=5, argv=<optimized out>) at ../../../src/kdeinit/kinit.cpp:1860

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-04-30 10:38:45 UTC
liekly a Qt/xcb bug, also compare bug #341818
Comment 2 Robert Charbonneau 2015-05-01 23:48:46 UTC
I'm also getting this bug in Kubuntu 15.04 w/5.3 PPA, trace is as follows:

Application: kdeinit5 (kdeinit5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f0d95181267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f0d95182eca in __GI_abort () at abort.c:89
#8  0x00007f0d951c4c53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f0d952dd1a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f0d951ccc69 in malloc_printerr (ptr=<optimized out>, str=0x7f0d952dd2b8 "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 0x00007f0d951d089c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007f0d958260bb in QMetaCallEvent::~QMetaCallEvent (this=0x7f0d7c005370, __in_chrg=<optimized out>) at kernel/qobject.cpp:467
#13 0x00007f0d95826109 in QMetaCallEvent::~QMetaCallEvent (this=0x7f0d7c005370, __in_chrg=<optimized out>) at kernel/qobject.cpp:475
#14 0x00007f0d957fa587 in QCoreApplication::removePostedEvents (receiver=0x264c3a0, eventType=eventType@entry=0) at kernel/qcoreapplication.cpp:1629
#15 0x00007f0d958266fa in QObjectPrivate::~QObjectPrivate (this=0x264c6e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:234
#16 0x00007f0d95826809 in QObjectPrivate::~QObjectPrivate (this=0x264c6e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:245
#17 0x00007f0d9583183b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#18 ~QScopedPointer (this=0x264c3a8, __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 0x00007f0d830bf619 in QXcbConnection::~QXcbConnection (this=0x264c3a0, __in_chrg=<optimized out>) at qxcbconnection.cpp:450
#21 0x00007f0d830c3d3e 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=0x262eb20, __in_chrg=<optimized out>) at qxcbintegration.cpp:189
#24 0x00007f0d830c3e19 in QXcbIntegration::~QXcbIntegration (this=0x262eb20, __in_chrg=<optimized out>) at qxcbintegration.cpp:190
#25 0x00007f0d965005c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0x262e440, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1374
#26 0x00007f0d93bf44e9 in QApplicationPrivate::~QApplicationPrivate (this=0x262e440, __in_chrg=<optimized out>) at kernel/qapplication.cpp:183
#27 0x00007f0d9583183b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#28 ~QScopedPointer (this=0x7ffea3ff9c78, __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 0x00007f0d93bf6133 in QApplication::~QApplication (this=0x7ffea3ff9c70, __in_chrg=<optimized out>) at kernel/qapplication.cpp:803
#31 0x00007f0d841b7f54 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_rules_dialog.so
#32 0x0000000000408716 in ?? ()
#33 0x000000000040a132 in ?? ()
#34 0x000000000040a6ee in ?? ()
#35 0x000000000040501b in main ()
Comment 3 Christoph Feck 2015-05-09 19:32:57 UTC

*** This bug has been marked as a duplicate of bug 346748 ***