xfsettingsd crashes after disconnecting external screen
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | xfce4-settings |
Incomplete
|
High
|
||
| | xfce4-settings (Ubuntu) |
High
|
Unassigned | ||
Bug Description
After upgrade to utopic, after suspend/resume some hotkeys are broken:
1. Language selection (was CapsLock/Shift CapsLock switching to CapsLock/CapsLock)
2. xfce shotcuts no longer works:
Alt-F2
Win-R
Win-T
PrintScreen
Win-W
etc.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.16.0-20-generic i686
ApportVersion: 2.14.7-0ubuntu3
Architecture: i386
CrashDB: ubuntu
CurrentDesktop: XFCE
Date: Fri Oct 10 11:22:56 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-07-19 (447 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release i386 (20130423.1)
PackageArchitec
SourcePackage: ubuntu-
Symptom: release-upgrade
UpgradeStatus: Upgraded to utopic on 2014-09-26 (13 days ago)
VarLogDistupgra
| George Shuklin (george-shuklin) wrote : | #1 |
| Brian Murray (brian-murray) wrote : | #2 |
| affects: | ubuntu-release-upgrader (Ubuntu) → xubuntu-meta (Ubuntu) |
Please open a terminal window and run this command which replaces the currently running instance of the Xfce settings daemon:
XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
Now wait until the bug occurs again and attach the terminal output to this report.
| affects: | xubuntu-meta (Ubuntu) → xfce4-settings (Ubuntu) |
| Changed in xfce4-settings (Ubuntu): | |
| status: | New → Incomplete |
| George Shuklin (george-shuklin) wrote : | #4 |
It happens again after few days of work. Here whole log:
$ XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
| Changed in xfce4-settings (Ubuntu): | |
| status: | Incomplete → New |
| George Shuklin (george-shuklin) wrote : | #5 |
... and restart of xfsettingsd restore icons and shortcuts. I think that problem somehow related to external monitor connection/
Monitors: DP1 (2560x1440), VGA1 (1920x1080)
Laptop: LVDS1 (1366x768)
Sorry for not answering earlier. I suggest that you forward this issue upstream by filing a bug report on the Xfce bug tracker. Thanks in advance.
|
|
#9 |
When configuration of monitors changed, xfcsettingsd crashes.
xfsettingsd
(xfsettingsd:6823): libupower-
(xfsettingsd:6823): xfsettingsd-WARNING **: No available CRTC for LVDS1.
The program 'xfsettingsd' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRRCrtc (invalid Crtc parameter)'.
(Details: serial 2615 error_code 148 request_code 140 minor_code 21)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
This happens when laptop wake up from multi-monitor configuration to configuration without external monitors (only laptop's builtin LVDS1).
This crash happens periodically.
Here launchpad bug for ubuntu: https:/
| George Shuklin (george-shuklin) wrote : | #7 |
| summary: |
- Hotkeys does not work or works wrong after few suspend/resume + xfsettingsd crashes after disconnecting external screen |
| Launchpad Janitor (janitor) wrote : | #8 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in xfce4-settings (Ubuntu): | |
| status: | New → Confirmed |
| Changed in xfce4-settings: | |
| importance: | Unknown → High |
| status: | Unknown → Confirmed |
| Changed in xfce4-settings (Ubuntu): | |
| importance: | Undecided → High |
| Kip Warner (kip) wrote : | #10 |
I also just experienced a similar crash. When I turned off my second LCD connected via DVI:
The program 'xfsettingsd' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRRCrtc (invalid Crtc parameter)'.
(Details: serial 2320 error_code 148 request_code 140 minor_code 21)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
| Aaron (aaron-bell-r) wrote : | #11 |
Affects me too. When I remove laptop from its dock and the DisplayPort monitor is disconnected, xfsettingsd crashes. Full log:
$ XFSETTINGSD_DEBUG=1 xfsettingsd --no-daemon
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-settings(
xfce4-...
| prodrigestivill (prodrigestivill) wrote : | #12 |
Adding this to the xorg.conf prevents it to fail, but it shouldn't be the solution. But it means is related with Display Events.
Section "Device"
# ...
Option "UseHotplugEvents" "false"
EndSection
|
|
#13 |
If possible, can you test this patch to see if it resolves the issue for you? https:/
| Changed in xfce4-settings: | |
| status: | Confirmed → Incomplete |
| Drew Lustro (drewlustro) wrote : | #14 |
This has been driving me nuts for weeks. I would lose my entire X session every single day as soon as the screen blanked... quite troublesome when you're trying to make linux work as your daily drive, haha.
*Confirmed fix* w/ the patch suggested on xfce's bugzilla: https:/
Download the xfce4-settings source, apply the patch, increment with a non-maintainer version number (for no future apt-get conflicts once this gets an official fix), and reinstall your patched xfce4-settings.
I had to learn how to patch a .deb file properly in the process, but that was worth it too.
-- Hardware/Software --
GPU: GTX 970 over DisplayPort 1.2
Monitor: Dell P2715 (4K@60Hz, hardware rev A03)
OS: Xubuntu Xenial (16.04 LTS)
Manually patched xfce4-settings version: 4.12.0-2ubuntu1
Useful links on patching .deb's:
https:/
http://
Can confirm the patch works fine for me having been hit with the same issue on an Intel NUC D54250WYK. I have manually applied the patch and I'm fine, however would be good to see this go into the distribution as well.


This is not a bug with the release upgrade process rather with the system after the release upgrade.