xulrunner-1.9 build leaves orphaned find processes, hangs buildds

Bug #162723 reported by James Troup
6
Affects Status Importance Assigned to Milestone
xulrunner-1.9 (Ubuntu)
Fix Released
High
Fabien Tassin

Bug Description

Binary package hint: xulrunner-1.9

After a build of xulrunner-1.9 on any of our builders, one or more orphaned children are left around, e.g.

buildd 6059 0.0 0.0 1704 560 ? S 18:16 0:00 find mozilla -type f -name *.pyc -exec rm {} ;
buildd 6060 0.0 0.0 1700 544 ? S 18:16 0:00 find mozilla -type l -exec rm {} ;

These orphans are not detected by our builders, so they hold up the buildd and other builds until they're killed by the inactivity check.

Please figure out why these processes are becoming orphaned and stop it from happening. strace after the fact was unintersting, both were stuck in semop()

James Troup (elmo)
Changed in xulrunner-1.9:
importance: Undecided → High
Revision history for this message
James Troup (elmo) wrote :

Heh, actually looking at the log, it's pretty obvious...

 find mozilla -type f -name \*.pyc -exec rm {} \; &> /dev/null; \
 find mozilla -type l -exec rm {} \; &> /dev/null

Revision history for this message
Fabien Tassin (fta) wrote :
Changed in xulrunner-1.9:
assignee: nobody → fta
status: New → Fix Committed
Revision history for this message
Fabien Tassin (fta) wrote :

xulrunner-1.9 (1.9~b1+nobinonly-0ubuntu1) hardy; urgency=low

  * new upstream snapshot (1.9b1 from FIREFOX_3_0b1_RELEASE)
    - update debian/changelog
  * Fix shell redirection in clean rule leaving orphaned processes
    in buildd. (LP: #162723)
    - update debian/rules
  * Move extensions dir from /usr/lib/xulrunner-addons to
    /usr/lib/xulrunner-addons/extensions and move plugins dir
    from non-stable /usr/lib/xulrunner-1.9b1/plugins to
    /usr/lib/xulrunner-addons/plugins
    - update debian/rules
    - update debian/xulrunner-1.9.install
    - update debian/xulrunner-1.9-dom-inspector.install
    - update debian/xulrunner-1.9-venkman.install
  * Add a postrm script to clean up left-overs from python/xpcom
    - add debian/xulrunner-1.9.postrm.in
    - update debian/rules
  * Add support for Prism in the dom inspector addon
    - add debian/patches/dom_inspector_support_for_prism.patch
    - update debian/patches/series

  [ Alexander Sack ]
  * GtkEmbed DirectoryProvider provides NS_APP_USER_PROFILE_LOCAL_50_DIR special
    directory now:
    - add debian/patches/bz404634_att290373.patch
    - update debian/patches/series (include currently applied patch)
  * GtkEmbedEventListener.cpp now deals properly with selections:
    - add debian/patches/bz373196_att281782.patch
    - update debian/patches/series
  * Fix ia64 build failure (thanks to Raúl Porcel)
    - add debian/patches/bz405424_att290202.patch
    - update debian/patches/series
  * Fix url-classifier for embedders that don't provide a profile path. Use
    a temp file to setup the url-classifier database and remove that one when
    shutting down cleanly:
    - add debian/patches/bz404634_att290305.patch
    - update debian/patches/series

 -- Fabien Tassin <email address hidden> Tue, 27 Nov 2007 16:01:49 +0100

Changed in xulrunner-1.9:
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.