This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kwin crash in KDE 4.12 (Solved)

Tags: None
(comma "," separated)
User avatar
juanuni
Registered Member
Posts
5
Karma
0
OS

Kwin crash in KDE 4.12 (Solved)

Fri Jan 10, 2014 5:30 pm
Hi, I'm Juan (John translated into English from Spanish), but everybody call me juanuni. I have Ubuntu 12.04 minimal with KDE (4.8.something). Yesterday update the kernel for the last. Then update KDE (to KDE 4.12.something) following the intrucctions from http://ubuntuhandbook.org/index.php/201 ... 1310-1204/
Code: Select all
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get dist-upgrade


The installation done; but when I reboot, I login normally, but kwin crash. Apps works but no there buttons for close, max or min in the window. I suspect this is due Bespin (my window manager). Effectively, I open "system settings" and I can change anything except "Workspace Appareance", appears crash report. I read the bug report and see something related with Bespin (my window manager).

At the time I thought I could solve this if I login with the previous kernel, but it did not happen. Then I came to my deleting .kde folder (always with the previous kernel) and this time Kwin works with oxygen. However I still have the problem with "Workspace Appareance". The terminal show this :
Code: Select all
~$ systemsettings
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
juanuni@juanuni:~$ KCrash: Application 'systemsettings' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/juanuni/.kde/socket-juanuni/kdeinit4__0
Unable to start Dr. Konqi
Not forwarding the crash to Apport.


The trace from bug report show this:
Code: Select all
Application: Preferencias del sistema (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1d2b740 (LWP 2137))]

Thread 2 (Thread 0xadd1ab40 (LWP 2170)):
#0  0xb77a5424 in __kernel_vsyscall ()
#1  0xb30ed96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5d634bc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb41fc029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb41fc06f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb30e9d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5d55bae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1d2b740 (LWP 2137)):
[KCrash Handler]
#7  0xacfd39f4 in KDecorationOptions::font(bool, bool) const () from /usr/lib/libkdecorations.so.4
#8  0xadf356e7 in Bespin::Factory::readConfig() () from /usr/lib/kde4/kwin3_bespin.so
#9  0xadf3784f in Bespin::Factory::Factory() () from /usr/lib/kde4/kwin3_bespin.so
#10 0xadf37a9c in create_factory () from /usr/lib/kde4/kwin3_bespin.so
#11 0xae7e34b8 in KDecorationPlugins::loadPlugin (this=0x9ff9fa0, nameStr=...) at ../../../kwin/libkdecorations/kdecoration_plugins_p.cpp:248
#12 0xadd5f83c in KWin::DecorationModel::regeneratePreview (this=0xa173ba8, index=..., size=...) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:366
#13 0xadd5fdee in KWin::DecorationModel::regenerateNextPreview (this=0xa173ba8) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:331
#14 0xadd4c5e0 in qt_static_metacall (_a=0xa2a9978, _id=2, _o=0xa173ba8, _c=<optimized out>) at moc_decorationmodel.cpp:65
#15 KWin::DecorationModel::qt_static_metacall (_o=0xa173ba8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xa2a9978) at moc_decorationmodel.cpp:57
#16 0xb6084101 in QMetaCallEvent::placeMetaCall (this=0xa2f8500, object=0xa173ba8) at kernel/qobject.cpp:525
#17 0xb608d17b in QObject::event (this=0xa173ba8, e=0xa2f8500) at kernel/qobject.cpp:1195
#18 0xb6664df4 in notify_helper (e=0xa2f8500, receiver=0xa173ba8, this=0x9e09058) at kernel/qapplication.cpp:4556
#19 QApplicationPrivate::notify_helper (this=0x9e09058, receiver=0xa173ba8, e=0xa2f8500) at kernel/qapplication.cpp:4528
#20 0xb666a15d in QApplication::notify (this=0xa2f8500, receiver=0xa173ba8, e=0xa2f8500) at kernel/qapplication.cpp:4285
#21 0xb71ea161 in KApplication::notify (this=0xbfa437fc, receiver=0xa173ba8, event=0xa2f8500) at ../../kdeui/kernel/kapplication.cpp:311
#22 0xb6071e0e in QCoreApplication::notifyInternal (this=0xbfa437fc, receiver=0xa173ba8, event=0xa2f8500) at kernel/qcoreapplication.cpp:915
#23 0xb6075f68 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ddd130) at kernel/qcoreapplication.cpp:1539
#25 0xb607629c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#26 0xb60a4994 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x9e08b90) at kernel/qeventdispatcher_glib.cpp:279
#28 0xb3017d46 in g_main_dispatch (context=0x9e08c70) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:2539
#29 g_main_context_dispatch (context=0x9e08c70) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3075
#30 0xb30180e5 in g_main_context_iterate (dispatch=1, block=-1291691504, context=0x9e08c70, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3146
#31 g_main_context_iterate (context=0x9e08c70, block=-1291691504, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3083
#32 0xb30181c1 in g_main_context_iteration (context=0x9e08c70, may_block=1) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3207
#33 0xb60a4d87 in QEventDispatcherGlib::processEvents (this=0x9ddde90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0xb671da1a in QGuiEventDispatcherGlib::processEvents (this=0x9ddde90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb60706ad in QEventLoop::processEvents (this=0xbfa43754, flags=...) at kernel/qeventloop.cpp:149
#36 0xb6070949 in QEventLoop::exec (this=0xbfa43754, flags=...) at kernel/qeventloop.cpp:204
#37 0xb607634a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#38 0xb66629c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#39 0x08050488 in main (argc=110220, argv=0xa16c2b8) at ../../../systemsettings/app/main.cpp:49


I still have doubts, because I don't know if I should show the trace of the bug report that appear when I use the new kernel 3.12, because I want to use kde 4.12.

Do not report this in bugs.kde.org because I believe that this is not a specific problem of kde, but is related to Bespin, which is not part of kde. I hope I explained clearly. I'm new here and I hope I have posted in the right place. Excuse my English. My native language is Spanish. Thanks for your answers.

Last edited by juanuni on Sun Jan 12, 2014 8:15 pm, edited 1 time in total.
luebking
Karma
0

Re: Kwin crash in KDE 4.12

Sat Jan 11, 2014 1:21 am
It's because Ubuntu broke decoration ABI compatibility downstream (again)

Everything's ok with KWin as well as with Bespin, but they don't "match" anymore and you'll have to recompile bespin or get a binary compiled for Ubuntus section adjustments.

This will affect any 3rd party decoration (QtCurve, Skulpture, Dekorator, Smaragd, Oxygen-transparent, ...)

In "kcmshell4 kwindecoration", set the decoration to oxygen, then start "kwin" (either from krunner, ie. alt+f2) so you can use the system again. Then get an updated bespin package or compile bespin yourself from git
User avatar
juanuni
Registered Member
Posts
5
Karma
0
OS

Re: Kwin crash in KDE 4.12

Sat Jan 11, 2014 4:03 pm
luebking wrote:In "kcmshell4 kwindecoration", set the decoration to oxygen, then start "kwin" (either from krunner, ie. alt+f2) so you can use the system again. Then get an updated bespin package or compile bespin yourself from git


@Luebking thanks for your response. This time when I open "kcmshell4 kwindecoration" with KRunner, appears crash report. The terminal output is

Code: Select all
kcmshell(4754)/kwin KDecorationPlugins::canLoad: kwin : path  "/usr/lib/kde4/kwin3_b2.so"  for  "kwin3_b2"
kcmshell(4754)/kwin KDecorationPlugins::canLoad: kwin : path  "/usr/lib/kde4/kwin3_bespin.so"  for  "kwin3_bespin"
kcmshell(4754)/kwin KDecorationPlugins::canLoad: kwin : path  "/usr/lib/kde4/kwin3_laptop.so"  for  "kwin3_laptop"
kcmshell(4754)/kwin KDecorationPlugins::canLoad: kwin : path  "/usr/lib/kde4/kwin3_oxygen.so"  for  "kwin3_oxygen"
kcmshell(4754)/kwin KDecorationPlugins::canLoad: kwin : path  "/usr/lib/kde4/kwin3_b2.so"  for  "kwin3_b2"
kcmshell(4754)/kwin KDecorationPlugins::canLoad: kwin : path  "/usr/lib/kde4/kwin3_bespin.so"  for  "kwin3_bespin"
KCrash: Application 'kcmshell4' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/juanuni/.kde/socket-juanuni/kdeinit4__0

[1]+  Detenido                kcmshell4 kwindecoration


and the trace from bug report is

Code: Select all
Application: Módulo de control de KDE (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb55ca980 (LWP 4754))]

Thread 2 (Thread 0xaf175b40 (LWP 4755)):
#0  0xb76f3424 in __kernel_vsyscall ()
#1  0xb59ae96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb761f4bc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb01f0029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb01f006f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb59aad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb7611bae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb55ca980 (LWP 4754)):
[KCrash Handler]
#7  0xae2c69f4 in KDecorationOptions::font(bool, bool) const () from /usr/lib/libkdecorations.so.4
#8  0xae41d6e7 in Bespin::Factory::readConfig() () from /usr/lib/kde4/kwin3_bespin.so
#9  0xae41f84f in Bespin::Factory::Factory() () from /usr/lib/kde4/kwin3_bespin.so
#10 0xae41fa9c in create_factory () from /usr/lib/kde4/kwin3_bespin.so
#11 0xb22ec4b8 in KDecorationPlugins::loadPlugin (this=0x8a284c8, nameStr=...) at ../../../kwin/libkdecorations/kdecoration_plugins_p.cpp:248
#12 0xb23d183c in KWin::DecorationModel::regeneratePreview (this=0x8a24ef0, index=..., size=...) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:366
#13 0xb23d1dee in KWin::DecorationModel::regenerateNextPreview (this=0x8a24ef0) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:331
#14 0xb23be5e0 in qt_static_metacall (_a=0x8c38c18, _id=2, _o=0x8a24ef0, _c=<optimized out>) at moc_decorationmodel.cpp:65
#15 KWin::DecorationModel::qt_static_metacall (_o=0x8a24ef0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x8c38c18) at moc_decorationmodel.cpp:57
#16 0xb6bfd101 in QMetaCallEvent::placeMetaCall (this=0x8aac828, object=0x8a24ef0) at kernel/qobject.cpp:525
#17 0xb6c0617b in QObject::event (this=0x8a24ef0, e=0x8aac828) at kernel/qobject.cpp:1195
#18 0xb60d4df4 in notify_helper (e=0x8aac828, receiver=0x8a24ef0, this=0x88df9f0) at kernel/qapplication.cpp:4556
#19 QApplicationPrivate::notify_helper (this=0x88df9f0, receiver=0x8a24ef0, e=0x8aac828) at kernel/qapplication.cpp:4528
#20 0xb60da15d in QApplication::notify (this=0x8aac828, receiver=0x8a24ef0, e=0x8aac828) at kernel/qapplication.cpp:4285
#21 0xb728f161 in KApplication::notify (this=0xbfdffcf0, receiver=0x8a24ef0, event=0x8aac828) at ../../kdeui/kernel/kapplication.cpp:311
#22 0xb6beae0e in QCoreApplication::notifyInternal (this=0xbfdffcf0, receiver=0x8a24ef0, event=0x8aac828) at kernel/qcoreapplication.cpp:915
#23 0xb6beef68 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x88c1a40) at kernel/qcoreapplication.cpp:1539
#25 0xb6bef29c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#26 0xb6c1d994 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x88e1ab8) at kernel/qeventdispatcher_glib.cpp:279
#28 0xb5894d46 in g_main_dispatch (context=0x88df350) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:2539
#29 g_main_context_dispatch (context=0x88df350) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3075
#30 0xb58950e5 in g_main_context_iterate (dispatch=1, block=-1249236464, context=0x88df350, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3146
#31 g_main_context_iterate (context=0x88df350, block=-1249236464, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3083
#32 0xb58951c1 in g_main_context_iteration (context=0x88df350, may_block=1) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3207
#33 0xb6c1dd87 in QEventDispatcherGlib::processEvents (this=0x88c25b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0xb618da1a in QGuiEventDispatcherGlib::processEvents (this=0x88c25b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb6be96ad in QEventLoop::processEvents (this=0xbfdffc60, flags=...) at kernel/qeventloop.cpp:149
#36 0xb6be9949 in QEventLoop::exec (this=0xbfdffc60, flags=...) at kernel/qeventloop.cpp:204
#37 0xb66277e9 in QDialog::exec (this=0x89c8ba0) at dialogs/qdialog.cpp:554
#38 0xb76ebdb1 in kdemain (_argc=2, _argv=0xbfdfff94) at ../../kcmshell/main.cpp:297
#39 0x0804850b in main (argc=2, argv=0xbfdfff94) at kcmshell4_dummy.cpp:3


I'm looking for a text file where I can change the window decoration without having to enter graphics mode, to kwindecoration, because it always breaks.
luebking
Karma
0

Re: Kwin crash in KDE 4.12

Sat Jan 11, 2014 4:06 pm
D'oohhh - sorry, that was expectable.
Code: Select all
kwriteconfig --file kwinrc --group Style --key PluginLib kwin3_oxygen

The file to edit by hand (if you'd prefer that) would be ~/.kde/share/config/kwinrc - seek for the [Style] group and the PluginLib key.
User avatar
juanuni
Registered Member
Posts
5
Karma
0
OS

Re: Kwin crash in KDE 4.12

Sat Jan 11, 2014 7:33 pm
luebking wrote:D'oohhh - sorry, that was expectable.
Code: Select all
kwriteconfig --file kwinrc --group Style --key PluginLib kwin3_oxygen

The file to edit by hand (if you'd prefer that) would be ~/.kde/share/config/kwinrc - seek for the [Style] group and the PluginLib key.


Thanks for your answer. I see the kwinrc but no there Style group nor pluginlib key or something related. Should I create them? How I do it?
luebking
Karma
0

Re: Kwin crash in KDE 4.12

Sat Jan 11, 2014 9:10 pm
There would be - otherwise there's no reason why bespin should be loaded (oxygen and plastik are teh defaults)
Maybe in another location, like "~/.kde4"?

In doubt, just run the command.
This one will tell you the current configuration:
Code: Select all
kreadconfig --file kwinrc --group Style --key PluginLib
User avatar
juanuni
Registered Member
Posts
5
Karma
0
OS

Re: Kwin crash in KDE 4.12

Sun Jan 12, 2014 1:46 am
luebking wrote:There would be - otherwise there's no reason why bespin should be loaded (oxygen and plastik are teh defaults)
Maybe in another location, like "~/.kde4"?

In doubt, just run the command.
This one will tell you the current configuration:
Code: Select all
kreadconfig --file kwinrc --group Style --key PluginLib


Thanks for your answer. With the command
Code: Select all
kreadconfig --file kwinrc --group Style --key PluginLib

nothings ocurr. This is my ~/.kde/share/config/kwinrc
Code: Select all
[$Version]
update_info=kwin_remove_effects.upd:kwin4.7_effects

[Compositing]
AnimationSpeed=3
Backend=OpenGL
Enabled=true
GLColorCorrection=false
GLCore=true
GLLegacy=false
GLPreferBufferSwap=a
GLTextureFilter=2
GraphicsSystem=raster
HiddenPreviews=5
OpenGLIsUnsafe=false
UnredirectFullscreen=false
XRenderSmoothScale=false

[Desktops]
Number=1

[Effect-BoxSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-Zoom]
InitialZoom=1

[Plugins]
kwin4_effect_blurEnabled=true
kwin4_effect_coverswitchEnabled=false
kwin4_effect_cubeEnabled=false
kwin4_effect_cubeslideEnabled=false
kwin4_effect_dashboardEnabled=true
kwin4_effect_desktopgridEnabled=true
kwin4_effect_dialogparentEnabled=true
kwin4_effect_diminactiveEnabled=false
kwin4_effect_dimscreenEnabled=false
kwin4_effect_fadeEnabled=true
kwin4_effect_fadedesktopEnabled=false
kwin4_effect_fallapartEnabled=false
kwin4_effect_flipswitchEnabled=false
kwin4_effect_glideEnabled=false
kwin4_effect_highlightwindowEnabled=true
kwin4_effect_invertEnabled=false
kwin4_effect_kscreenEnabled=true
kwin4_effect_loginEnabled=true
kwin4_effect_logoutEnabled=true
kwin4_effect_lookingglassEnabled=false
kwin4_effect_magiclampEnabled=false
kwin4_effect_magnifierEnabled=false
kwin4_effect_maximizeEnabled=true
kwin4_effect_minimizeanimationEnabled=true
kwin4_effect_mouseclickEnabled=false
kwin4_effect_mousemarkEnabled=false
kwin4_effect_presentwindowsEnabled=true
kwin4_effect_resizeEnabled=false
kwin4_effect_scaleinEnabled=false
kwin4_effect_screenedgeEnabled=true
kwin4_effect_screenshotEnabled=true
kwin4_effect_sheetEnabled=false
kwin4_effect_showfpsEnabled=false
kwin4_effect_showpaintEnabled=false
kwin4_effect_slideEnabled=true
kwin4_effect_slidebackEnabled=false
kwin4_effect_slidingpopupsEnabled=true
kwin4_effect_snaphelperEnabled=false
kwin4_effect_startupfeedbackEnabled=true
kwin4_effect_taskbarthumbnailEnabled=true
kwin4_effect_thumbnailasideEnabled=false
kwin4_effect_trackmouseEnabled=false
kwin4_effect_translucencyEnabled=true
kwin4_effect_windowgeometryEnabled=false
kwin4_effect_wobblywindowsEnabled=false
kwin4_effect_zoomEnabled=true

[TabBox]
DesktopMode=1
ShowTabBox=true
User avatar
juanuni
Registered Member
Posts
5
Karma
0
OS

Re: Kwin crash in KDE 4.12

Sun Jan 12, 2014 8:06 pm
luebking wrote:There would be - otherwise there's no reason why bespin should be loaded (oxygen and plastik are teh defaults)
Maybe in another location, like "~/.kde4"?

In doubt, just run the command.
This one will tell you the current configuration:
Code: Select all
kreadconfig --file kwinrc --group Style --key PluginLib

@luebking thanks for your time. I solve this problem by reinstalling Bespin. Regards.
luebking
Karma
0

Re: Kwin crash in KDE 4.12 (Solved)

Sun Jan 12, 2014 10:24 pm
There's no output because nothing has been set explicitly.
You can just use the other one to set the config to oxygen, but re-installing bespin is oc. a good solution as well =)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar