Bug 350964 - [debian] breeze deco and libkdecoration2 compiled on incompatible libstdc++ versions (ABI incompatible std::function crossing)
Summary: [debian] breeze deco and libkdecoration2 compiled on incompatible libstdc++ v...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.2
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://lists.alioth.debian.org/piper...
Keywords: drkonqi
: 351153 351563 351586 351666 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-04 14:29 UTC by Anton Steiner
Modified: 2015-08-23 19:25 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Steiner 2015-08-04 14:29:59 UTC
Application: kwin_x11 (5.3.2)

Qt Version: 5.4.2
Operating System: Linux 4.0.0-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
After login with sddm I get a message "kwin_x11 crashes several times"

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f521f59a940 (LWP 2275))]

Thread 3 (Thread 0x7f5204ab1700 (LWP 2296)):
#0  0x00007f521f0a72e3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f521d6c8831 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=15, fdread=fdread@entry=0x7f51fc000a78, fdwrite=fdwrite@entry=0x7f51fc000d08, fdexcept=fdexcept@entry=0x7f51fc000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f521d6ca3ec in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7f51fc000f98, writefds=0x7f51fc000d08, readfds=0x7f51fc000a78, nfds=<optimized out>, this=0x7f51fc0008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007f521d6ca3ec in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7f51fc0008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f521d6ca965 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f51fc0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f521d671b62 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f5204ab0c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f521d47f8b4 in QThread::exec() (this=this@entry=0xbbcb20) at thread/qthread.cpp:503
#7  0x00007f521807ff05 in QQmlThreadPrivate::run() (this=0xbbcb20) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f521d48487e in QThreadPrivate::start(void*) (arg=0xbbcb20) at thread/qthread_unix.cpp:337
#9  0x00007f521e93e0a4 in start_thread (arg=0x7f5204ab1700) at pthread_create.c:309
#10 0x00007f521f0ae07d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f51f77ff700 (LWP 2297)):
#0  0x00007f521e94208f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f521c674644 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f521c674689 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f521e93e0a4 in start_thread (arg=0x7f51f77ff700) at pthread_create.c:309
#4  0x00007f521f0ae07d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f521f59a940 (LWP 2275)):
[KCrash Handler]
#6  0x00007f5204b2469f in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#7  0x00007f521be2619c in KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) () at /usr/lib/x86_64-linux-gnu/libkdecorations2.so.5
#8  0x00007f5204b22af0 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#9  0x00007f5204b2438c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#10 0x00007f521ece70b1 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f521ebd00e9 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007f521ebd04fb in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f521ec1b482 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007f521ebba61d in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f521ec043e8 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f521d670c90 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=this@entry=0xa99e50, eventType=..., message=message@entry=0x7f5200001cf0, result=result@entry=0x7fff901e4278) at kernel/qabstracteventdispatcher.cpp:460
#17 0x00007f5208d28a3d in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0xa66860, event=event@entry=0x7f5200001cf0) at qxcbconnection.cpp:863
#18 0x00007f5208d29ecb in QXcbConnection::processXcbEvents() (this=0xa66860) at qxcbconnection.cpp:1303
#19 0x00007f521d6a5e8a in QObject::event(QEvent*) (this=0xa66860, e=<optimized out>) at kernel/qobject.cpp:1245
#20 0x00007f521df61adc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0xa5fed0, receiver=receiver@entry=0xa66860, e=e@entry=0x7f52000031d0) at kernel/qapplication.cpp:3720
#21 0x00007f521df66fb0 in QApplication::notify(QObject*, QEvent*) (this=0x7fff901e4960, receiver=0xa66860, e=0x7f52000031d0) at kernel/qapplication.cpp:3503
#22 0x00007f521d6743ab in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff901e4960, receiver=0xa66860, event=event@entry=0x7f52000031d0) at kernel/qcoreapplication.cpp:935
#23 0x00007f521d67641b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f52000031d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#24 0x00007f521d67641b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa4fbf0) at kernel/qcoreapplication.cpp:1552
#25 0x00007f521d6ca802 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xa99e50, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:579
#26 0x00007f5208d806dd in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#27 0x00007f521d671b62 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff901e4880, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f521d6797ac in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#29 0x00007f521f376320 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#30 0x00007f521efe9b45 in __libc_start_main (main=0x4007a0 <main>, argc=3, argv=0x7fff901e4ac8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff901e4ab8) at libc-start.c:287
#31 0x00000000004007ce in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-08-04 15:22:57 UTC
crashes on buttongroup construction in the breeze decoration plugin.

@Hugo: looks familiar?
Otherwise maybe some ABI issue?
Comment 2 Hugo Pereira Da Costa 2015-08-04 15:36:24 UTC
(In reply to Thomas Lübking from comment #1)
> crashes on buttongroup construction in the breeze decoration plugin.
> 
> @Hugo: looks familiar?
nope

> Otherwise maybe some ABI issue?
likely yes.

Could you install the debug symbols ? 

Hugo
Comment 3 Anton Steiner 2015-08-06 06:43:48 UTC
I can start progs via desktop (plasma desktop is enabled) or via control pańel, but the window management does not work. Changing or moving windows is impossible.
Comment 4 Thomas Lübking 2015-08-06 06:53:10 UTC
Yes, what Hugo would like to see is the position where it crashes in the breeze decoration (and ideally line numbers)
=> please install the debug packages for kdecoration2 and breeze and post an updated backtrace.

Where do you get KDE5 packages anyway? I didn't find them on packages.ubuntu.org.
Comment 5 Anton Steiner 2015-08-06 10:24:14 UTC
Backtrace with libkdecoration2.dbg enabled:

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fa00514869f in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#7  0x00007fa0203fc19c in KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) (__args#2=<optimized out>, __args#1=<optimized out>, __args#0=<optimized out>, this=0x7ffe14534548) at /usr/include/c++/4.9/functional:2439
#8  0x00007fa0203fc19c in KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) (__closure=0x7ffe14534530) at ../../src/decorationbuttongroup.cpp:103
#9  0x00007fa0203fc19c in KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) (this=0x13c7cd0, type=KDecoration2::DecorationButtonGroup::Left, parent=<optimized out>, buttonCreator=...) at ../../src/decorationbuttongroup.cpp:108
#10 0x00007fa005146af0 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#11 0x00007fa00514838c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#12 0x00007fa0232840b1 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007fa02316d0e9 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007fa02316d4fb in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007fa0231b8482 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007fa02315761d in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007fa02315b171 in KWin::Workspace::init() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007fa02315bbcf in KWin::Workspace::Workspace(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007fa0231916ae in KWin::Application::createWorkspace() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007fa023911e39 in  () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#21 0x00007fa021c7aaba in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffe14535120, r=0x13d3000, this=0x13d34a0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#22 0x00007fa021c7aaba in QMetaObject::activate(QObject*, int, int, void**) (sender=0x13d3000, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3702
#23 0x00007fa022a7002b in KSelectionOwner::Private::claimSucceeded() () at /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#24 0x00007fa022a707b1 in KSelectionOwner::filterEvent(void*) () at /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#25 0x00007fa021c46c90 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=0x7fa008001410, result=0x7ffe145352b8) at kernel/qabstracteventdispatcher.cpp:460
#26 0x00007fa00d349c1e in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#27 0x00007fa00d34ac73 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#28 0x00007fa021c7be8a in QObject::event(QEvent*) (this=0x136b6d0, e=<optimized out>) at kernel/qobject.cpp:1245
#29 0x00007fa022522b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fa022528230 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fa021c4a3ab in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe145359b0, receiver=0x136b6d0, event=event@entry=0x7fa008001460) at kernel/qcoreapplication.cpp:935
#32 0x00007fa021c4c41b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fa008001460, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#33 0x00007fa021c4c41b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1354bf0) at kernel/qcoreapplication.cpp:1552
#34 0x00007fa021ca0802 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x13a70a0, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#35 0x00007fa00d39e8ed in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#36 0x00007fa021c47b62 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe145358d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#37 0x00007fa021c4f7ac in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#38 0x00007fa023913320 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#39 0x00007fa023586b45 in __libc_start_main (main=0x4007a0 <main>, argc=3, argv=0x7ffe14535b18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe14535b08) at libc-start.c:287
#40 0x00000000004007ce in _start ()
My repository for debian sid  "http://ftp.be.debian.org/debian for main
Comment 6 Thomas Lübking 2015-08-06 13:14:21 UTC
You need the debug symbols for the "breeze" window decoration.
Comment 7 Anton Steiner 2015-08-07 13:46:18 UTC
revised crashreport with breeze-dbg loaded
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4a34843940 (LWP 5214))]

Thread 2 (Thread 0x7f4a16b55700 (LWP 5221)):
#0  0x00007f4a33be9438 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f4a32765918 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x1d6ecf0) at thread/qwaitcondition_unix.cpp:126
#2  0x00007f4a32765918 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x1d6ecf0) at thread/qwaitcondition_unix.cpp:134
#3  0x00007f4a32765918 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x1d7e0e0, mutex=mutex@entry=0x1d6ea90, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007f4a327619c4 in QThreadPoolThread::run() (this=0x1d7e0d0) at thread/qthreadpool.cpp:127
#5  0x00007f4a3276487e in QThreadPrivate::start(void*) (arg=0x1d7e0d0) at thread/qthread_unix.cpp:337
#6  0x00007f4a33be50a4 in start_thread (arg=0x7f4a16b55700) at pthread_create.c:309
#7  0x00007f4a3435507d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f4a34843940 (LWP 5214)):
[KCrash Handler]
#6  0x00007f4a15e5269f in std::_Function_handler<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*), Breeze::Button* (*)(KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>::_M_invoke(std::_Any_data const&, KDecoration2::DecorationButtonType&&, KDecoration2::Decoration*&&, QObject*&&) (__functor=..., __args#0=<unknown type in /usr/lib/debug/.build-id/a2/2b6327a68dde05c5534ab19f5125ea7c275532.debug, CU 0x7053a, DIE 0xb5b09>, __args#1=<optimized out>, __args#2=<unknown type in /usr/lib/debug/.build-id/a2/2b6327a68dde05c5534ab19f5125ea7c275532.debug, CU 0x7053a, DIE 0xb5b13>) at /usr/include/c++/5/functional:1857
#7  0x00007f4a3110619c in KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) (__args#2=<optimized out>, __args#1=<optimized out>, __args#0=<optimized out>, this=0x7fffb92199a8) at /usr/include/c++/4.9/functional:2439
#8  0x00007f4a3110619c in KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) (__closure=0x7fffb9219990) at ../../src/decorationbuttongroup.cpp:103
#9  0x00007f4a3110619c in KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) (this=0x1d73cf0, type=KDecoration2::DecorationButtonGroup::Left, parent=<optimized out>, buttonCreator=...) at ../../src/decorationbuttongroup.cpp:108
#10 0x00007f4a15e50af0 in Breeze::Decoration::createButtons() (this=this@entry=0x1dba2f0) at ../../kdecoration/breezedecoration.cpp:344
#11 0x00007f4a15e5238c in Breeze::Decoration::init() (this=0x1dba2f0) at ../../kdecoration/breezedecoration.cpp:192
#12 0x00007f4a33f8e0b1 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f4a33e770e9 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007f4a33e774fb in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f4a33ec2482 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f4a33e6161d in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f4a33e65171 in KWin::Workspace::init() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007f4a33e65bcf in KWin::Workspace::Workspace(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f4a33e9b6ae in KWin::Application::createWorkspace() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007f4a3461be39 in  () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#21 0x00007f4a32984aba in QMetaObject::activate(QObject*, int, int, void**) (a=0x7fffb921a580, r=0x1cbc150, this=0x1cceb00) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#22 0x00007f4a32984aba in QMetaObject::activate(QObject*, int, int, void**) (sender=0x1cbc150, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3702
#23 0x00007f4a3377a02b in KSelectionOwner::Private::claimSucceeded() () at /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#24 0x00007f4a3377a7b1 in KSelectionOwner::filterEvent(void*) () at /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#25 0x00007f4a32950c90 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=0x7f4a18001f80, result=0x7fffb921a718) at kernel/qabstracteventdispatcher.cpp:460
#26 0x00007f4a1e053c1e in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#27 0x00007f4a1e054c73 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#28 0x00007f4a32985e8a in QObject::event(QEvent*) (this=0x1c646d0, e=<optimized out>) at kernel/qobject.cpp:1245
#29 0x00007f4a3322cb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f4a33232230 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f4a329543ab in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffb921ae10, receiver=0x1c646d0, event=event@entry=0x7f4a18001fb0) at kernel/qcoreapplication.cpp:935
#32 0x00007f4a3295641b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f4a18001fb0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#33 0x00007f4a3295641b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1c4dbf0) at kernel/qcoreapplication.cpp:1552
#34 0x00007f4a329aa802 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1ca16f0, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#35 0x00007f4a1e0a88ed in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#36 0x00007f4a32951b62 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffb921ad30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#37 0x00007f4a329597ac in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#38 0x00007f4a3461d320 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#39 0x00007f4a34290b45 in __libc_start_main (main=0x4007a0 <main>, argc=3, argv=0x7fffb921af78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb921af68) at libc-start.c:287
#40 0x00000000004007ce in _start ()
Comment 8 Hugo Pereira Da Costa 2015-08-07 14:45:04 UTC
Thanks for the debug info !
Now, sadly, I am still as clueless as to what goes wrong as before ... 
The call stack (starting from Breeze::Decoration::init()) seems legit, lines in the code are the correct ones, and there is nothing wrong with these, as far as I can tell.

Thomas ? Any clue on your side ?
Comment 9 Thomas Lübking 2015-08-07 15:00:06 UTC
Looks like the ButtonCreater functor passed to DecorattionGroup points into junk.

As it's a reference to a static function, there's not much that could go wrong here - except for some binary issue.

Either the plugins are simply broken (on disk, version mismatch...) or the breeze plugin got unloaded at this point (but I couldn't tell why)

@Anton
for a quick shot, just force re-installation of kwin, libkdecorations2-5 and kwin-style-breeze (to rule out they're simply broken on-disk or "too old" etc.)

If that doen't help, please edit ~/.config/kwinrc and ensure

[org.kde.kdecoration2]
# other keys
library=org.kde.kwin.aurorae
theme=kwin4_decoration_qml_plastik
# more other keys

try to start¹ "kwin_x11 --replace &" and see what happens

[1] in case you're currently having a horrible experience trying to operate the system without any window manager: install "openbox" ;-)
Comment 10 Anton Steiner 2015-08-10 06:24:23 UTC
Many thanks. I will try it.
Comment 11 Thomas Lübking 2015-08-10 13:28:28 UTC
*** Bug 351153 has been marked as a duplicate of this bug. ***
Comment 12 Thomas Lübking 2015-08-10 13:30:10 UTC
dupe is debiad sid as well - guess that means "broken file" just became no option.
Comment 13 Francisco Durán 2015-08-10 13:57:40 UTC
(In reply to Thomas Lübking from comment #9)
> If that doen't help, please edit ~/.config/kwinrc and ensure
> 
> [org.kde.kdecoration2]
> # other keys
> library=org.kde.kwin.aurorae
> theme=kwin4_decoration_qml_plastik
> # more other keys
This workaround works.
Comment 14 Francisco Durán 2015-08-10 14:08:13 UTC
Also, systemsettings5 crashes when going into Application Style -> Window Decorations

Thread 1 (Thread 0x7f26979c0780 (LWP 5478)):
[KCrash Handler]
#6  0x00007f26724a569f in std::_Function_handler<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*), Breeze::Button* (*)(KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>::_M_invoke(std::_Any_data const&, KDecoration2::DecorationButtonType&&, KDecoration2::Decoration*&&, QObject*&&) (__functor=..., __args#0=<unknown type in /usr/lib/debug/.build-id/a2/2b6327a68dde05c5534ab19f5125ea7c275532.debug, CU 0x7053a, DIE 0xb5b09>, __args#1=<optimized out>, __args#2=<unknown type in /usr/lib/debug/.build-id/a2/2b6327a68dde05c5534ab19f5125ea7c275532.debug, CU 0x7053a, DIE 0xb5b13>) at /usr/include/c++/5/functional:1857
#7  0x00007f267954919c in operator() (__args#2=<optimized out>, __args#1=<optimized out>, __args#0=<optimized out>, this=0x7ffcef46b7a8) at /usr/include/c++/4.9/functional:2439
#8  operator() (__closure=0x7ffcef46b790) at ../../src/decorationbuttongroup.cpp:103
#9  KDecoration2::DecorationButtonGroup::DecorationButtonGroup(KDecoration2::DecorationButtonGroup::Position, KDecoration2::Decoration*, std::function<KDecoration2::DecorationButton* (KDecoration2::DecorationButtonType, KDecoration2::Decoration*, QObject*)>) (this=0x236af50, type=KDecoration2::DecorationButtonGroup::Left, parent=<optimized out>, buttonCreator=...) at ../../src/decorationbuttongroup.cpp:108
#10 0x00007f26724a3af0 in Breeze::Decoration::createButtons (this=this@entry=0x2360720) at ../../kdecoration/breezedecoration.cpp:344
#11 0x00007f26724a538c in Breeze::Decoration::init (this=0x2360720) at ../../kdecoration/breezedecoration.cpp:192
#12 0x00007f26782a7489 in KDecoration2::Preview::PreviewButtonItem::createButton (this=0x235c900) at ../../../../kcmkwin/kwindecoration/declarative-plugin/previewbutton.cpp:115
#13 0x00007f26931ede32 in QQmlObjectCreator::finalize (this=0x235b4d0, interrupt=...) at qml/qqmlobjectcreator.cpp:1228
#14 0x00007f269317acda in QQmlIncubatorPrivate::incubate (this=this@entry=0x235b340, i=...) at qml/qqmlincubator.cpp:348
#15 0x00007f269317b58f in QQmlEnginePrivate::incubate (this=0x20ef280, this@entry=0x8000000000000000, i=..., forContext=forContext@entry=0x23124d0) at qml/qqmlincubator.cpp:87
#16 0x00007f2693236993 in QQmlDelegateModelItem::incubateObject (this=this@entry=0x2358590, component=<optimized out>, engine=<optimized out>, context=context@entry=0x235b410, forContext=forContext@entry=0x23124d0) at types/qqmldelegatemodel.cpp:1945
#17 0x00007f269323ffc7 in QQmlDelegateModelPrivate::object (this=this@entry=0x23253f0, group=QQmlListCompositor::Default, index=index@entry=0, asynchronous=asynchronous@entry=false) at types/qqmldelegatemodel.cpp:963
#18 0x00007f2693240285 in QQmlDelegateModel::object (this=<optimized out>, index=0, asynchronous=<optimized out>) at types/qqmldelegatemodel.cpp:999
#19 0x00007f26935a8a5f in QQuickItemViewPrivate::createItem (this=this@entry=0x2323eb0, modelIndex=modelIndex@entry=0, asynchronous=asynchronous@entry=false) at items/qquickitemview.cpp:2275
#20 0x00007f2693568470 in QQuickGridViewPrivate::addVisibleItems (this=0x2323eb0, fillFrom=-0, fillTo=80, bufferFrom=<optimized out>, bufferTo=<optimized out>, doBuffer=false) at items/qquickgridview.cpp:506
#21 0x00007f26935a7479 in QQuickItemViewPrivate::refill (this=0x2323eb0, from=-0, to=80) at items/qquickitemview.cpp:1754
#22 0x00007f26935acde0 in QQuickItemView::componentComplete (this=0x2323b10) at items/qquickitemview.cpp:1470
#23 0x00007f26931ede32 in QQmlObjectCreator::finalize (this=0x22e2f20, interrupt=...) at qml/qqmlobjectcreator.cpp:1228
#24 0x00007f269317689e in QQmlComponentPrivate::complete (enginePriv=0x20ef280, state=0x22c55c0) at qml/qqmlcomponent.cpp:928
#25 0x00007f2693176967 in QQmlComponentPrivate::completeCreate (this=0x22c5520) at qml/qqmlcomponent.cpp:964
#26 0x00007f26931767d0 in QQmlComponent::create (this=0x22c54b0, context=0x22c66d0) at qml/qqmlcomponent.cpp:791
#27 0x00007f269358383d in QQuickView::continueExecute (this=this@entry=0x20ebc60) at items/qquickview.cpp:476
#28 0x00007f2693583f7d in QQuickViewPrivate::execute (this=0x220e210) at items/qquickview.cpp:124
#29 0x00007f26935840ca in QQuickView::setSource (this=<optimized out>, url=...) at items/qquickview.cpp:253
#30 0x00007f2679765837 in KDecoration2::Configuration::ConfigurationModule::ConfigurationModule (this=this@entry=0x220b1f0, parent=parent@entry=0x218ec90, args=...) at ../../../kcmkwin/kwindecoration/kcm.cpp:98
#31 0x00007f267976a8bb in KPluginFactory::createInstance<KDecoration2::Configuration::ConfigurationModule, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:477
#32 0x00007f2694cadfa8 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#33 0x00007f269754eb08 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#34 0x00007f26975557df in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#35 0x00007f26975563d5 in KCModuleProxy::realModule() const () from /usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#36 0x00007f2697556923 in KCModuleProxy::showEvent(QShowEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#37 0x00007f2695ee3188 in QWidget::event (this=0x218ec90, event=0x7ffcef46ce60) at kernel/qwidget.cpp:9023
#38 0x00007f2695ea0b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1472740, receiver=receiver@entry=0x218ec90, e=e@entry=0x7ffcef46ce60) at kernel/qapplication.cpp:3720
#39 0x00007f2695ea6230 in QApplication::notify (this=0x7ffcef46e600, receiver=0x218ec90, e=0x7ffcef46ce60) at kernel/qapplication.cpp:3503
#40 0x00007f2694a32a8b in QCoreApplication::notifyInternal (this=0x7ffcef46e600, receiver=receiver@entry=0x218ec90, event=event@entry=0x7ffcef46ce60) at kernel/qcoreapplication.cpp:935
#41 0x00007f2695ee0686 in sendEvent (event=0x7ffcef46ce60, receiver=0x218ec90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#42 QWidgetPrivate::show_helper (this=0x218ecd0) at kernel/qwidget.cpp:7801
#43 0x00007f2695ee0256 in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7672
#44 0x00007f2695ee0376 in QWidgetPrivate::showChildren (this=this@entry=0x2189820, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8168
#45 0x00007f2695ee040f in QWidgetPrivate::show_helper (this=this@entry=0x2189820) at kernel/qwidget.cpp:7748
#46 0x00007f2695ee2815 in QWidget::setVisible (this=0x218aaf0, visible=<optimized out>) at kernel/qwidget.cpp:8087
#47 0x00007f2695ee0388 in QWidgetPrivate::showChildren (this=this@entry=0x218ae20, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8170
#48 0x00007f2695ee040f in QWidgetPrivate::show_helper (this=this@entry=0x218ae20) at kernel/qwidget.cpp:7748
#49 0x00007f2695ee2815 in QWidget::setVisible (this=0x2189160, visible=<optimized out>) at kernel/qwidget.cpp:8087
#50 0x00007f2695ec5dd9 in QStackedLayout::setCurrentIndex (this=0x203b6c0, index=2) at kernel/qstackedlayout.cpp:324
#51 0x00007f2695ec5fc4 in QStackedLayout::setCurrentWidget (this=0x203b6c0, widget=widget@entry=0x2189160) at kernel/qstackedlayout.cpp:379
#52 0x00007f2696039491 in QStackedWidget::setCurrentWidget (this=<optimized out>, widget=0x2189160) at widgets/qstackedwidget.cpp:242
#53 0x00007f26964a927f in ?? () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#54 0x00007f2694a632fa in QMetaObject::activate (sender=sender@entry=0x219dc40, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcef46d3e0) at kernel/qobject.cpp:3717
#55 0x00007f2694a63af7 in QMetaObject::activate (sender=sender@entry=0x219dc40, m=m@entry=0x7f2694c63120 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcef46d3e0) at kernel/qobject.cpp:3582
#56 0x00007f26949e3db7 in QItemSelectionModel::selectionChanged (this=this@entry=0x219dc40, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:280
#57 0x00007f26949e81dc in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x219dc40, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1752
#58 0x00007f26949ea656 in QItemSelectionModel::select (this=0x219dc40, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1252
#59 0x00007f26961185f3 in QListView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qlistview.cpp:1352
#60 0x00007f26960f97c0 in QAbstractItemView::mousePressEvent (this=0x16f26c0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1735
#61 0x00007f2695ee35cf in QWidget::event (this=this@entry=0x16f26c0, event=event@entry=0x7ffcef46dd40) at kernel/qwidget.cpp:8653
#62 0x00007f2695fdd74e in QFrame::event (this=0x16f26c0, e=0x7ffcef46dd40) at widgets/qframe.cpp:526
#63 0x00007f2696100a2b in QAbstractItemView::viewportEvent (this=0x16f26c0, event=0x7ffcef46dd40) at itemviews/qabstractitemview.cpp:1689
#64 0x00007f2694a3287c in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1472740, receiver=receiver@entry=0x15cf6e0, event=event@entry=0x7ffcef46dd40) at kernel/qcoreapplication.cpp:1031
#65 0x00007f2695ea0b6c in QApplicationPrivate::notify_helper (this=this@entry=0x1472740, receiver=receiver@entry=0x15cf6e0, e=e@entry=0x7ffcef46dd40) at kernel/qapplication.cpp:3716
#66 0x00007f2695ea6c7a in QApplication::notify (this=<optimized out>, receiver=0x15cf6e0, e=0x7ffcef46dd40) at kernel/qapplication.cpp:3280
#67 0x00007f2694a32a8b in QCoreApplication::notifyInternal (this=0x7ffcef46e600, receiver=receiver@entry=0x15cf6e0, event=event@entry=0x7ffcef46dd40) at kernel/qcoreapplication.cpp:935
#68 0x00007f2695ea56f2 in sendSpontaneousEvent (event=0x7ffcef46dd40, receiver=0x15cf6e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#69 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x15cf6e0, event=event@entry=0x7ffcef46dd40, alienWidget=alienWidget@entry=0x15cf6e0, nativeWidget=0x1552030, buttonDown=buttonDown@entry=0x7f26963c6a10 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2751
#70 0x00007f2695efa440 in QWidgetWindow::handleMouseEvent (this=this@entry=0x160c860, event=event@entry=0x7ffcef46e160) at kernel/qwidgetwindow.cpp:543
#71 0x00007f2695efc78b in QWidgetWindow::event (this=0x160c860, event=0x7ffcef46e160) at kernel/qwidgetwindow.cpp:210
#72 0x00007f2695ea0b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1472740, receiver=receiver@entry=0x160c860, e=e@entry=0x7ffcef46e160) at kernel/qapplication.cpp:3720
#73 0x00007f2695ea6230 in QApplication::notify (this=0x7ffcef46e600, receiver=0x160c860, e=0x7ffcef46e160) at kernel/qapplication.cpp:3503
#74 0x00007f2694a32a8b in QCoreApplication::notifyInternal (this=0x7ffcef46e600, receiver=receiver@entry=0x160c860, event=event@entry=0x7ffcef46e160) at kernel/qcoreapplication.cpp:935
#75 0x00007f26958f53f8 in sendSpontaneousEvent (event=0x7ffcef46e160, receiver=0x160c860) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#76 QGuiApplicationPrivate::processMouseEvent (e=0x20e0990) at kernel/qguiapplication.cpp:1769
#77 0x00007f26958f7035 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x20e0990) at kernel/qguiapplication.cpp:1573
#78 0x00007f26958dc628 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#79 0x00007f2689160af0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#80 0x00007f2690eecc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007f2690eecf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#82 0x00007f2690eecfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#83 0x00007f2694a89e2f in QEventDispatcherGlib::processEvents (this=0x14b01c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#84 0x00007f2694a302ca in QEventLoop::exec (this=this@entry=0x7ffcef46e4e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#85 0x00007f2694a37e3c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#86 0x000000000040f09b in main ()
Comment 15 Thomas Lübking 2015-08-10 14:21:23 UTC
Yupp, very same bug in the same plugin and library code.
Means it's rather unlikely because the deco plugin is "suddenly unloaded" - atm i'd say the breeze decoration was compiled against an "incompatible" kdecoration library (or debian moved symbols into namespaces?)

Do you think you can compile the breeze decoration locally?
Comment 16 Martin Flöser 2015-08-10 14:51:58 UTC
debian/unstable is currently in the gcc5 transition. It's quite likely that things are currently rather broken. Till unstable has finished the gcc5 transition I suggest that we don't investigate those issues as chances are too high that it's caused by the transition.
Comment 17 Martin Flöser 2015-08-17 15:30:34 UTC
apparently gcc5 transition problem which should be resolved by upgrading the breeze package.
Comment 18 Martin Flöser 2015-08-21 13:34:54 UTC
*** Bug 351563 has been marked as a duplicate of this bug. ***
Comment 19 Martin Flöser 2015-08-21 13:35:30 UTC
For more information: https://lists.alioth.debian.org/pipermail/pkg-kde-talk/2015-August/002116.html
Comment 20 Thomas Lübking 2015-08-21 21:43:07 UTC
*** Bug 351586 has been marked as a duplicate of this bug. ***
Comment 21 Thomas Lübking 2015-08-23 19:25:02 UTC
*** Bug 351666 has been marked as a duplicate of this bug. ***