From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Peter O'Gorman" Newsgroups: gmane.emacs.bugs Subject: bug#244: emacs-22.x hang in child after forking a process (before exec) Date: Wed, 14 May 2008 11:05:55 -0500 Message-ID: <20080514160555.GC11657@tw.il.thewrittenword.com> Reply-To: Peter O'Gorman , 244@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210782739 3734 80.91.229.12 (14 May 2008 16:32:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 16:32:19 +0000 (UTC) Cc: pogma@thewrittenword.com To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 14 18:32:55 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwJu7-00026e-AN for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 May 2008 18:32:35 +0200 Original-Received: from localhost ([127.0.0.1]:60593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwJtN-00077s-Vw for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 May 2008 12:31:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwJtH-00077B-Dz for bug-gnu-emacs@gnu.org; Wed, 14 May 2008 12:31:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwJtG-00076k-Oe for bug-gnu-emacs@gnu.org; Wed, 14 May 2008 12:31:43 -0400 Original-Received: from [199.232.76.173] (port=57115 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwJtG-00076h-Lf for bug-gnu-emacs@gnu.org; Wed, 14 May 2008 12:31:42 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36003) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JwJtG-0000rI-HI for bug-gnu-emacs@gnu.org; Wed, 14 May 2008 12:31:42 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4EGVeik018532; Wed, 14 May 2008 09:31:40 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4EGF4Q1010747; Wed, 14 May 2008 09:15:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Peter O'Gorman" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 14 May 2008 16:15:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 244 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12107811697495 (code B ref -1); Wed, 14 May 2008 16:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 May 2008 16:06:09 +0000 Original-Received: from mx10.gnu.org (mail.gnu.org [199.232.76.166]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4EG61Ai007487 for ; Wed, 14 May 2008 09:06:03 -0700 Original-Received: from mail1.thewrittenword.com ([67.95.107.114]:53085) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwJUO-0004y2-Ie for bug-gnu-emacs@gnu.org; Wed, 14 May 2008 12:06:00 -0400 Original-Received: from mail1.il.thewrittenword.com (emma-internal-gw.il.thewrittenword.com [192.168.13.25]) by mail1.thewrittenword.com (Postfix) with ESMTP id 5FDA85C28 for ; Wed, 14 May 2008 16:06:26 +0000 (UTC) Original-Received: from acer.localdomain (danger-gw.il.thewrittenword.com [192.168.1.254]) by mail1.il.thewrittenword.com (Postfix) with ESMTP id 238F132A; Wed, 14 May 2008 16:05:57 +0000 (UTC) Original-Received: from acer.localdomain (localhost [127.0.0.1]) by acer.localdomain (8.14.1/8.14.1) with ESMTP id m4EG5u2d016570; Wed, 14 May 2008 11:05:56 -0500 Original-Received: (from pogma@localhost) by acer.localdomain (8.14.1/8.14.1/Submit) id m4EG5tRC016569; Wed, 14 May 2008 11:05:55 -0500 X-Authentication-Warning: acer.localdomain: pogma set sender to bug-gnu-emacs@mlists.thewrittenword.com using -f Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on maetel.il.thewrittenword.com X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-GNU-Loop: 1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 14 May 2008 12:31:43 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18001 Archived-At: Hi, We noticed that we can not build auctex on Tru64 Unix 5.1 (alphaev67-dec-osf5.1) because emacs-22.2 hangs. It also hangs with, for example "M-! ls". This all works fine on the same machine with emacs-21.4 (and also hangs with emacs-22.1) Here is a backtrace of the hanging child: (/bin/dbx) where > 0 __hstSetNxmActive(0x0, 0x11ffea1d0, 0x11ffe9ffa, 0x8000000140377440, 0x200000014031d4f0) [0x3ff805ba8fc] 1 __vpSetCritical(0x11ffe9ffa, 0x8000000140377440, 0x200000014031d4f0, 0x80000001407c3000, 0x3ff805b90e4) [0x3ff805ba0f0] 2 __vpEnterCritical(0x200000014031d4f0, 0x80000001407c3000, 0x3ff805b90e4, 0x121, 0x3ff805c6ad0) [0x3ff805b90e0] 3 __thdCanDisable(0x3ff805b90e4, 0x121, 0x3ff805c6ad0, 0x3ffc01b4000, 0x3ff8059bb54) [0x3ff805c6acc] 4 pthread_setcancelstate(0x1201e4594, 0xf, 0x3ff80147838, 0x0, 0x2000745e) [0x3ff8059bb50] 5 __ioctl_nc(0x0, 0x2000745e, 0x0, 0x0, 0x0) [0x3ff80147834] 6 __isatty(0x0, 0x0, 0x0, 0x4d, 0x3ff801630f8) [0x3ff800d0fbc] 7 __tcgetpgrp(0x3ff801630f8, 0x13000000010, 0x120162cec, 0x100000130, 0x100000000) [0x3ff801630f4] 8 shut_down_emacs(sig = 11, no_x = 0, stuff = 2305843014585336832) ["emacs.c":2099, 0x120162ce8] 9 fatal_error_signal(sig = 11) ["emacs.c":381, 0x120160264] 10 __hstSetNxmActive(0x12048, 0x1, 0x0, 0x140926a3a, 0x1201f11c8) [0x3ff805ba8fc] 11 __vpSetCritical(0x0, 0x140926a3a, 0x1201f11c8, 0x2, 0x3ff805b90e4) [0x3ff805ba0f0] 12 __vpEnterCritical(0x1201f11c8, 0x2, 0x3ff805b90e4, 0x2, 0x3ff805c6ad0) [0x3ff805b90e0] 13 __thdCanDisable(0x3ff805b90e4, 0x2, 0x3ff805c6ad0, 0x3ffc01b4000, 0x3ff8059bb54) [0x3ff805c6acc] More (n if no)? 14 pthread_setcancelstate(0x2, 0x2, 0x3ff80147838, 0x0, 0x2000745e) [0x3ff8059bb50] 15 __ioctl_nc(0x0, 0x2000745e, 0x0, 0x1, 0x0) [0x3ff80147834] 16 __isatty(0x0, 0x1, 0x0, 0x4d, 0x3ff80163000) [0x3ff800d0fbc] 17 __tcsetpgrp(0x3ff80163000, 0x3ffc009ddc0, 0x12027e614, 0x3be66, 0x100000000) [0x3ff80162ffc] 18 child_setup(in = 3, out = 5, err = 5, new_argv = 0x11ffea530, set_pgrp = 0, current_dir = 6917529033019711744) ["callproc.c":1387, 0x12027e610] 19 Fcall_process(nargs = [bad address (0x11ffd9c50)], args = 0x11fffb038) ["callproc.c":656, 0x12027c988] stack trace terminated due to recursion on level 19 Any ideas on what changed from 21.x to 22.x that could be causing this? Peter -- Peter O'Gorman pogma@thewrittenword.com