lock with openoffice build with libkse
Daniel Eischen
eischen at pcnet.com
Thu May 29 13:29:25 PDT 2003
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);
More information about the freebsd-threads
mailing list