ubiquity crashed with TypeError in traverse_for_kernel()

Bug #462462 reported by Ara Pulido
74
This bug affects 14 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Unassigned
Karmic
Fix Released
High
Unassigned

Bug Description

Binary package hint: ubiquity

Running Free software mode in UNR

ProblemType: Crash
Architecture: i386
Date: Wed Oct 28 09:04:42 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
InterpreterPath: /usr/bin/python2.6
LiveMediaBuild: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091027)
Package: ubiquity 2.0.6
ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity --only
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=es_ES.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', '--only']
SourcePackage: ubiquity
Tags: ubuntu-unr
Title: ubiquity crashed with TypeError in traverse_for_kernel()
Uname: Linux 2.6.31-14-generic i686
UserGroups:

Related branches

Revision history for this message
Ara Pulido (ara) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Michael Vogt (mvo) wrote :

The below is probably all that is needed:

=== modified file 'scripts/install.py'
--- scripts/install.py 2009-10-27 10:17:28 +0000
+++ scripts/install.py 2009-10-28 08:38:46 +0000
@@ -2101,7 +2101,7 @@
         self.db.progress('STOP')

     def traverse_for_kernel(self, cache, pkg):
- kern = self.get_cache_pkg(pkg)
+ kern = self.get_cache_pkg(cache, pkg)
         if kern is None:
             return None
         pkc = cache._depcache.GetCandidateVer(kern._pkg)

Revision history for this message
Steve Langasek (vorlon) wrote :

what is it that triggers this crash? there have been a lot of successful i386 ISO tests in the past day which included this code - so this must be a corner case... what corner is it in?

Steve Langasek (vorlon)
Changed in ubiquity (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Ara Pulido (ara) wrote :

This was run in a Dell Mini 9
Free Software only installation
No network

ubuntu@ubuntu:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm
bogomips : 3191.41
clflush size : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm
bogomips : 3191.93
clflush size : 64
power management:

Revision history for this message
Ara Pulido (ara) wrote :

ubuntu@ubuntu:~$ cat /var/lib/ubiquity/install-kernels
linux-generic-pae
linux-headers-generic-pae

-------------------------------------

ubuntu@ubuntu:~$ cat /var/lib/ubiquity/apt-installed
ecryptfs-utils
cryptsetup
e2fsprogs
language-pack-en
language-pack-gnome-en
evolution-documentation-en
language-pack-en
language-pack-gnome-en
language-support-writing-en
openoffice.org-help-en-gb
openoffice.org-help-en-us
openoffice.org-l10n-en-gb
openoffice.org-l10n-en-za
language-support-en
language-pack-es
language-pack-gnome-es
evolution-documentation-es
language-pack-es
language-pack-gnome-es
language-support-writing-es
openoffice.org-help-es
openoffice.org-l10n-es
language-support-es
locales
console-setup
console-setup

----------------------------

ubuntu@ubuntu:~$ cat /var/lib/ubiquity/remove-kernels
linux-image-2.6.31-14-generic
linux-headers-2.6.31-14-generic
linux-image-generic
linux-headers-generic

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

This bug was fixed in the package ubiquity - 2.0.7

---------------
ubiquity (2.0.7) karmic-updates; urgency=low

  * Fix incorrect arguments to get_cache_pkg (LP: #462462).

 -- Evan Dandrea <email address hidden> Wed, 28 Oct 2009 10:09:27 +0000

Changed in ubiquity (Ubuntu Karmic):
status: Confirmed → Fix Released
Revision history for this message
myxiplx (myxiplx) wrote :

I believe I'm also hitting this bug, Ubuntu 9.10 is crashing every time I attempt to install it to a SATA disk.

Is there any way to apply this fix before starting the installation?

Revision history for this message
myxiplx (myxiplx) wrote :

Nevermind, the fix is stupidly easy:

- Boot the Live CD
- Connect to the internet
- Use Update Manager to download the latest updates

You can patch the installer from the Live CD.... wow.

Very, very smooth guys.

Revision history for this message
vspider (sailorvspider) wrote :

I passed it simply installing in textmode - and ewerything was fine.
IMHO, patch should be included in upstream builds.

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.