unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Neal Sidhwaney <runnersup@runnersup.net>, 552@emacsbugs.donarmstrong.com
Cc: bug-gnu-emacs@gnu.org
Subject: bug#552: Crash
Date: Sun, 13 Jul 2008 04:25:08 +0900	[thread overview]
Message-ID: <wl1w1yykff.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <FF8BBE18-2BB1-456E-B970-D93B7F9A0A36@runnersup.net>

>>>>> On Fri, 11 Jul 2008 22:47:09 -0700, Neal Sidhwaney <runnersup@runnersup.net> 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






  reply	other threads:[~2008-07-12 19:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <y0k5fop91x.fsf@fencepost.gnu.org>
2008-07-12  5:47 ` bug#552: Crash Neal Sidhwaney
2008-07-12 19:25   ` YAMAMOTO Mitsuharu [this message]
2008-07-14 19:30   ` bug#552: marked as done (Crash) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wl1w1yykff.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=552@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=runnersup@runnersup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).