plasma crash on dual monitor change

Bug #376383 reported by uMac
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

HI,

I'm using Ubuntu 9.04 with KDE4. it was new installation of Kubuntu Jaunty.
I running on Sony Vaio laptop with nvidia card.
Using external monitors, Fujitsu in the office and Samsung at home.
So there are 3 cases.
1. LCD only,
2. LCD + samsung, twinview,
3. LCD + Fugitsu , twinview

When I work at home and next day go to office and I have xorg.conf configured to use case 2 and I startup my laptop connected to Fugitsu monitor, I can see login screen addapted to wrong resolution which is not much of trouble but after loggin in my desktop and panels don't come up, I get just blackj background and cursor. switching between consoles work also running any programs using alt+F2 is ok.. So I assume plasma can't get up. There is no plasma in process list so when I run it manually as my user it does produce attached output and doesn;t come up. If I run plasma by superuser ti comes up OK, just everything I run is under root and I don't want that obviously.

What I have to do everytime I boot up system with different monitor attached or even with no monitor attached is to go to console and copy appropriate xorg.conf file and restart xserver.

What I would expect ideally would be remembering configuration for particular monitor attached and if not that at least plasma to work and possibility to change settings using nvidia-settings. Right now I can change configuration using nvidia settings but plasma doesn't come up and I have to save xorg.cong and restart xserver. This used to work this way in gnome on 8.10 I used before.

plasma output on manual run as normal user:

<unknown program name>(5242)/ checkComposite: Plasma has an argb visual 0x1d99380 58720257
<unknown program name>(5242)/ checkComposite: Plasma is COMPOSITE-less on 0x1d8d620
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
plasma(5243) Solid::Control::ManagerBasePrivate::loadBackend: Backend loaded: "NetworkManager 0.7"
plasma(5243) NetworkManagerApplet::NetworkManagerApplet: 423
plasma(5243) NetworkManagerApplet::NetworkManagerApplet: true "" ""
plasma(5243) NetworkManagerSettings::NetworkManagerSettings: "org.freedesktop.NetworkManagerUserSettings" true
plasma(5243) NetworkManagerSettings::NetworkManagerSettings: "org.freedesktop.NetworkManagerSystemSettings" true
plasma(5243) NetworkManagerSettings::initConnections: "/org/freedesktop/NetworkManagerSettings/2"
plasma(5243) RemoteConnection::RemoteConnection: "802-3-ethernet"
plasma(5243) NetworkManagerSettings::initConnections: "/org/freedesktop/NetworkManagerSettings/1"
plasma(5243) RemoteConnection::RemoteConnection: "802-3-ethernet"
plasma(5243) NetworkManagerSettings::initConnections: "/org/freedesktop/NetworkManagerSettings/0"
plasma(5243) RemoteConnection::RemoteConnection: "802-3-ethernet"
plasma(5243) NetworkManagerSettings::initConnections: "/org/freedesktop/NetworkManagerSettings/3"
plasma(5243) RemoteConnection::RemoteConnection: "802-3-ethernet"
plasma(5243) Controls::setDisplayedButtons: Minimum size before changing buttons: QSizeF(0, 0)
plasma(5243) Controls::setDisplayedButtons: Layout: QObject(0x0)
plasma(5243) showHideButton: Button minimum size: QSizeF(18, 18)
plasma(5243) showHideButton: Button preferred size: QSizeF(50, 50)
plasma(5243) showHideButton: Button minimum size: QSizeF(18, 18)
plasma(5243) showHideButton: Button preferred size: QSizeF(50, 50)
plasma(5243) showHideButton: Button minimum size: QSizeF(18, 18)
plasma(5243) showHideButton: Button preferred size: QSizeF(50, 50)
plasma(5243) showHideButton: Button minimum size: QSizeF(18, 18)
plasma(5243) showHideButton: Button preferred size: QSizeF(50, 50)
plasma(5243) Controls::setDisplayedButtons: Minimum size after changing buttons: QSizeF(92, 26)
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest()
plasma(5243) Solid::Control::ManagerBasePrivate::loadBackend: Backend loaded: "HAL-Power"
QGraphicsGridLayout::itemAt: invalid index 0
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 7
plasma(5243) NetworkManagerApplet::init:
plasma(5243) NetworkManagerApplet::showWired: SHOWING
plasma(5243) InterfaceGroup::InterfaceGroup: TYPE 1
plasma(5243) InterfaceItem::setNameDisplayMode: Product: "Networking Interface"
plasma(5243) InterfaceItem::activeConnectionsChanged: ()
plasma(5243) InterfaceItem::activeConnectionsChanged: ... updating active connection list for "/org/freedesktop/Hal/devices/net_00_1a_80_64_09_25" "eth1"
plasma(5243) InterfaceItem::activeConnectionsChanged: "eth1" Interface has no active connections
plasma(5243) InterfaceItem::connectionStateChanged: EMIT
plasma(5243) InterfaceItem::setEnabled: true
plasma(5243) InterfaceItem::setNameDisplayMode: Product: "Networking Interface"
plasma(5243) InterfaceItem::activeConnectionsChanged: ()
plasma(5243) InterfaceItem::activeConnectionsChanged: ... updating active connection list for "/org/freedesktop/Hal/devices/net_00_13_a9_90_a8_e4" "eth0"
plasma(5243) InterfaceItem::activeConnectionsChanged: "eth0" Interface has no active connections
plasma(5243) InterfaceItem::connectionStateChanged: EMIT
plasma(5243) InterfaceItem::setEnabled: true
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x20f8aa0)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x2075830)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x20f8aa0)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x1dc2f60)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x20f8910)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x2075830)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x20f8910)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x1dc2f60)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x21ce590)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x2075830)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x21ce590)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x1dc2f60)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x206d970)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x2075830)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) WiredConnectionInspector::accept: RemoteConnection(0x206d970)
plasma(5243) WiredConnectionInspector::accept: 1
plasma(5243) WiredConnectionInspector::accept: Solid::Control::WiredNetworkInterface(0x1dc2f60)
plasma(5243) WiredConnectionInspector::accept: false
plasma(5243) NetworkManagerApplet::showWireless: SHOWING
plasma(5243) InterfaceGroup::InterfaceGroup: TYPE 2
plasma(5243) InterfaceItem::setNameDisplayMode: Product: "WLAN Interface"
plasma(5243) InterfaceItem::activeConnectionsChanged: ()
plasma(5243) InterfaceItem::activeConnectionsChanged: ... updating active connection list for "/org/freedesktop/Hal/devices/net_00_18_de_ad_09_0e" "wlan0"
plasma(5243) InterfaceItem::activeConnectionsChanged: "wlan0" Interface has no active connections
plasma(5243) InterfaceItem::connectionStateChanged: EMIT
plasma(5243) WirelessInterfaceItem::setConnectionInfo: FIXME: tjkActive connections is empty while connected?
plasma(5243) WirelessInterfaceItem::setEnabled: true
plasma(5243) InterfaceItem::setEnabled: true
plasma(5243) InterfaceGroup::addInterfaceInternal: WiFi added
plasma(5243) WirelessInterfaceItem::setEnabled: true
plasma(5243) InterfaceItem::setEnabled: true
plasma(5243) NetworkManagerApplet::showVpn: SHOWING
QCoreApplication::postEvent: Unexpected null receiver
plasma(5243): ""min" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""max" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""min" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""max" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""min" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""max" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""min" - conversion of "-1,-1" to QSizeF failed"
******************
many many many same lines
******************
plasma(5243): ""min" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""max" - conversion of "-1,-1" to QSizeF failed"
plasma(5242): Communication problem with "plasma" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

Tags: kde4 plasma
Revision history for this message
uMac (uvaio) wrote :
Revision history for this message
ComradeRikhi (rednyellowcommie) wrote :

I get this error when switching monitor configurations also. Just changing the xorg.conf doesn't work for me, I also have to remove ~/.kde/share/config/plasmarc and ~/.kde/share/config/plasma-appletsrc. I simply backed them up as *.singlescreen and *.dualscreen and switch them depending on the configuration.

Could this problem be caused by keeping plasma widgets on the external monitor? Then plasma returns the error when it can't put the widgets off of the screen? Just a shot at the dark, but I have my widgets on the external monitor and I noticed the files I have to remove had the screen positions in them. Perhaps plasma could be forced to display all widgets within the X screen or to have multiple configurations depending on the screen resolution.

Minor issue though, I'm just going to write a script to remove and copy the correct files depending on the setup since I have to do this with the xorg.conf anyways.

Revision history for this message
Sheng Yang (yasker) wrote :

I also suffered this problem badly. Someday ago, I can restart plasma easily by running it through command line, but now I can't, and

plasma(5243): ""min" - conversion of "-1,-1" to QSizeF failed"
plasma(5243): ""max" - conversion of "-1,-1" to QSizeF failed"

continue to show.

It's very bothering and I haven't found a workaround for it. My setup using two different size screen on Intel Q965 onboard video card, and they have different resolution. Currently seems Xorg can't get the different resolution working well(PreferredMode didn't work), so I have to manually set it up after KDE boot...

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you please install kdebase-workspace-dbg and run plasma through gdb as described at https://wiki.kubuntu.org/Backtrace please? Thanks in advance.

affects: ubuntu → kdebase-workspace (Ubuntu)
Changed in kdebase-workspace (Ubuntu):
status: New → Incomplete
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in kdebase-workspace (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Maciej Niedzielski (machekku) wrote :

Hello. I am using Kubuntu Jaunty and I encountered this error a moment ago. I used my laptop with external display before (twinview) and now i started it without 2nd display.

I followed the instructions from comment #4 to create a backtrace, but I'm afraid it won't be very helpful, because it doesn't look like it crashed..

Revision history for this message
Maciej Niedzielski (machekku) wrote :

I thought maybe I can get something more useful if I press Ctrl+C while seeing repeated
plasma(8382): ""min" - conversion of "-1,-1" to QSizeF failed"
plasma(8382): ""max" - conversion of "-1,-1" to QSizeF failed"
.......

Changed in kdebase-workspace (Ubuntu):
status: Invalid → New
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Looks like a crash in the DBus libraries.

affects: kdebase-workspace (Ubuntu) → dbus (Ubuntu)
Revision history for this message
James Westby (james-w) wrote :

This didn't even crash inside DBus, let alone because of DBus. The backtrace
includes DBus as it was interrupted during a DBus call.

The timeout error indicates whatever process is receiving these DBus calls
is crashing or just taking a long time to process them (infinite loop?).

Thanks,

James

affects: dbus (Ubuntu) → kdebase-workspace (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Is this still a problem with KDE 4.3 (http://www.kubuntu.org/news/kde-4.3.1)

Changed in kdebase-workspace (Ubuntu):
status: New → Incomplete
Revision history for this message
Maciej Niedzielski (machekku) wrote :

I stopped crashing some time ago, so I guess it stopped when I upgraded to KDE 4.3.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thanks.

Changed in kdebase-workspace (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Jorge Eduardo (jorge-birck) wrote :

Im still having this problem here. With kde 4.2 and Kubuntu 9.04, it works fine.

But when im using kubuntu 9.10 fresh install and kde 4.3, i try to activate dual monitors (twinview) with nvidia-settings , but the plasma crash. Using Nvidia GeForce 7000M with nvidia drivers 185 or 190.

The problem only happens when i change the view with nvidia-settings. If i start kdm with pre configured twinview, it works fine.

Can i help with some log?

Thanks.

Changed in kdebase-workspace (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Can you install kdebase-workspace-dbg and get a backtrace from the KDE crash handler window please?

Changed in kdebase-workspace (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jorge Eduardo (jorge-birck) wrote :

The crash handler window did not appears. I think that the plasma-desktop did not crashes, cause when i press ALT+SHIT+F12 , the screen returns. I have installed this package, what can i do know? Seems that the process creates a child process:

jorge@laptop:~$ gdb plasma-desktop
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Lendo símbolos de /usr/bin/plasma-desktop...Lendo símbolos de /usr/lib/debug/usr/bin/plasma-desktop...concluído.
(no debugging symbols found)...concluído.
(gdb) run
Starting program: /usr/bin/plasma-desktop
[Thread debugging using libthread_db enabled]
QDBusObjectPath: invalid path ""
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/images.desktop not found
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/01 Marcus Garvey Time.mp3.desktop not found
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/02 God Bless.mp3.desktop not found
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/03 The Race.mp3.desktop not found
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/04 Guts.mp3.desktop not found
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/05 Rich Man, Poor Man.mp3.desktop not found
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/06 No Wrong Idea.mp3.desktop not found
findServiceByDesktopPath: /home/jorge/.kde/share/apps/RecentDocuments/07 Follow the Rainbow.mp3.desktop not found
Object::connect: No such signal SystemTray::Manager::jobStateChanged(SystemTray::Job*)
Unrecognized character: /
Unrecognized character: /
ERROR: syntax error
QGraphicsGridLayout::itemAt: invalid index 0
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 6
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection

Program exited normally.
(gdb)

Revision history for this message
Jorge Eduardo (jorge-birck) wrote :

* what can i do now?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdebase-workspace (Ubuntu) because there has been no activity for 60 days.]

Changed in kdebase-workspace (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.