Bug 202520

Summary: add openDesktop widget crashes plasma
Product: [Unmaintained] plasma4 Reporter: Mark <markotahal>
Component: widget-opendesktopAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: acelerat, alex.sodu, aseigo, asraniel, bruno.nogueira.souza, christos.lazaridis+kde.bugzilla, echidnaman, krege, markotahal, smirnoffjr, tim.klassen, triliner
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark 2009-08-04 19:44:02 UTC
Version:           kde 4.3.00 (using Devel)
Compiler:          gcc  
OS:                Linux
Installed from:    Compiled sources

kde 4.3.00 (sidenote: there isn't this choice yet, when reporting via website formular..)
Archlinux, kernel 2.6.30.4,
Qt 4.5.2

Steps to reproduce: 
add widgets> choose openDesktop

What I see: 
just black screen and mouse(which i can move),nothing else happens for a long time, i just 'killall X' then

It's a bit different to a plasma crash, because in that case, plasma restarts itself.

More info: 
the crash is caused only by openDesktop widgets, others work well for me. 

openDesktop isn't on the list by default, but i could install it from my distribution's repos. (archlinux)

Have a nice day :)
Comment 1 Aaron J. Seigo 2009-08-05 01:19:00 UTC
please do the following:

* open a konsole window
* run: kquitapp plasma-desktop
* run: plasma-desktop
* clear the konsole buffer at this point (ctrl+alt+x does the trick nicely :)
* add the offending widget
* attach the output at the point of crash; my guess is that we'll see a missing symbol or an assert.
Comment 2 Mark 2009-08-05 01:45:40 UTC
Hi,
thank you very much for guiding me, here's the output: 
#### kill plasma
[marek@beruska ~]$ kquitapp plasma-desktop
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection                                                                     
[marek@beruska ~]$ echo $?                                                         
0                                                                                  
#### restart plasma
[marek@beruska ~]$ plasma-desktop                                                  
QDBusObjectPath: invalid path ""                                                   
couldn't create image from  "/home/jan/branding.png"                               
QGraphicsGridLayout::itemAt: invalid index 0                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 6                                       
QLayout: Attempting to add QLayout "" to Plasma::Dialog "", which already has a layout                                                                                
Object::connect: No such signal IHTC::zoomOut()                                    
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection                                                                     
###### openDesktop widget added at this point #######

[marek@beruska ~]$ QGraphicsGridLayout::itemAt: invalid index 2                    
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 1                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 1                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 1                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 1                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
QGraphicsGridLayout::itemAt: invalid index 2                                       
##### skipped repetitive messages, about a million times this line: 
QGraphicsGridLayout::itemAt: invalid index 2  



###### a side note
Please notice the complaint about invalid path:
QDBusObjectPath: invalid path ""                                                   
couldn't create image from  "/home/jan/branding.png"     


Good night, Marek
Comment 3 Aaron J. Seigo 2009-08-05 02:25:16 UTC
> QGraphicsGridLayout::itemAt: invalid index 2  

a-ha. so somewhere there's a loop that isn't terminating and that is dealing with a grid layout. that should help us track it down, thanks. :)
Comment 4 Aaron J. Seigo 2009-08-05 02:31:57 UTC
btw, are you adding the widget to the desktop or to a panel?
Comment 5 FSF member 2009-08-05 10:21:47 UTC
hello, i would like to confirm -
I have exactly the same problem. When adding OpenDesktop widget to desktop, it crashes and all i can see is cursor and all i can do is ctrl+alt+backspace 

triliner@pleiades:~$ kquitapp plasma-desktop
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
triliner@pleiades:~$ plasma-desktop
QDBusObjectPath: invalid path ""
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Object::connect: No such signal NMWiredNetworkInterface::connectionStateChanged(int,int,int)
"KConfigIni: In file /usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kickoffrc, line 3: " Invalid entry (missing '=')
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x0
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x0
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 18 (X_ChangeProperty)
  Resource id:  0x0
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
Comment 6 Mark 2009-08-05 11:17:35 UTC
i'm adding it to the desktop, tried to add to a panel now and it's the same.
Comment 7 Mark 2009-08-05 13:43:33 UTC
some progress: 
The bug occurs when adding the widget with different style than Oxygen set. 

temporary workaround: 
*SystemSettings > Look&Feel > Appearance > Style : set to Oxygen
*add openDesktop widget
*set kde style back to your liking
Comment 8 Mark 2009-08-05 14:20:03 UTC
update:
that way it worked till i had to relog to KDE, then plasma was dead and after kquitapp plasma-desktop & plasma restart it was always dead (the blocking widget was installed)..i had to remove .kde4/ because i didn'tknow how to remove a widget from commandline
Comment 9 Aaron J. Seigo 2009-08-05 15:22:29 UTC
Marek: the output from plasma when it had the bug looks identical to output from a bug in kubuntu packages due to a custom patch they had applied. i wonder if Archlinux had picked up the same bad patch?
Comment 10 Mark 2009-08-05 15:33:21 UTC
hm, that's interesting..i'm using kdemod from chakra-project.org
will try with 'official' KDE and report back. 
So do you think I shall report a bug for Arch packing instead of KDE?
Best wishes, Marek
Comment 11 Aaron J. Seigo 2009-08-05 15:38:16 UTC
only if we can confirm that it's a downstream bug; we did that yesterday with kubuntu, and it's just very suspicious that your problem looks identical. looks can be deceiving, but so far it's the best clue we have.
Comment 12 FSF member 2009-08-07 20:40:39 UTC
I reinstalled kubuntu, deleting .kde directory, and on new install it works...
Comment 13 Bruno Souza 2009-08-08 21:26:15 UTC
Hi, I think I got this problem here today, running on openSuse 11.1 KDE 4.3; 
Searching the net I've found some suggestions to uninstall NetworkManager.
After uninstalling it the plasma-desktop started to work again.

I'm still getting messages, but everything seems to be working:

QDBusObjectPath: invalid path ""
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection

The problem of crashing plasma-desktop was solved, but it loosed my desktop (2 folder view widgets) and panel configuration (icons to launch applications). There is any way to recover it?
Comment 14 Christos Lazaridis 2009-08-12 17:30:28 UTC
I can confirm this. I get the same crash and error message with Comment #2. Setting the theme to Oxygen still gives me a crash. 

Creating a new user allows the creation of the widget just fine.

Running Fedora 11 KDE 4.3 RPMs.
Comment 15 Ivan Pavlov 2009-08-13 11:38:19 UTC
I confirm this bug on Mandriva 2009.1, KDE 4.3 RPMs.
Comment 16 Mark 2009-09-03 23:04:08 UTC
Hello, 
just an update from  kde 4.3.1, unfortunately the bugs still persists.
Comment 17 Alex Sosa 2009-09-19 21:56:52 UTC
Same problem as Merek. I'm using also Arch64 + KDEmod. When I start X with xinit or startx or KDM the splash screen starts loading and suddenly when I should get my desktop I only get a black screen with a working cursor (themed), the message saying that Plasma Desktop closed unexpectedly. In the background I hear the welcome sound from KDE and nothing happens, only a black screen and my cursor. I have tried other distributions with KDE 4.3: fedora 11, Linux Mint and Sidux and KDE loads correctly and tried a fresh install from Arch64 and it happened again. So I may add that I had the same problem in both plataforms i686 and x86_64 fron Arch. So it might be a distro related problem?

Cheers.
Comment 18 Alex Sosa 2009-09-20 21:27:14 UTC
As stated before, I removed the "kdemod-networkmanagement" group and the error is gone.
Comment 19 Tim 2009-10-03 08:59:41 UTC
I have similar problems as described in this bug.  It first started when trying to fix plasmoid-desktop and then I followed someone's advice to remove some of the plasma files.  See the following for details: http://forum.kde.org/viewtopic.php?f=67&t=81341&start=10 . Would be nice to get a fix for this...
Comment 20 Mark 2009-11-01 23:37:44 UTC
ping from kde 4.3.2 this bug unfortunately still persists, everything else is great! :)
Comment 21 Hector Martin 2009-11-12 02:13:18 UTC
*** This bug has been confirmed by popular vote. ***
Comment 22 Jonathan Thomas 2009-12-15 00:33:47 UTC

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