[Bug 909179] Re: [Precise] Installation freezes after "Who are you?" (Ubiquity hangs in ubi-webcam.py)

Geir Ove Myhr 909179 at bugs.launchpad.net
Fri Mar 16 07:56:03 UTC 2012


Thanks Michael. I have marked bug #933105 and bug #950952 as duplicates
of this bug. Apologies for making the title of this bug report so much
geared towards the developers who could fix the bug that regular users
experiencing it would not recognize that they were affected by it. I
hope the new title fixes this.

I would like to highlight Michaels's workaround (from
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/933105/comments/15)
here as well:

Before starting the installer, run the following command in a terminal:
sudo rm /usr/lib/ubiquity/plugins/ubi-webcam.py

In my opinion (and other's as well:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/869239/comments/5),
while the webcam/set login image feature is cool, it should be
considered for removal if it causes problems. It also adds another step
to the installation process which is hardly necessary and adds workload
during the installation process.

** Description changed:

  During installation, after entering the user information, the installer
  slows down to a crawl and the status bar (which says "Copying files")
  stops. Upon switching VT to 2 and back to 7, the window contents is not
  updated. Checking with top, the ubiquity process first uses 100 % CPU
  and eats memory, and after a while it uses e 750 M (of 1 G) of real
  memory and 3.5 G (of 4.0 G) of virtual memory causing massive swapping.
- 
- The information uploaded with apport-collect is from the same LiveUSB
- session after I killed the ubiquity process an hour or two after it
- first hung. Apport wanted to submit a bug report automatically when the
- unity session started, but that bug report was wrongly judged to be a
- duplicate of bug 652916.
  
  The hang occurs when loading the page titled
  ubiquity/text/webcam_heading_label after the comment '# This page is
  just a UI page' in gtk_ui.py.  This invokes plugin_get_current_page() in
  ubi-webcam.py, where the call self.faceselector.webcam_play() never
  returns.
  
  In UbiquityDebug.txt, the following error message occurs twice:
  Error opening file for reading: Permission denied
- I have traced the origin to ubi-webcam.py as well, in __init__(): They come from the calls 
- Gst.init(sys.argv) 
+ I have traced the origin to ubi-webcam.py as well, in __init__(): They come from the calls
+ Gst.init(sys.argv)
  (sys.argv here resolves to ['/usr/lib/ubiquity/bin/ubiquity'])
  and
  self.faceselector = gtkwidgets.FaceSelector()
+ 
+ Workaround:
+ 
+ Before starting the installer, run the following command in a terminal:
+ sudo rm /usr/lib/ubiquity/plugins/ubi-webcam.py
  
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  CasperVersion: 1.296DistroRelease: Ubuntu 12.04
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111227)
  Package: ubiquity 2.9.10
  PackageArchitecture: amd64
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
  Tags:  precise running-unity ubiquity-2.9.10
  Uname: Linux 3.2.0-7-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/909179

Title:
  [Precise] Installation freezes after "Who are you?" (Ubiquity hangs in
  ubi-webcam.py)

Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  During installation, after entering the user information, the
  installer slows down to a crawl and the status bar (which says
  "Copying files") stops. Upon switching VT to 2 and back to 7, the
  window contents is not updated. Checking with top, the ubiquity
  process first uses 100 % CPU and eats memory, and after a while it
  uses e 750 M (of 1 G) of real memory and 3.5 G (of 4.0 G) of virtual
  memory causing massive swapping.

  The hang occurs when loading the page titled
  ubiquity/text/webcam_heading_label after the comment '# This page is
  just a UI page' in gtk_ui.py.  This invokes plugin_get_current_page()
  in ubi-webcam.py, where the call self.faceselector.webcam_play() never
  returns.

  In UbiquityDebug.txt, the following error message occurs twice:
  Error opening file for reading: Permission denied
  I have traced the origin to ubi-webcam.py as well, in __init__(): They come from the calls
  Gst.init(sys.argv)
  (sys.argv here resolves to ['/usr/lib/ubiquity/bin/ubiquity'])
  and
  self.faceselector = gtkwidgets.FaceSelector()

  Workaround:

  Before starting the installer, run the following command in a terminal:
  sudo rm /usr/lib/ubiquity/plugins/ubi-webcam.py

  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  CasperVersion: 1.296DistroRelease: Ubuntu 12.04
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111227)
  Package: ubiquity 2.9.10
  PackageArchitecture: amd64
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
  Tags:  precise running-unity ubiquity-2.9.10
  Uname: Linux 3.2.0-7-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/909179/+subscriptions




More information about the foundations-bugs mailing list