From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.user Subject: Re: guile 2.0.9 build on mingw Date: Fri, 07 Jun 2013 17:59:57 +0300 Message-ID: <83li6mt18y.fsf@gnu.org> References: <83sj1hv2ml.fsf@gnu.org> <874ndx9y7h.fsf@pobox.com> <83ip2bt4qk.fsf@gnu.org> <8761xqhyyt.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1370617226 22508 80.91.229.3 (7 Jun 2013 15:00:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2013 15:00:26 +0000 (UTC) Cc: guile-user@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jun 07 17:00:26 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uky9R-000601-OA for guile-user@m.gmane.org; Fri, 07 Jun 2013 17:00:25 +0200 Original-Received: from localhost ([::1]:51398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uky9R-0006D0-F0 for guile-user@m.gmane.org; Fri, 07 Jun 2013 11:00:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uky9H-0006Ct-NZ for guile-user@gnu.org; Fri, 07 Jun 2013 11:00:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uky9G-0007zS-FH for guile-user@gnu.org; Fri, 07 Jun 2013 11:00:15 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:42084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uky9G-0007zD-71; Fri, 07 Jun 2013 11:00:14 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MO100E002YRVD00@a-mtaout23.012.net.il>; Fri, 07 Jun 2013 18:00:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MO100E7U30BV610@a-mtaout23.012.net.il>; Fri, 07 Jun 2013 18:00:12 +0300 (IDT) In-reply-to: <8761xqhyyt.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10414 Archived-At: > From: ludo@gnu.org (Ludovic Court=C3=A8s) > Cc: guile-user@gnu.org > Date: Fri, 07 Jun 2013 14:44:42 +0200 >=20 > That vaguely rings a bell, and there were commits in that area over= the > last couple of years. >=20 > What version of Guile and libgc is it? The latest ones I could find: guile-2.0.9 and gc-7.2d. > Did you build them with pthread support (this is the default for Gu= ile)? Yes. > > What's more, after this backtrace is displayed, guile hangs here: > > > > void > > scm_i_close_signal_pipe() > > { > > /* SIGNAL_DELIVERY_THREAD_MUTEX is only locked while the s= ignal delivery > > =09 thread is being launched. The thread that calls this functi= on is > > =09 already holding the thread admin mutex, so if the delivery t= hread hasn't > > =09 been launched at this point, it never will be before shutdow= n. */ > > >>>>> scm_i_pthread_mutex_lock (&signal_delivery_thread_mutex); > > > > #if SCM_USE_PTHREAD_THREADS > > if (scm_i_signal_delivery_thread !=3D NULL) > > =09 close (signal_pipe[1]); > > #endif > > > > scm_i_pthread_mutex_unlock (&signal_delivery_thread_mutex)= ; > > } >=20 > Can you run =E2=80=98thread apply all bt=E2=80=99 in gdb once it= =E2=80=99s hang, and send the > tip of the C backtraces for all the threads? I'll try.