From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12327: Signal-handler cleanup for Emacs Date: Thu, 06 Sep 2012 16:41:27 +0200 Message-ID: <5048B617.70803@gmx.at> References: <50428E57.8070708@cs.ucla.edu> <83d324fh3c.fsf@gnu.org> <5043ACF7.7080100@cs.ucla.edu> <838vcsf7f9.fsf@gnu.org> <50446748.3060406@cs.ucla.edu> <5044720B.2030304@cs.ucla.edu> <5045B7E1.7080901@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346942529 17776 80.91.229.3 (6 Sep 2012 14:42:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2012 14:42:09 +0000 (UTC) Cc: 12327@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 06 16:42:11 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9dHW-0005lH-Rb for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Sep 2012 16:42:10 +0200 Original-Received: from localhost ([::1]:57484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9dHT-0006FP-LR for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Sep 2012 10:42:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9dHE-0005Vz-Cl for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 10:41:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9dHC-0000mj-2K for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 10:41:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9dHB-0000mf-Up for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 10:41:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T9dHN-0005iU-VF for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 10:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Sep 2012 14:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12327 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12327-submit@debbugs.gnu.org id=B12327.134694248021915 (code B ref 12327); Thu, 06 Sep 2012 14:42:01 +0000 Original-Received: (at 12327) by debbugs.gnu.org; 6 Sep 2012 14:41:20 +0000 Original-Received: from localhost ([127.0.0.1]:44256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T9dGi-0005hP-Go for submit@debbugs.gnu.org; Thu, 06 Sep 2012 10:41:20 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:54451) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1T9dGe-0005hG-0U for 12327@debbugs.gnu.org; Thu, 06 Sep 2012 10:41:17 -0400 Original-Received: (qmail invoked by alias); 06 Sep 2012 14:41:02 -0000 Original-Received: from 62-47-57-144.adsl.highway.telekom.at (EHLO [62.47.57.144]) [62.47.57.144] by mail.gmx.net (mp001) with SMTP; 06 Sep 2012 16:41:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18ZlddtdVwZra0CKocx3M3sEF3WCSXx/2csTWkgbK ttqJwrW5dNuT6B In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63853 Archived-At: > 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 ) 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 #7 0x0102f943 in wait_reading_process_output (time_limit=900, nsecs=0, read_kbd=-1, do_display=1, wait_for_cell=52672538, wait_proc=0x0, just_wait_proc=0) at process.c:4682 #8 0x010a4b7e in sit_for (timeout=3600, reading=true, do_display=1) at dispnew.c:5972 #9 0x010071dc in read_char (commandflag=1, nmaps=3, maps=0x82f9a0, prev_event=52672538, used_mouse_menu=0x82fa78, end_time=0x0) at keyboard.c:2742 #10 0x01011081 in read_key_sequence (keybuf=0x82fc00, bufsize=30, prompt=52672538, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9356 #11 0x01004fad in command_loop_1 () at keyboard.c:1499 #12 0x0101e737 in internal_condition_case (bfun=0x1004c3e , handlers=52723146, hfun=0x10045e8 ) at eval.c:1319 #13 0x0100496f in command_loop_2 (ignore=52672538) at keyboard.c:1194 #14 0x0101e26b in internal_catch (tag=52712978, func=0x100494b , arg=52672538) at eval.c:1076 #15 0x0100492b in command_loop () at keyboard.c:1173 #16 0x01004225 in recursive_edit_1 () at keyboard.c:794 #17 0x01004374 in Frecursive_edit () at keyboard.c:858 #18 0x010028e6 in main (argc=1, argv=0xa32808) at emacs.c:1643 martin, on GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600) of 2012-09-06 on MACHNO