system-config-lvm is crashing

Bug #800519 reported by svenw
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ugr-seeds
New
Undecided
Unassigned

Bug Description

system-config-lvm on Natty with gnome3 keeps crashing after initial screen is shown.

sudo system-config-lvm
[sudo] password for sven:
/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 591, 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: Gdk.Drawable.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 8354 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.)

Revision history for this message
JC Hulce (soaringsky) wrote :

Are you sure that this issue is caused by UGR? Have you tried running this program on regular Ubuntu?

Revision history for this message
JC Hulce (soaringsky) wrote :

It appears as if this program is using an old version of the GTK libraries. Natty and older Ubuntu versions use GTK 2, while Oneiric, GNOME 3, and UGR use GTK 3. Many programs have not yet been ported over to the new libraries, and do not work correctly. Hopefully, the program's developers will issue a ported version for Oneiric (they have not yet).

If there are no other leads on this issue, I will mark it as invalid, as it is the job of the system-config-lvm people to port over their package, not ours.

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.