Package: chbg
Version: 1.5-9
Followup-For: Bug #444292

Error:

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkLabel'

Gtk-CRITICAL **: file gtklabel.c: line 260 (gtk_label_set_text):
assertion `GTK_IS_LABEL (label)' failed.
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 12479 error_code 8 request_code 144 minor_code 3
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 12480 error_code 8 request_code 144 minor_code 3

I will find some more time to narrow this down a bit more but for now
I will leave you with two scenarios, one where chbg works and one
where it doesn't. This is my xorg.conf when the error occurs:

------

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

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        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"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Boardname       "ATI Radeon"
        Busid           "PCI:1:0:0"
        Driver          "radeon"
        Screen          0
        Vendorname      "ATI"
        Option          "MergedFB"      "off"
        Option          "AccelMethod" "EXA"
        Option          "EXANoComposite" "false"
        Option          "FBTexPercent" "50"
        Option          "MigrationHeuristic" "greedy"
        Option          "DRI" "true"
        Option          "GARTSize"      "128"
        Option          "AGPMode" "4"
        Option          "Colortiling" "On"
EndSection

#Section "Device"
#       Identifier      "Generic Video Card"
#       Driver          "vesa"
#       BusID           "PCI:1:0:0"
#EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-51
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
#       Screen          "Default Screen"
        screen          0 "Default Screen" 0 0
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
        Option "AIGLX" "true"
EndSection

Section "Extensions"
        Option  "Composite" "Enable"
EndSection

Section "DRI"
        Mode    0666
EndSection

------

and in this case it works without error:

------

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

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        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"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

#Section "Device"
#       Identifier      "Generic Video Card"
#       Boardname       "ATI Radeon"
#       Busid           "PCI:1:0:0"
#       Driver          "radeon"
#       Screen          0
#       Vendorname      "ATI"
#       Option          "MergedFB"      "off"
#       Option          "AccelMethod" "EXA"
#       Option          "EXANoComposite" "false"
#       Option          "FBTexPercent" "50"
#       Option          "MigrationHeuristic" "greedy"
#       Option          "DRI" "true"
#       Option          "GARTSize"      "128"
#       Option          "AGPMode" "4"
#       Option          "Colortiling" "On"
#EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "vesa"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-51
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
#       screen          0 "Default Screen" 0 0
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
#       Option "AIGLX" "true"
EndSection

#Section "Extensions"
#       Option  "Composite" "Enable"
#EndSection

Section "DRI"
        Mode    0666
EndSection

------

I logged in as root and grepped my bash-history file to see what I had
done recently and realized I had installed libgl1-mesa-dri, which was
required for my 3d accel on this laptop. When I turn it all off chbg
works. not sure where the problem actually lies yet as there are a lot
of variables not only in my case here, but also a lot of unknowns in
the multiple testing/unstable reports posted here. I just figured I
would post an update letting those having the issue or trying to solve
it know that in my case anyhow it seems to be a disagreement between
Xorg and GTK 1.2 or possibly libgl1-mesa-dri and GTK 1.2. its really
hard to say right now.


Depends:

ii  libc6          2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgdk-pixbuf2 0.22.0-11      The GdkPixBuf image library, gtk+ 1.2 version
ii  libglib1.2     1.2.10-17      The GLib library of C routines
ii  libgtk1.2      1.2.10-18      The GIMP Toolkit set of widgets for X
ii  libpng12-0     1.2.15~beta5-1 PNG library - runtime
ii  libx11-6       1.0.3-7        X11 client-side library
ii  zlib1g         1.2.3-13       compression library - runtime

-- System Information:
Debian Release: etch
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-686
Locale: LANG=UTF-8, LC_CTYPE=UTF-8
Shell: /bin/sh linked to /bin/bash

Reply via email to