Date: Thu, 29 May 2003 16:29:23 -0400 (EDT) From: Daniel Eischen <eischen@pcnet.com> To: Alexander Kabaev <kabaev@mail.ru> Cc: freebsd-threads@freebsd.org Subject: Re: lock with openoffice build with libkse Message-ID: <Pine.GSO.4.10.10305291621040.24487-100000@pcnet5.pcnet.com> In-Reply-To: <20030529194855.GA58411@kan.dnsalias.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 May 2003, Alexander Kabaev wrote:
> Daniel,
>
> attached program is enough to trigger the loop. It looks like
> the setjump/longjmp from signal handler trick only forks for
> the first time.
You can try this patch. It puts the cart before the horse
though, so signals could get delivered in a different
order.
Martin, is there some magic to building open-office. My
ports tree is pristine and I recently rebuilt X, KDE,
and mozilla using portupgrade. This was without any
previous /usr/local or /usr/X11R6 (I mean clean!).
portinstall just returns and does nothing:
$ sudo portinstall -NR editors/openoffice
<silently thinks for a couple of minutes>
$
--
Dan Eischen
Index: thread/thr_sig.c
===================================================================
RCS file: /home/ncvs/src/lib/libpthread/thread/thr_sig.c,v
retrieving revision 1.51
diff -u -r1.51 thr_sig.c
--- thread/thr_sig.c 24 May 2003 02:29:25 -0000 1.51
+++ thread/thr_sig.c 29 May 2003 20:19:28 -0000
@@ -185,6 +185,7 @@
ucp->uc_sigmask = _thr_proc_sigmask;
if (((__sighandler_t *)sigfunc != SIG_DFL) &&
((__sighandler_t *)sigfunc != SIG_IGN)) {
+ __sys_sigprocmask(SIG_SETMASK, &_thr_proc_sigmask, NULL);
if (((_thread_sigact[sig - 1].sa_flags & SA_SIGINFO)
!= 0) || (info == NULL))
(*(sigfunc))(sig, info, ucp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10305291621040.24487-100000>
