delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/06/17:20:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,KHOP_SPAMHAUS_DROP,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_SV
X-Spam-Check-By: sourceware.org
From: "Rockefeller, Harry" <Harry DOT Rockefeller AT flightsafety DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Thu, 6 Dec 2012 17:20:39 -0500
Subject: RE: emacs child process goes defunct
Message-ID: <3185EFAF9C8F7B4E9DBDF56829BF7C782A43F2A7AB@srv060ex01.ssd.fsi.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qB6MKrM7012291

'Emacs -Q' failed after a few minutes of doing svn file diffs.
I ran gdb on the hung process.  I am not too familiar with this
kind of debugging.
Let me know if there is more I can give next time this happens.
Here is some output.

ps
      PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
     8304        1    8304       8304  cons0   11097 15:35:35 /usr/bin/xterm
     3032    8304    3032       8048  pty2    11097 15:35:42 /usr/bin/bash
     6428    3032    3032       7580  pty2    11097 15:35:48 /usr/bin/xterm
     6304    6428    6304       9440  pty3    11097 15:35:48 /usr/bin/bash
     6120    6304    6120      10052  pty3    11097 15:42:55 /usr/bin/emacs-X11
     7124    6120    7124       8524  ?       11097 16:02:29 /usr/bin/diff <defunct>

And

$ gdb --pid=6120
GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 10052
[New Thread 10052.0x2028]
[New Thread 10052.0x2434]
[New Thread 10052.0x1100]
[New Thread 10052.0x78c]
[New Thread 10052.0x225c]
[New Thread 10052.0xca4]
[New Thread 10052.0x2234]
Reading symbols from /usr/bin/emacs-X11.exe...Reading symbols from /usr/lib/debug/usr/bin/emacs-X11.exe.dbg...done.
done.
(gdb) bt
#0  0x7c90120f in ntdll!DbgUiConnectToDbg () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c952119 in ntdll!KiIntSystemCall () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x00000005 in ?? ()
#3  0x00000000 in ?? ()

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019