Bug 304645

Summary: KDE 4.9.0 kwindecoration kcm crashes on start
Product: [Applications] systemsettings Reporter: Jussi Kekkonen <jussi.kekkonen>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jussi Kekkonen 2012-08-06 06:41:40 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- Unusual behavior I noticed:
Kwin decoration had changed from my settings (tabstrip) to KDE default (Oxygen).

- What I was doing when the application crashed:
running the following command after upgrading to KDE sc 4.9.0 from 4.8.x
~$ kcmshell4 kwindecoration

kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_kde2.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_keramik.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_modernsys.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_qtcurve.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_quartz.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_redmond.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_skulpture.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_web.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
couldn't create image from  "/home/diau/overlay.png" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_kde2.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_keramik.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_modernsys.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_quartz.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_redmond.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: "****** The library /usr/lib/kde4/kwin3_skulpture.so has no API version ******" 
kcmshell(5056)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION macro in extern "C" to get this decoration loaded in future versions of kwin 
KCrash: Application 'kcmshell4' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f22b1892780 (LWP 5056))]

Thread 3 (Thread 0x7f22a0abf700 (LWP 5057)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f22a157e222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f22a157e259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f22aca85e9a in start_thread (arg=0x7f22a0abf700) at pthread_create.c:308
#4  0x00007f22b11d84bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f229f6b5700 (LWP 5058)):
#0  0x00007fffeaff08de in ?? ()
#1  0x00007f22ac01815d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f22afce7bb4 in do_gettime (frac=0x7f229f6b4b98, sec=0x7f229f6b4b90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f22afdbfb8d in QTimerInfoList::updateCurrentTime (this=0x7f2298002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f22afdbfec3 in QTimerInfoList::timerWait (this=0x7f2298002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f22afdbe97c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f229f6b4c6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f22afdbea25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f22abd66846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f22abd66f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f22abd67164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f22afdbf426 in QEventDispatcherGlib::processEvents (this=0x7f22980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f22afd8ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f22afd8eed7 in QEventLoop::exec (this=0x7f229f6b4dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f22afc8dfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f22afd6e9ff in QInotifyFileSystemWatcherEngine::run (this=0x12fcb40) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f22afc90fcb in QThreadPrivate::start (arg=0x12fcb40) at thread/qthread_unix.cpp:298
#17 0x00007f22aca85e9a in start_thread (arg=0x7f229f6b5700) at pthread_create.c:308
#18 0x00007f22b11d84bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f22b1892780 (LWP 5056)):
[KCrash Handler]
#6  0x00007f229d7c7156 in KDecorationOptions::font(bool, bool) const () from /usr/lib/libkdecorations.so.4
#7  0x00007f229d19fab8 in ?? () from /usr/lib/kde4/kwin3_skulpture.so
#8  0x00007f22a22fc232 in KDecorationPreview::recreateDecoration (this=0x1302b50, plugins=0x1301fb0) at ../../../../kwin/kcmkwin/kwindecoration/preview.cpp:77
#9  0x00007f22a22fe43d in KWin::DecorationModel::regeneratePreview (this=0x13029d0, index=..., size=...) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:332
#10 0x00007f22a22fe835 in KWin::DecorationModel::regenerateNextPreview (this=0x13029d0) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:279
#11 0x00007f22afda9446 in QObject::event (this=0x13029d0, e=<optimized out>) at kernel/qobject.cpp:1195
#12 0x00007f22af112894 in notify_helper (e=0x1624ed0, receiver=0x13029d0, this=0xeb3a30) at kernel/qapplication.cpp:4559
#13 QApplicationPrivate::notify_helper (this=0xeb3a30, receiver=0x13029d0, e=0x1624ed0) at kernel/qapplication.cpp:4531
#14 0x00007f22af117713 in QApplication::notify (this=0x7fffeafd3150, receiver=0x13029d0, e=0x1624ed0) at kernel/qapplication.cpp:4420
#15 0x00007f22b0a72456 in KApplication::notify (this=0x7fffeafd3150, receiver=0x13029d0, event=0x1624ed0) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f22afd8fe9c in QCoreApplication::notifyInternal (this=0x7fffeafd3150, receiver=0x13029d0, event=0x1624ed0) at kernel/qcoreapplication.cpp:876
#17 0x00007f22afd93c6a in sendEvent (event=0x1624ed0, receiver=0x13029d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe8f2b0) at kernel/qcoreapplication.cpp:1500
#19 0x00007f22afdbef93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#21 0x00007f22abd66d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f22abd670a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f22abd67164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f22afdbf3bf in QEventDispatcherGlib::processEvents (this=0xeb2440, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007f22af1bad5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f22afd8ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f22afd8eed7 in QEventLoop::exec (this=0x7fffeafd30a0, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f22af5e2936 in QDialog::exec (this=0x1015bf0) at dialogs/qdialog.cpp:554
#29 0x00007f22b14aad2c in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:292
#30 0x00007f22b110776d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=2, ubp_av=0x7fffeafd3968, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffeafd3958) at libc-start.c:226
#31 0x0000000000400671 in _start ()

This bug may be a duplicate of or related to bug 301728.

Possible duplicates by query: bug 302112, bug 301826.

Reported using DrKonqi
Comment 1 Jussi Kekkonen 2012-08-06 07:06:47 UTC
Possible duplicate of bug 301646
Comment 2 Jussi Kekkonen 2012-08-06 07:27:25 UTC
Removed kwin-style-skulpture and now I have no crash. So definately Skulpture window decoration related issue.
Comment 3 Christoph Feck 2012-08-06 09:12:10 UTC
Yep, there is a problem with nearly all third-party decorations due to a hidden binary incompatibility introduced in 4.9.

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