system-config-lvm crashes when selecting physical view item

Bug #1547094 reported by Rolf Pedersen
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
system-config-lvm (Debian)
Fix Released
Unknown
system-config-lvm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When selecting an item in the "Physical View" drop down section, the system-config-lvm program crashes. (See error message at the end of report.)
This happens on a fresh install of standard Ubuntu 15.10 desktop. (Clicking on Logical View items is no problem.)
I have tried the following variations:
* Local test on Ubuntu Desktop 15.10 => Fails
* Local test on Ubuntu Server 15.10 with Xubuntu minimal install => OK
* Remote ssh -X from Desktop to Server and starting program remotely => Fails

Package info on both servers:: Installed: 1.1.18-1ubuntu1

I see there is a similar bug report (in terms of crash error message), but very old, and stating that program crashes upon launch, so therefore I create new. Hope it's ok.

Error message:
/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 483, in on_tree_selection_changed
    self.on_best_fit(None)
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 550, in on_best_fit
    self.display_view.draw()
  File "/usr/share/system-config-lvm/renderer.py", line 594, in draw
    self.display.draw(self.da, self.gc, (10, y_offset))
  File "/usr/share/system-config-lvm/cylinder_items.py", line 513, in draw
    self.cyl.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 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 10806 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.)

Best regards,
Rolf

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-lvm (Ubuntu):
status: New → Confirmed
Revision history for this message
Tjalling Ran (tjallingran) wrote :

This bug occurs on my Ubuntu 16.04 installation as well.

Changed in system-config-lvm (Debian):
status: Unknown → New
Changed in system-config-lvm (Debian):
status: New → 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.