[xmonad] system-config-lvm crashes in xmonad, not in metacity

intrigeri intrigeri at boum.org
Fri Oct 17 21:00:04 EDT 2008


intrigeri wrote (10 Jul 2008 21:32:14 GMT) :
> I’m using xmonad built from Darcs around 20080701, with
> libghc6-x11-dev 1.4.1-1 from Debian Lenny.

> Running system-config-lvm (Debian package 1.4.1-1) from a terminal
> (either as a non-privileged user or using gksudo) opens
> a system-config-lvm window, a dialog box making me wait a bit while
> « Reloading LVM. Please wait. », then briefly displays what seems to
> be the program main window, then crashes and the window disappears.

> This has been filed as a Debian bug against system-config-lvm, and
> then closed, since I this crash was not reproducible when using
> Gnome/Metacity instead of xmonad : http://bugs.debian.org/488512

This bug still happens with latest xmonad + XMonadContrib’s Darcs
repositories, X11-1.4.3, on a (slightly outdated) Debian Lenny.

The output is:

/usr/share/system-config-lvm/cylinder_items.py:1032: GtkWarning:
gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
  scaled_pixbuf = self.pixbuf.scale_simple(pixmap_width, height,
Traceback (most recent call last):
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 454, in
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 536, in on_best_fit
  File "/usr/share/system-config-lvm/renderer.py", line 590, in draw
    self.display.draw(self.da, self.gc, (10, y_offset))
  File "/usr/share/system-config-lvm/cylinder_items.py", line 920, in draw
    self.cyl_upper.draw(pixmap, gc, (x, y))
  File "/usr/share/system-config-lvm/cylinder_items.py", line 305, in draw
    CylinderItem.draw(self, dc, gc, (x, y))
  File "/usr/share/system-config-lvm/cylinder_items.py", line 120, in draw
    child.draw(dc, gc, (x, y))
  File "/usr/share/system-config-lvm/cylinder_items.py", line 305, in draw
    CylinderItem.draw(self, dc, gc, (x, y))
  File "/usr/share/system-config-lvm/cylinder_items.py", line 120, in draw
    child.draw(dc, gc, (x, y))
  File "/usr/share/system-config-lvm/cylinder_items.py", line 311, in draw
    cyl_pix = self.cyl_gen.get_cyl(dc, self.get_width(), self.height)
  File "/usr/share/system-config-lvm/cylinder_items.py", line 1039, in get_cyl
    pixmap.draw_pixbuf(gc, scaled_pixbuf, 0, 0, 0, 0, -1, -1)
TypeError: GdkDrawable.draw_pixbuf() argument 2 must be gtk.gdk.Pixbuf, not None
The program 'system-config-lvm.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 11458 error_code 11 request_code 53 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.)
Traceback (most recent call last):
  File "/usr/share/system-config-lvm/system-config-lvm.py", line 173, in <module>
  File "/usr/share/system-config-lvm/system-config-lvm.py", line 158, in runFullGUI
    blvm = baselvm(glade_xml, app)
  File "/usr/share/system-config-lvm/system-config-lvm.py", line 108, in __init__
    self.volume_tab_view = Volume_Tab_View(glade_xml, self.lvmm, self.main_win)
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 133, in __init__
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 215, in prepare_tree
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 579, in initiate
    if self.crank():
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 588, in crank
  File "/usr/share/system-config-lvm/execute.py", line 134, in fork
    os.write(self.fd_write_out, out)
OSError: [Errno 32] Relais brisé (pipe)

  intrigeri <intrigeri at boum.org>
  | gnupg key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc

More information about the xmonad mailing list