This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crashes with various programs


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]