From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#552: Crash Date: Sun, 13 Jul 2008 04:25:08 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: Reply-To: YAMAMOTO Mitsuharu , 552@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1215892057 8277 80.91.229.12 (12 Jul 2008 19:47:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jul 2008 19:47:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Neal Sidhwaney , 552@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 12 21:48:24 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 1KHl4u-0004FZ-Gq for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jul 2008 21:48:20 +0200 Original-Received: from localhost ([127.0.0.1]:36003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHl41-0002ZY-Je for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jul 2008 15:47:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHl3w-0002Yc-Nl for bug-gnu-emacs@gnu.org; Sat, 12 Jul 2008 15:47:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHl3u-0002Vy-UY for bug-gnu-emacs@gnu.org; Sat, 12 Jul 2008 15:47:20 -0400 Original-Received: from [199.232.76.173] (port=54063 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHl3u-0002Vi-Ow for bug-gnu-emacs@gnu.org; Sat, 12 Jul 2008 15:47:18 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37425) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KHl3u-0008QA-5u for bug-gnu-emacs@gnu.org; Sat, 12 Jul 2008 15:47:18 -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 m6CJlFAF010501; Sat, 12 Jul 2008 12:47:16 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6CJU87P006147; Sat, 12 Jul 2008 12:30:08 -0700 X-Loop: don@donarmstrong.com Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 12 Jul 2008 19:30:08 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 552 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 552-submit@emacsbugs.donarmstrong.com id=B552.12158907195798 (code B ref 552); Sat, 12 Jul 2008 19:30:08 +0000 Original-Received: (at 552) by emacsbugs.donarmstrong.com; 12 Jul 2008 19:25:19 +0000 Original-Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6CJP9hZ005152 for <552@emacsbugs.donarmstrong.com>; Sat, 12 Jul 2008 12:25:11 -0700 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 96FD22C44; Sun, 13 Jul 2008 04:25:08 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 12 Jul 2008 15:47:20 -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:18708 Archived-At: >>>>> On Fri, 11 Jul 2008 22:47:09 -0700, Neal Sidhwaney said: > I had just saved a file and switched to my web browser. Emacs crashed > when it wasn't the foreground application. I'm attaching an Apple > Crashreporter log. > Thread 1 Crashed: > 0 libSystem.B.dylib 0x93af4dbe > __semwait_signal_nocancel + 10 > 1 libSystem.B.dylib 0x93ae6c87 usleep$NOCANCEL$UNIX2003 > + 61 > 2 libSystem.B.dylib 0x93b0848b abort + 85 > 3 org.gnu.Emacs 0x00151479 XTread_socket + 2905 > 4 org.gnu.Emacs 0x00088c1d read_avail_input + 317 > 5 org.gnu.Emacs 0x0013497a alarm_signal_handler + 154 > 6 libSystem.B.dylib 0x93a8009b _sigtramp + 43 > 7 ??? 0xffffffff 0 + 4294967295 > 8 libSystem.B.dylib 0x93a446f5 _pthread_start + 321 > 9 libSystem.B.dylib 0x93a445b2 thread_start + 34 It crashed because the SIGALRM handler, which should be called in the main thread, was actually called in a non-main thread. This bug was already fixed in May in CVS, the EMACS_22_BASE branch. As it was fixed after the Emacs 22.2 release, you cannot solve it by simply upgrading your 22.1 to 22.2. Alternatively, you can apply the corresponding patches to the Emacs 22.2 source tree. http://cvs.savannah.gnu.org/viewvc/emacs/src/emacs.c?r1=1.401.2.6&r2=1.401.2.7&root=emacs http://cvs.savannah.gnu.org/viewvc/emacs/src/syssignal.h?r1=1.45.2.2&r2=1.45.2.3&root=emacs YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp