[Pkg-xfce-devel] Bug#776848: xfce4-settings: xfsettingsd crashes when two monitor enabled

Brice Goglin bgoglin at debian.org
Mon Feb 2 13:19:16 UTC 2015


Package: xfce4-settings
Version: 4.10.1-2
Severity: important

Dear Maintainer,

After a recent upgrade (month-old testing to testing), my custom
keyboard shortbutys stopped working. This is caused by xfsettingsd
crashing when it starts with dual-monitor enabled.

The program 'xfsettingsd' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 146 error_code 8 request_code 140 minor_code 7)
  (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 is likely similar to
  https://bugzilla.xfce.org/show_bug.cgi?id=9680

With XFSETTINGSD_DEBUG=1 enabled, I see that the crash occurs after these lines:

xfce4-settings(xsettings): _XSETTINGS_S0 registered on screen 0
xfce4-settings(xsettings): 26 settings changed (serial=0, len=1000)
xfce4-settings(xsettings): resource manager (xft) changed (len=116)

and before these:

xfce4-settings(pointers): initialized xi 2.3
xfce4-settings(keyboards): initialized xkb 1.0
xfce4-settings(keyboards): set auto repeat on
xfce4-settings(keyboards): set key repeat (delay=500, rate=50)
xfce4-settings(keyboards): set numlock on
xfce4-settings(accessibility): stickykeys disabled
xfce4-settings(accessibility): slowkeys disabled
xfce4-settings(accessibility): bouncekeys disabled
xfce4-settings(accessibility): mousekeys disabled
xfce4-settings(keyboard-shortcuts): 13 shortcuts loaded
xfce4-settings(fontconfig): monitoring 71 paths
xfce4-settings(workspaces): 8 desktop names set from xfconf

If I start it with --sync to debug, it doesn't crash anymore.
If I start it with a single monitor enabled (the other is plugged
but disabled with xrandr --off) and later enable the second monitor,
no problem.

If I start it with the internal eDP1 panel disabled and the external
monitor DP1 enabled, it enables eDP1 and crashes as above.
So it looks something is wrong with the RANDR extension.

Is there some place where xfsettings tries to remember RANDR
setting? I would like to remove them.

I also thought that my "crazy" monitor config could be involved
(DP1 is rotated left, so eDP1 is larger than DP1 but DP1 is higher)
but it fails the same with non-rotated screens.

Note that xfce4-settings was not upgraded during my last update.
xfce4-session seems to be the only important xfce package that
was upgraded (4.10.1-8 -> 4.10.1-10). Others are xfce4-battery-plugin,
xfce4-notes, xfce4-notes-plugin, xfce4-terminal.

xserver-xorg-core got upgraded 2:1.16.1-1 -> 2:1.16.2.901-1
and quite a lot of X libraries got rebuilt but downgrading
xserver-xorg-core didn't help.

Brice


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xfce4-settings depends on:
ii  libc6               2.19-13
ii  libcairo2           1.14.0-2.1
ii  libdbus-1-3         1.8.12-3
ii  libdbus-glib-1-2    0.102-1
ii  libexo-1-0          0.10.2-4
ii  libfontconfig1      2.11.0-6.3
ii  libgarcon-1-0       0.2.1-2
ii  libgarcon-common    0.2.1-2
ii  libgdk-pixbuf2.0-0  2.31.1-2+b1
ii  libglib2.0-0        2.42.1-1
ii  libgtk2.0-0         2.24.25-1
ii  libnotify4          0.7.6-2
ii  libpango-1.0-0      1.36.8-3
ii  libx11-6            2:1.6.2-3
ii  libxcursor1         1:1.1.14-1+b1
ii  libxfce4ui-1-0      4.10.0-6
ii  libxfce4util6       4.10.1-2
ii  libxfconf-0-2       4.10.0-3
ii  libxi6              2:1.7.4-1+b2
ii  libxklavier16       5.2.1-1
ii  libxrandr2          2:1.4.2-1+b1
ii  xfconf              4.10.0-3

Versions of packages xfce4-settings recommends:
ii  x11-utils      7.7+2
ii  xfce4-volumed  0.1.13-5

xfce4-settings suggests no packages.

-- no debconf information



More information about the Pkg-xfce-devel mailing list