Bug 163531 - Plasma crashes on config loading, at a clean default startup
Summary: Plasma crashes on config loading, at a clean default startup
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-08 16:26 UTC by Niels van Mourik
Modified: 2008-06-12 14:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch to disable the folderview default in plasma, prevents the crash for me (1.04 KB, patch)
2008-06-11 19:10 UTC, Jan Mette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niels van Mourik 2008-06-08 16:26:47 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          GCC 4.2.3 
OS:                Linux

Just compiled *support, *libs, *pimlibs and *base (r818402) from scratch. Plasma crashes directly upon crash, I've deleted my ~/.kde4/share/config/plasma-appletsrc before I was able to start Plasma in the first place.

Application: Plasma Workspace (plasma), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5a6da60 (LWP 7387)]
[New Thread 0xb3fbfb90 (LWP 7390)]
[KCrash handler]
#6  0xb7ea50bd in Plasma::Applet::config ()
   from /home/niels/svn/kde/INSTALL/lib/libplasma.so.2
#7  0xb7f808e4 in DesktopCorona::loadDefaultLayout ()
   from /home/niels/svn/kde/INSTALL/lib/libkdeinit4_plasma.so
#8  0xb7ece7d3 in Plasma::Corona::initializeLayout ()
   from /home/niels/svn/kde/INSTALL/lib/libplasma.so.2
#9  0xb7f84453 in PlasmaApp::corona ()
   from /home/niels/svn/kde/INSTALL/lib/libkdeinit4_plasma.so
#10 0xb7f851a6 in PlasmaApp::PlasmaApp ()
   from /home/niels/svn/kde/INSTALL/lib/libkdeinit4_plasma.so
#11 0xb7f85310 in PlasmaApp::self ()
   from /home/niels/svn/kde/INSTALL/lib/libkdeinit4_plasma.so
#12 0xb7f832cf in kdemain ()
   from /home/niels/svn/kde/INSTALL/lib/libkdeinit4_plasma.so
#13 0x080487e2 in main ()
#0  0xb7f9b410 in __kernel_vsyscall ()
Comment 1 FiNeX 2008-06-08 18:40:47 UTC
From yesterday it seems that plasma is playfully crashing... probably this is a dup of bug #163477
Comment 2 Aaron J. Seigo 2008-06-09 05:21:11 UTC
no, this was almost certainly stale applets laying around. note how the reporter had to remove the appletsrc first.
Comment 3 Niels van Mourik 2008-06-09 10:12:34 UTC
@Aaron: Perhaps a misunderstanding, but the lack of appletsrc triggers this. I removed it at forehand to be sure I got a clean default Plasma.

I've found out a few more things. What I forgot to mention is that the bug only seems to appear when I've got an external screen connected to my laptop. Now I'm running -r818553 and the bug occurs when the screen is attached, but Plasma runs perfectly on the laptop screen. The resolutions of both screens are not the same (1280x800 and 1280x1024).

@FiNex: So this might be related to that bug after all?
Comment 4 Aaron J. Seigo 2008-06-09 10:43:08 UTC
ah, this was with a blank config. hm.

can you try with toay's kdebase/workspace and see if it works any better?
Comment 5 Niels van Mourik 2008-06-09 10:58:51 UTC
Just updated and recompiled.

It doesn't crash on startup anymore, so that seems to be fixed. Though it is extremely slow and plasma's screen space is messed up. I'm seeing a normal plasma and windows above (1280x800) but the remaining 400px underneath the plasma panel are unpainted (checkerboard). Plasma is definitely confused with the resolution of the primary screen. Need to make another ticket for this.

[KDE4] niels@gazprom:~/svn/kde$ plasma&
[3] 22048
[KDE4] niels@gazprom:~/svn/kde$ QObject: Do not delete object, 'unnamed', during its event handler!

[KDE4] niels@gazprom:~/svn/kde$ kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x161ab16)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x161ab47)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x161aada)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x161ab48)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x161ab15)
Object::connect: No such slot FolderView::layoutChanged(QModelIndex,QModelIndex)
QObject: Do not delete object, 'unnamed', during its event handler!
[KDE4] niels@gazprom:~/svn/kde$ QLayout: Attempting to add QLayout "" to Plasma::Dialog "", which already has a layout
Unrecognized character: /
Unrecognized character: /
ERROR: syntax error
plasma(22048): Communication problem with  "plasma" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "

plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
plasma(22049)/libplasma Plasma::PanelSvg::resizePanel: Invalid size QSizeF(0, 1)
kdeinit4: preparing to launch
QDBusConnection received a message of type 3 that it shouldn't have
error: "org.freedesktop.DBus.Error.ServiceUnknown" "The name :1.113 was not provided by any .service files"

Comment 6 FiNeX 2008-06-09 12:43:41 UTC
I've just re-build kde, now plasma starts again, the startup is a bit slow, about one minute, but after it seems ok.
Comment 7 Aaron J. Seigo 2008-06-09 23:38:44 UTC
"the startup is a bit slow, about one minute, "

that's more than a bit slow. how fast is your computer? and how many systray icons do you have showing?
Comment 8 FiNeX 2008-06-10 08:55:59 UTC
I've used a clean user account, maybe KDE need to create some config files?

I'm on a P4@2.6 Ghz with 1Gb RAM.
Comment 9 Ronan Arraes Jardim Chagas 2008-06-11 02:06:17 UTC
I reinstalled KDE SVN today, and i'm having the same problem.
When i delete plasmarc and plasma-appletsrc, plasma crashes on startup, but when i put these files again on the right place, the problem stops.
I've tried to create empty files, but the problem continues the same way when i delete them.
Comment 10 FiNeX 2008-06-11 14:42:45 UTC
Confirmed, I've just tried with a clean user account, plasma doesn't start too.
Comment 11 Jan Mette 2008-06-11 19:08:49 UTC
I have the same problem, with a fresh checkout...


BACKTRACE:

Application: Plasma Workspace (plasma), signal SIGSEGV
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4ba2910 (LWP 24045)]
[New Thread 0xb30ddb90 (LWP 24046)]
[KCrash handler]
#6  0xb7e25efc in Plasma::Applet::config ()
   from /opt/kdemod/lib/libplasma.so.2
#7  0xb7f23ef9 in DesktopCorona::loadDefaultLayout ()
   from /opt/kdemod/lib/libkdeinit4_plasma.so
#8  0xb7e51d75 in Plasma::Corona::initializeLayout ()
   from /opt/kdemod/lib/libplasma.so.2
#9  0xb7f2805a in PlasmaApp::corona ()
   from /opt/kdemod/lib/libkdeinit4_plasma.so
#10 0xb7f29735 in PlasmaApp::PlasmaApp ()
   from /opt/kdemod/lib/libkdeinit4_plasma.so
#11 0xb7f2a066 in PlasmaApp::self ()
   from /opt/kdemod/lib/libkdeinit4_plasma.so
#12 0xb7f27a8b in kdemain () from /opt/kdemod/lib/libkdeinit4_plasma.so
#13 0x080487e6 in _start ()
#0  0xb7f40424 in __kernel_vsyscall ()


After looking a bit around in the code, i found out that the folderview applet seems to be the cause for this - maybe because it got moved to kdebase-apps recently - but i am not a pro regarding this :)

I created a small patch to disable the folderview plasmoid to be loaded by default and it works now for me... I`ll attach the patch to my next comment, so you can see how i "prevented" the crash...

HTH

Jan

Comment 12 Jan Mette 2008-06-11 19:10:30 UTC
Created attachment 25273 [details]
patch to disable the folderview default in plasma, prevents the crash for me

patch to disable the folderview default in plasma, prevents the crash for me
Comment 13 Ronan Arraes Jardim Chagas 2008-06-11 23:36:41 UTC
By the way, my folder viewer isn't working :)
It is just showing a black square with no configuration options and in "Add Widgets" i don't have the option to add a folder viewer.
Comment 14 Aaron J. Seigo 2008-06-12 09:44:13 UTC
SVN commit 819806 by aseigo:

folderview moved to another module, making it possible to end up with an install that doesn't have it, but the code relying on its existence wasn't modified. let's fix that =)
BUG:163531


 M  +7 -5      desktopcorona.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=819806
Comment 15 Jan Mette 2008-06-12 14:12:15 UTC
Thanks for the quick fix :)

And yes, i ended up with an install that doesnt had the applet... But that was my stupid fault, i just forgot to include the new plasma stuff my kdebase-apps pkg :)