Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2011 16:31:07 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        gecko@FreeBSD.org, Alex Dupre <ale@FreeBSD.org>
Subject:   Re: cvs commit: ports UPDATING ports/mail/enigmail Makefile distinfo pkg-message ports/mail/enigmail-thunderbird Makefile
Message-ID:  <4E4EF23B.2030306@FreeBSD.org>
In-Reply-To: <4E4E8B7F.4090001@FreeBSD.org>
References:  <201108181007.p7IA7PgK032094@repoman.freebsd.org> <4E4D6AD3.2050708@FreeBSD.org> <4E4D70FF.2060206@FreeBSD.org> <4E4DCFED.4070601@FreeBSD.org> <4E4E05BA.9070707@FreeBSD.org> <4E4E7A69.8050406@FreeBSD.org> <4E4E7D5D.4050204@FreeBSD.org> <4E4E812B.6000007@FreeBSD.org> <4E4E82C6.9040606@FreeBSD.org> <4E4E85D7.4070709@FreeBSD.org> <4E4E8B7F.4090001@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/19/2011 09:12, Andriy Gapon wrote:
> on 19/08/2011 18:48 Andriy Gapon said the following:
>> OK, it seems that the culprit is mozilla/toolkit/xre/glxtest.cpp:
>> fire_glxtest_process() forks a new process, but doesn't wait(2) for it.
>> So when wait(2) is invoked later it may return a pid of this child before any
>> other child.
>> Not sure how to fix this or work around it.
>> Maybe by adding wait4(WNOHANG) loop to the _MD_InitProcesses code... not sure how
>> robust that would be.  Or maybe glxtest should use PR_CreateProcess instead of the
>> plain fork(2) that it uses now...
> 
> I ended up forcing an explicit wait on the glxtest child:

Thanks for doing all the detective work on this. :)  Your patch gets
things to a (mostly) functional state. The one thing that's still odd is
that I can open the OpenPGP/Preferences dialog, but clicking Ok doesn't
close the dialog. It does however save the changes to prefs.js, and
cancel will close it.

Oh, and FWIW I'm also using gnupg 2.x.


hth,

Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E4EF23B.2030306>