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

intrigeri intrigeri at boum.org
Thu Jul 10 17:32:14 EDT 2008


Hello,

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

Here is the output on the console :

/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,
gtk.gdk.INTERP_BILINEAR)
Traceback (most recent call last):
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 454, in
on_tree_selection_changed
    self.on_best_fit(None)
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 536, in on_best_fit
    self.display_view.draw()
  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 4910 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>
    runFullGUI()
  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__
    self.prepare_tree()
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 215, in prepare_tree
    self.mirror_sync_progress.initiate()
  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
    self.forked_command.fork()
  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)

Could this be a xmonad bug ?

Bye,
-- 
  intrigeri <intrigeri at boum.org>
  | gnupg key @ http://gaffer.boum.org/intrigeri/intrigeri.asc
  | Every now and then I get a little bit restless
  | and I dream of something wild.


More information about the xmonad mailing list