! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Panel Crashes When 2nd Monitor Is Selected On Panel Customization Menu
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description John Vilk 2006-05-24 01:29:06 CEST
I recently compiled the 4.4BETA1 version on my Ubuntu box (Pentium III, 800Mhz).
I have dual monitors on my PCI PNY Nvidia Quadro, using X.org, on Ubuntu 5.10.
This is the "server layout" portion of my xorg.conf, in case it helps in any way:
Section "ServerLayout"
        Identifier      "Twin_Layout"
        Screen          "Default Screen"
        Screen          "Secondary Screen" LeftOf "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

So, my right screen is screen1 and my left screen is screen2. I am using the nvidia x.org driver, of course, since I need that for dual monitors.

The first time I booted into this new version of XFCE4, the panel was on the right monitor (my primary monitor), and not on my left monitor. So, attempting to fix this, I right clicked the panel, clicked "Customize Panel", and in the window, clicked "2" under "Select Monitor", which is under the position settings. Once I did this, the panel seemed to begin to transfer to the second screen, then it crashes. If I run it in gdb, or just in terminal with --sync, and recreate this crash, this error displays (This was taken from me running the panel in gdb with the --sync option):

The program 'xfce4-panel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 18841 error_code 8 request_code 56 minor_code 0)
  (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.)

Program exited with code 01.

So, the panel crashes, and to get it back I must rerun the panel, and it returns to my primary screen.

I can always reproduce this error on my machine by performing the following steps:
1. Right clicking the panel on the primary screen and clicking on "Customize Panel".
2. Clicking "2" under "Select Monitor".

If there is any other information you need about my system or this error or anything, feel free to email me at nintendud@gmail.com, or I might be in #xfce on freenode.
This is my first bug report, so please excuse the longetivity :)
Comment 1 John Vilk 2006-05-24 01:32:08 CEST
I forgot to mention, performing "bt" in gdb after the crash displays this:
"No stack."
Comment 2 Jasper Huijsmans editbugs 2006-05-24 18:34:45 CEST
Thanks for the report. I'm afraid this sounds like a rather nasty problem to find, especially because I don't have a xinerama setup to test this on. 

You don'tget a backtrace because X causes the program to exit, not crash. This is rather unfortunate...

I'll ask on the mailing if someone else has saw this or has a clue about how to solve it.
Comment 3 John Vilk 2006-05-24 19:09:32 CEST
(In reply to comment #2)
> Thanks for the report. I'm afraid this sounds like a rather nasty problem to
> find, especially because I don't have a xinerama setup to test this on. 
> 
> You don'tget a backtrace because X causes the program to exit, not crash. This
> is rather unfortunate...
> 
> I'll ask on the mailing if someone else has saw this or has a clue about how to
> solve it.
> 

If you need to, I could always let you vnc into my computer.
Comment 4 Lunke 2006-05-25 13:06:01 CEST
(In reply to comment #0)
I have an almost identical setup and can confirm this bug.
Comment 5 Jasper Huijsmans editbugs 2006-05-31 17:51:15 CEST
Could you please paste or attach your xorg.conf, so we can have a look?
Comment 6 John Vilk 2006-05-31 23:02:37 CEST
Sure. Here it is:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/CID"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV34GL [Quadro NVS280]"
	Driver		"nvidia"
	BusID		"PCI:0:16:0"
	Screen		0
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV34GL [Quadro NVS280]_2"
	Driver		"nvidia"
	BusID		"PCI:0:16:0"
	Screen		1
EndSection

Section "Monitor"
	Identifier	"HP D8900"
	Option		"DPMS"
	HorizSync	30-86
	VertRefresh	50-160
	Modeline	"1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841
EndSection

Section "Monitor"
	Identifier	"Mitsubishi"
	Option		"DPMS"
	HorizSync	31.5-62
	VertRefresh	50-90
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV34GL [Quadro NVS280]"
	Monitor		"HP D8900"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Secondary Screen"
	Device		"NVIDIA Corporation NV34GL [Quadro NVS280]_2"
	Monitor		"Mitsubishi"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Twin_Layout"
	Screen		"Default Screen"
	Screen		"Secondary Screen" LeftOf "Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
Comment 7 Kai Hambrecht 2006-10-30 11:12:04 CET
this also happens here (same error message) on recently released FC6 with XFCE 4.4RC1. X-config is dual-head using ATI's fglrx.
Comment 8 Nick Schermer editbugs 2007-03-27 12:27:42 CEST
We've fixed a couple of multi screen bugs in the 4.4.0 release, so can you guys please try this again?
Comment 9 Harold Aling 2007-09-23 20:18:44 CEST
(In reply to comment #8)
> We've fixed a couple of multi screen bugs in the 4.4.0 release, so can you guys
> please try this again?
> 

I'm running Twinview for quite a while now, and it's rock solid.

Closing as 'fixed'...

Bug #1844

Reported by:
John Vilk
Reported on: 2006-05-24
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Attachments

Additional information