delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/08/04:09:20

X-Spam-Check-By: sourceware.org
X-Mailer: 21.4 (patch 19) "Constant Variable" XEmacs Lucid (via feedmail 10 I)
To: cygwin AT cygwin DOT com
Subject: Re: crashes with various programs
References: <20060808042132 DOT GA5396 AT ingber DOT com> <20060808042413 DOT GA28235 AT trixie DOT casa DOT cgf DOT cx>
From: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
In-Reply-To: <20060808042413.GA28235@trixie.casa.cgf.cx> (Christopher Faylor's message of "Tue, 8 Aug 2006 00:24:13 -0400")
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (cygwin32)
Date: Tue, 08 Aug 2006 10:08:32 +0200
Message-ID: <821wrrd4zj.fsf@vzell-de.de.oracle.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hi

pstree also crashes for me after running cygwin for quite a while.
I usually startup X, 3 rxvt windows and xemacs. In the beginning pstree
works just fine, but from a certain point in time it starts crashing.
As soon as pstree shows this behaviour, I see the following when typing
ps -ef:

   vzell    3944    1576   ?    Aug  7 <defunct>
   vzell     128    3944   0    Aug  5 /usr/bin/bash
   vzell    2204    4860   ?  16:00:21 <defunct>
   vzell    2200    2204   1    Aug  5 /usr/bin/bash
   vzell     256    1328   ?    Aug  6 <defunct>
   vzell    3572     256   2    Aug  5 /usr/bin/bash

The rxvt processes seem to be defunct, also i can still working in them.
When typing exit in either one of the rxvt windows, they hang.



Here is a gdb run with a cygwin1.dll compiled from CVS from 31.07.2006
The corresponding cygwin1.dbg is also under /bin.


09:43 AM [530]> gdb pstree
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)

(gdb) r
Starting program: /usr/bin/pstree.exe 
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/bin/cygintl-3.dll
Loaded symbols for /usr/bin/cygiconv-2.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
      3 [main] pstree 5140 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c901231 in ntdll!DbgUiConnectToDbg () from /c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c901231 in ntdll!DbgUiConnectToDbg () from /c/WINDOWS/system32/ntdll.dll
#1  0x6100556a in break_here () at /usr/local/src/cygwin/src/winsup/cygwin/dcrt0.cc:542
#2  0x6101d493 in try_to_debug (waitloop=false) at /usr/local/src/cygwin/src/winsup/cygwin/exceptions.cc:349
#3  0x6101e0d7 in _cygtls::handle_exceptions (e=0x22c05c, frame=0x22ce68, in=0x22c078) at /usr/local/src/cygwin/src/winsup/cygwin/exceptions.cc:621
#4  0x7c9037bf in ntdll!RtlCopyOutOfProcessMemoryStreamTo () from /c/WINDOWS/system32/ntdll.dll
#5  0x0022c05c in ?? ()
#6  0x0022ce68 in ?? ()
#7  0x0022c078 in ?? ()
#8  0x0022c030 in ?? ()
#9  0x0022ce68 in ?? ()
#10 0x7c9037d8 in ntdll!RtlCopyOutOfProcessMemoryStreamTo () from /c/WINDOWS/system32/ntdll.dll
#11 0x0022ce68 in ?? ()
#12 0x0022c044 in ?? ()
#13 0x7c90378b in ntdll!RtlCopyOutOfProcessMemoryStreamTo () from /c/WINDOWS/system32/ntdll.dll
#14 0x0022c05c in ?? ()
#15 0x0022ce68 in ?? ()
#16 0x0022c078 in ?? ()
#17 0x0022c030 in ?? ()
#18 0x6101d77a in rtl_unwind (frame=0x22ce68, e=0x7c9037d8) at /usr/local/src/cygwin/src/winsup/cygwin/exceptions.cc:443
Previous frame inner to this frame (corrupt stack?)
(gdb) 



Ciao
  Volker


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

- Raw text -


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