From a french language selection you get crash/hang when going backwards from the map page

Bug #361674 reported by James Westby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oem-config (Ubuntu)
Fix Released
High
Colin Watson
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

Binary package hint: ubiquity

I believe it is this crash

Exception in GTK frontend (invoking crash handler):
Traceback (most recent call last):
  File "/usr/lib/ubiquity/bin/ubiquity", line 232, in <module>
    main()
  File "/usr/lib/ubiquity/bin/ubiquity", line 227, in main
    install(args[0])
  File "/usr/lib/ubiquity/bin/ubiquity", line 68, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 433, in run
    step = self.step_name(self.steps.get_current_page())
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 840, in step_name
    return self.steps.get_nth_page(step_index).get_name()
AttributeError: 'NoneType' object has no attribute 'get_name'

on Virtualbox, RC candidate image.

Inserted CD, selected French, OEM install, live mode. Booted and chose
install, then clicked forward without changing anything, then backards and
it hung. Found the above in the debug log.

Also saw

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 240, in excepthook
    self.previous_excepthook(exctype, excvalue, exctb)
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 93, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 13] Permission non accordée: '/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash'

which is probably the reason that I got no apport popup. /var/crash is empty

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
MediaBuild: Ubuntu 9.04 "Jaunty Jackalope" - Release Candidate i386 (20090414.2)
Package: ubiquity 1.12.9
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
James Westby (james-w) wrote :
Revision history for this message
James Westby (james-w) wrote :

Haven't been able to reproduce after a "reboot", davmor2 can't reproduce
either.

Thanks,

James

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
Dave Morley (davmor2) wrote :

This Only!!! happens when French is selected as the install language at the beginning.

I will try and confirm with another language after.

summary: - Crash/hang when going backwards from the map page
+ From a french language selection you get crash/hang when going backwards
+ from the map page
Changed in ubiquity (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
James Westby (james-w) wrote :

OK, I can apparently reproduce at will on VirtualBox, it seems
to rely on selecting French at gfxboot time, selecting French
on the first page of ubiquity doesn't trigger it. davmor2 also
confirms that this is not just VirtualBox.

The traceback may be a red herring, checking the debug log
while ubiquity is hanging shows nothing of interest, only
quitting ubiquity shows the traceback. Either it is the
program being torn down that causes the backtrace, or it
is hanging in sys.excepthook. What would be the best way
to determine that?

Thanks,

James

Revision history for this message
Dave Morley (davmor2) wrote :

It doesn't effect spanish.

Revision history for this message
James Westby (james-w) wrote :

Confirmed that Spanish is not affected, but I just reproduced with German.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Booting in French and then switching to English in ubiquity
doesn't lead to a hang.

I was apparently wrong about selecting French in ubiquity after
booting in English not being enough to trigger it, as I just got
the hang twice when doing that.

Thanks,

James

Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: Confirmed → Fix Committed
Changed in oem-config (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 1.12.10

---------------
ubiquity (1.12.10) jaunty; urgency=low

  [ Evan Dandrea ]
  * Fix a crash when in OEM mode. Child widgets are members of the
    self.userinterface list (LP: #361668).
  * Add support for displaying the "Use the largest continuous free space"
    option in the partition bars. Previously ubiquity would create a single
    Ubuntu partition that filled the entire drive when this option was
    selected (LP: #289663).
  * Pack the SegmentedBar widgets in GtkFrames rather than GtkEventBoxes
    to work around repainting issues (LP: #362334).
  * Automatic update of included source packages: flash-kernel
    2.13ubuntu7, user-setup 1.23ubuntu20.

  [ Colin Watson ]
  * Fix stripping of '=dev=' from device names when creating partition bars
    to avoid reducing e.g. '=dev=vda' to 'a' (LP: #362466).
  * KDE frontend:
    - Start the resize slider at the maximum possible size for the partition
      being resized; this is in line with the GTK frontend, and fixes the
      situation where the previous default (half-way between the minimum
      size and the current size) is out of range.
    - Use a better colour to represent the results of automatic partitioning
      (LP: #348461).
  * Preseed tzsetup/selected up-front rather than filtering it and then
    preseeding it; filtering it causes the backup state to be reset, which
    causes an infinite loop when backing up from the timezone page when the
    default country only has one timezone (LP: #361674).
  * Preseed passwd/auto-login-backup=oem in OEM mode, so that the original
    configuration files are available for restoration (LP: #361272).
  * Add a little extra state machine debugging to the partman component.
  * If an error/question dialog is displayed while changing steps is
    disabled, we currently need to re-enable changing steps in order to get
    a normal cursor, but that also enables the Back/Forward buttons and
    allows people to violate assertions by being too quick (e.g. selecting
    an autopartitioning choice while the installer is still busy analysing
    the possible choices). We should clean this up properly later, but for
    now just restore the allowed-change-step state when the dialog is
    finished.
  * Fix preseeding of the autopartitioning question to work in automatic
    mode: it needs to be preseeded as unseen, otherwise going back from a
    confirmation question doesn't work (LP: #361828). Remove an old code
    path that would have been very complicated to fix for this and is
    guaranteed to never be used nowadays.
  * Update translations from Launchpad.

  [ Jonathan Riddell ]
  * KDE frontend:
    - port reboot code to KDE 4, (LP: #360838)

  [ Mario Limonciello ]
  * Mythbuntu Frontend:
    - Don't launch GUI applications from within the chroot as this causes
      problems when libGL.so.1 and friends are diverted. Instead bind
      mount the necessary files to launch them outside the chroot.
      (LP: #362419)

 -- Evan Dandrea <email address hidden> Fri, 17 Apr 2009 10:07:14 +0100

Changed in ubiquity (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oem-config - 1.54.13

---------------
oem-config (1.54.13) jaunty; urgency=low

  [ Roman Shtylman ]
  * Updated the timezone map from ubiquity (LP: #360652), including copying
    CairoExtensions from ubiquity/segmented_bar.py.
  * Moved common artwork files from oem-config-gtk/oem-config-kde to
    oem-config.

  [ Colin Watson ]
  * Preseed tzsetup/selected up-front rather than filtering it and then
    preseeding it; filtering it causes the backup state to be reset, which
    causes an infinite loop when backing up from the timezone page when the
    default country only has one timezone (LP: #361674).
  * Preseed passwd/auto-login-backup=oem in the udeb, so that the original
    configuration files are available for restoration (LP: #361272).
  * Automatic update of included source packages: user-setup 1.23ubuntu20.

 -- Colin Watson <email address hidden> Fri, 17 Apr 2009 15:41:12 +0100

Changed in oem-config (Ubuntu):
status: Fix Committed → 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.