dual head X causes panel to crash.

Bug #43257 reported by cius
14
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-panel

I set my Xorg.conf up to use dual monitors, no xinerama, no twinview. I'll include my xorg.conf below for reference.

The problem is, when I click on the 'background' tab in the properties dialogue for the top panel on my second monitor, the panels on both monitors crash and restart. This problem is repeatable and only happens when in the dialogue for the panel on the second monitor. The properties dialogue for the panel on the first monitor works properly.

My xorg.conf for reference:
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/100dpi"
 FontPath "/usr/share/X11/fonts/75dpi"
 # path to defoma fonts
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
 Load "bitmap"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 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/mouse0"
 Option "Protocol" "ExplorerPS/2"
 Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "stylus"
  Option "Device" "/dev/input/event4" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "stylus"
  Option "PressCurve" "0,0,100,100"
  Option "USB" "on"
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "eraser"
  Option "Device" "/dev/input/event4" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "eraser"
  Option "PressCurve" "0,0,100,100"
  Option "USB" "on"
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "cursor"
  Option "Device" "/dev/input/event4" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "cursor"
  Option "Mode" "relative"
  Option "USB" "on"
EndSection

Section "Device"
 Identifier "NVIDIA Corporation NV35 [GeForce FX 5900XT]"
 Driver "nvidia"
 BusID "PCI:1:0:0"
 Screen 0
EndSection

Section "Monitor"
 Identifier "DELL D1226H"
 Option "DPMS"
 HorizSync 30-95
 VertRefresh 50-160

        # 1600x1200 @ 70.00 Hz (GTF) hsync: 87.43 kHz; pclk: 190.25 MHz
        Modeline "1600x1200_70.00" 190.25 1600 1712 1888 2176 1200 1201 1204 1249 -HSync +Vsync
        # 1280x1024 @ 70.00 Hz (GTF) hsync: 74.62 kHz; pclk: 128.94 MHz
        Modeline "1280x1024_70.00" 128.94 1280 1368 1504 1728 1024 1025 1028 1066 -HSync +Vsync
        # 1024x768 @ 70.00 Hz (GTF) hsync: 56.00 kHz; pclk: 76.16 MHz
        Modeline "1024x768_70.00" 76.16 1024 1080 1192 1360 768 769 772 800 -HSync +Vsync
        # 800x600 @ 70.00 Hz (GTF) hsync: 43.75 kHz; pclk: 45.50 MHz
        Modeline "800x600_70.00" 45.50 800 840 920 1040 600 601 604 625 -HSync +Vsync
        # 640x480 @ 70.00 Hz (GTF) hsync: 35.00 kHz; pclk: 28.56 MHz
        Modeline "640x480_70.00" 28.56 640 664 728 816 480 481 484 500 -HSync +Vsync
EndSection

Section "Monitor" #### TV monitor section ####
 Identifier "TV"
 HorizSync 30-50
 VertRefresh 60
EndSection

Section "Device"
        Driver "nvidia"
        Identifier "TVDevice"
        Screen 1
        Option "TVOutFormat" "SVIDEO" #or SVIDEO etc
        Option "TVStandard" "NTSC-M" #or NTSC etc
        Option "ConnectedMonitor" "TV"
        BusID "PCI:1:0:0" #adjust using 'lspci' or cat /$
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "NVIDIA Corporation NV35 [GeForce FX 5900XT]"
 Monitor "DELL D1226H"
 DefaultDepth 24
 SubSection "Display"
  Depth 1
  Modes "1600x1200_70.00" "1280x1024_70.00" "1024x768_70.00" "800x600_70.00" "640x480_70.00"
 EndSubSection
 SubSection "Display"
  Depth 4
  Modes "1600x1200_70.00" "1280x1024_70.00" "1024x768_70.00" "800x600_70.00" "640x480_70.00"
 EndSubSection
 SubSection "Display"
  Depth 8
  Modes "1600x1200_70.00" "1280x1024_70.00" "1024x768_70.00" "800x600_70.00" "640x480_70.00"
 EndSubSection
 SubSection "Display"
  Depth 15
  Modes "1600x1200_70.00" "1280x1024_70.00" "1024x768_70.00" "800x600_70.00" "640x480_70.00"
 EndSubSection
 SubSection "Display"
  Depth 16
  Modes "1600x1200_70.00" "1280x1024_70.00" "1024x768_70.00" "800x600_70.00" "640x480_70.00"
 EndSubSection
 SubSection "Display"
  Depth 24
  Modes "1600x1200_70.00" "1280x1024_70.00" "1024x768_70.00" "800x600_70.00" "640x480_70.00"
 EndSubSection
EndSection

Section "Screen"
    Device "TVDevice"
    Identifier "TVScreen"
    Monitor "TV"
    DefaultDepth 24
        SubSection "Display"
               Depth 24
               Modes "720x480" "640x400" "320x200"
        EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "stylus" "SendCoreEvents"
 InputDevice "cursor" "SendCoreEvents"
 InputDevice "eraser" "SendCoreEvents"
EndSection

Section "ServerLayout"
        Identifier "Dual"
        Screen 0 "Default Screen"
 Screen 1 "TVScreen" RightOf "Default Screen"
        InputDevice "Generic Keyboard"
        InputDevice "Configured Mouse"
        InputDevice "stylus" "SendCoreEvents"
        InputDevice "cursor" "SendCoreEvents"
        InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
 Mode 0666
EndSection

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What version of Ubuntu do you use? Could you get a backtrace of the crash?
- gdb -p $(pidof gnome-panel)
(gdb) continue
... get the crasher
(gdb) thread apply all bt

and copy that to a comment

Changed in gnome-panel:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
cius (cius) wrote :
Download full text (13.5 KiB)

There is a lot here, I hope its what you need. I tried to follow the commands you gave, but I do not have much experience using gdb, so I'm not sure I did it properly. Let me know if you need more.

GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 9594
Reading symbols from /usr/bin/gnome-panel...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
Reading symbols from /usr/lib/libgnome-desktop-2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-desktop-2.so.2
Reading symbols from /usr/lib/libgnomeui-2.so.0...(no debugging symbols found)..
.done.
Loaded symbols for /usr/lib/libgnomeui-2.so.0
Reading symbols from /usr/lib/libglade-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglade-2.0.so.0
Reading symbols from /usr/lib/libgnome-menu.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-menu.so.2
Reading symbols from /usr/lib/libbonoboui-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonoboui-2.so.0
Reading symbols from /usr/lib/libgnomecanvas-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomecanvas-2.so.0
Reading symbols from /usr/lib/libgnome-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-2.so.0
Reading symbols from /usr/lib/libart_lgpl_2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libart_lgpl_2.so.2
Reading symbols from /usr/lib/libgnomevfs-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomevfs-2.so.0
Reading symbols from /usr/lib/libbonobo-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonobo-2.so.0
Reading symbols from /usr/lib/libgconf-2.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libbonobo-activation.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonobo-activation.so.4
Reading symbols from /usr/lib/libORBit-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libORBit-2.so.0
Reading symbols from /usr/lib/liblaunchpad-integration.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblaunchpad-integration.so.0
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libatk-1.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /u...

Revision history for this message
Sebastien Bacher (seb128) wrote :

weird, according to that log the panel exits and doesn't crash. Vincent do you have an idea of what could happen to it?

Changed in gnome-panel:
status: Needs Info → Unconfirmed
Revision history for this message
Vincent Untz (vuntz) wrote :

Probably a X error. Could you run the panel with --sync and try to get a stack trace again?

Revision history for this message
cius (cius) wrote :

I'll try that tonite after work.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Did you have any luck with the backtrace?

Changed in gnome-panel:
status: Unconfirmed → Needs Info
Revision history for this message
cius (cius) wrote :

Sorry, I had forgotten about this bug as I haven't used dual monitors lately. However, I will try to get the details asap. One question though, how can I run gnome-panel with the --sync option? Would that be a session setting? Or can I kill gnome-panel and restart it with the option?

Revision history for this message
Vincent Untz (vuntz) wrote :

Just do this: gnome-session-remove gnome-panel && gnome-panel --sync

Revision history for this message
cius (cius) wrote :
Download full text (13.8 KiB)

okay, first off, after running "gnome-session-remove gnome-panel && gnome-panel --sync" and repeating the crash, I got this in the terminal:

cius@cius-desktop:~$ sudo gnome-session-remove gnome-panel && gnome-panel --sync
Removing 'gnome-panel' from the session
The program 'gnome-panel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 9594 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.)
cius@cius-desktop:~$

Then, from gdb, I recieved the following:

cius@cius-desktop:~$ sudo gdb -p 13421
Password:
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 13421
Reading symbols from /usr/bin/gnome-panel...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
Reading symbols from /usr/lib/libgnome-desktop-2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-desktop-2.so.2
Reading symbols from /usr/lib/libgnomeui-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomeui-2.so.0
Reading symbols from /usr/lib/libglade-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglade-2.0.so.0
Reading symbols from /usr/lib/libgnome-menu.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-menu.so.2
Reading symbols from /usr/lib/libbonoboui-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonoboui-2.so.0
Reading symbols from /usr/lib/libgnomecanvas-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomecanvas-2.so.0
Reading symbols from /usr/lib/libgnome-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-2.so.0
Reading symbols from /usr/lib/libart_lgpl_2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libart_lgpl_2.so.2
Reading symbols from /usr/lib/libgnomevfs-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomevfs-2.so.0
Reading symbols from /usr/lib/libbonobo-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonobo-2.so.0
Reading symbols from /usr/lib/libgconf-2.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libbonobo-activation.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonobo-activation.so.4
Reading symbols from /...

Revision history for this message
Sebastien Bacher (seb128) wrote :

It looks like it just exit normally. Do you still have that problem with edgy?

Revision history for this message
cius (cius) wrote :

After upgrading to Edgy, it appears that this is no longer a problem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

marking fixed then, thank you for the update

Changed in gnome-panel:
status: Needs Info → Fix Released
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.