unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: 12327@debbugs.gnu.org
Subject: bug#12327: Signal-handler cleanup for Emacs
Date: Thu, 06 Sep 2012 17:54:29 +0100	[thread overview]
Message-ID: <vz18vcn6qii.fsf@gmail.com> (raw)
In-Reply-To: <50428E57.8070708@cs.ucla.edu>

On Thu 06 Sep 2012, Eli Zaretskii wrote:

>> Date: Thu, 06 Sep 2012 16:41:27 +0200
>> From: martin rudalics <rudalics@gmx.at>
>> Cc: 12327@debbugs.gnu.org
>> 
>> > Crash is in r109893 built on Windows XP using MingGW gcc 4.6.2.
>> > 
>> > To reproduce it, run "M-x rgrep" using Cygwin grep. The grep
>> > output is all displayed in the *grep* buffer, and then emacs aborts.
>> 
>> With r109905 doing M-x shell and then exit gets me
>> 
>> Breakpoint 1, emacs_abort () at w32fns.c:7201
>> 7201	  button = MessageBox (NULL,
>> (gdb) bt
>> #0  emacs_abort () at w32fns.c:7201
>> #1  0x010345e2 in sys_wait (status=0x82f284) at w32proc.c:462
>> #2  0x01031ff0 in record_child_status_change () at process.c:6422
>> #3  0x01032315 in handle_child_signal (sig=18) at process.c:6529
>> #4  0x010dd5fa in handle_on_main_thread (sig=18, handler=0x1032306 <handle_child_signal>) at sysdep.c:1584
>> #5  0x01032334 in deliver_child_signal (sig=18) at process.c:6536
>> #6 0x010358ec in sys_select (nfds=4, rfds=0x82f704, wfds=0x0, efds=0x0,
>> timeout=0x82f6f4, ignored=0x0) at w32proc.c:1325
>
> I think I fixed this in revision 109907 on the trunk, please test.  At
> least "M-x shell" followed by "exit RET" no longer winds up in
> emacs_abort for me.  I cannot test Andrew's recipe, as I don't have
> Cygwin installed.

Thanks Eli, it all seems to happy again.

    AndyM






  reply	other threads:[~2012-09-06 16:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-01 22:38 bug#12327: Signal-handler cleanup for Emacs Paul Eggert
2012-09-02 17:51 ` Eli Zaretskii
2012-09-02 18:37   ` Eli Zaretskii
2012-09-02 19:01   ` Paul Eggert
2012-09-02 21:20     ` Eli Zaretskii
2012-09-03  8:16       ` Paul Eggert
2012-09-03  8:49         ` Andreas Schwab
2012-09-03  9:02           ` Paul Eggert
2012-09-03  9:17             ` Andreas Schwab
2012-09-04  8:12               ` Paul Eggert
2012-09-06 11:59                 ` Andy Moreton
2012-09-06 14:41                   ` martin rudalics
2012-09-06 16:46                     ` Eli Zaretskii
2012-09-06 16:54                       ` Andy Moreton [this message]
2012-09-06 17:20                         ` Eli Zaretskii
2012-09-06 17:37                       ` martin rudalics
2012-09-03 15:32         ` Eli Zaretskii
2012-09-07  1:35 ` Paul Eggert
2012-09-07  6:02   ` Eli Zaretskii
2012-09-07  7:26     ` Eli Zaretskii
2012-09-07  8:27       ` Eli Zaretskii
2012-09-07  8:59         ` Paul Eggert
2012-09-07 10:21           ` Eli Zaretskii

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=vz18vcn6qii.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=12327@debbugs.gnu.org \
    /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).