bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#552: Crash


From: YAMAMOTO Mitsuharu
Subject: bug#552: Crash
Date: Sun, 13 Jul 2008 04:25:08 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]