crash right after mount point setup

Bug #39116 reported by Martin Pitt
6
Affects Status Importance Assigned to Milestone
espresso (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

ppc/live, 2006-04-11 (espresso 0.99.43).

right after setting up the mount points, before starting to create file systems, espresso crashes with

  File "/usr/bin/espresso", line 94, in ?
    install()
  File "/usr/bin/espresso", line 40, in install
    ret = wizard.run()
  File "/usr/lib/python2.4/site-packages/espresso/frontend/gtkui.py", line 198, in run
    self.process_step()
  File "/usr/lib/python2.4/site-packages/espresso/frontend/gtkui.py", line 672, in process_step
    self.mountpoints_to_summary()
  File "/usr/lib/python2.4/site-packages/espresso/frontend/gtkui.py", line 831, in mountpoints_to_summary
    partition_id = self.part_devices[partition_value]
KeyError

I chose the following layout:

/dev/hda3 -> swap
/dev/hda8 -> /

This is fdisk -l /dev/hda:

/dev/hda
        # type name length base ( size ) system
/dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hda2 Apple_Bootstrap Apple_Bootstrap 1954 @ 64 (977.0k) NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 swap 585938 @ 2018 (286.1M) Linux swap
/dev/hda4 Apple_UNIX_SVR2 ubuntu 7812501 @ 587956 ( 3.7G) Linux native
/dev/hda5 Apple_HFS Apple_HFS_Untitled_5 12582824 @ 46022280 ( 6.0G) HFS
/dev/hda6 Apple_UNIX_SVR2 home 31457280 @ 8400457 ( 15.0G) Linux native
/dev/hda7 Apple_UNIX_SVR2 stable 6164543 @ 39857737 ( 2.9G) Linux native
/dev/hda8 Apple_Free Extra 16 @ 58605104 ( 8.0k) Free space

Revision history for this message
Martin Pitt (pitti) wrote : espresso installer log

installer log with extra verbosity

Revision history for this message
Martin Pitt (pitti) wrote :

Confirmed on today's amd64 CD, with the following mount point setup:

/dev/hda1 -> swap
/dev/hdc2 -> / (on reiserfs)

Revision history for this message
Colin Watson (cjwatson) wrote :

I could only see one circumstance under which that crash could occur, so I plugged it in this upload. However, this assumes that you forgot to select a partition for one row in the mountpoints table, which may not be the case. If this doesn't fix the problem for you, could you please reopen this bug, take a screenshot of the mountpoints screen before hitting Forward, and attach it to this bug?

espresso (0.99.45) dapper; urgency=low

  * Fix validation to accept hyphens in hostname (thanks, Alexandre Otto
    Strube; closes: Malone #39218).
  * GTK frontend:
    - Avoid crash if no partition is selected for a given mount point
      (closes: Malone #39116).

 -- Colin Watson <email address hidden> Wed, 12 Apr 2006 03:45:45 +0100

Changed in espresso:
assignee: nobody → kamion
status: Unconfirmed → 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.