public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tee core dumped
@ 2003-08-27 14:19 Philippe Torche
  2003-08-29 10:31 ` RE : " Philippe Torche
  2003-08-29 15:41 ` Igor Pechtchanski
  0 siblings, 2 replies; 7+ messages in thread
From: Philippe Torche @ 2003-08-27 14:19 UTC (permalink / raw)
  To: cygwin

I found a problem with tee (probably), please try this sample code
below. I've found the same problem with other tools like gawk, ...

echo '#!/usr/bin/bash
sleep 10 > /dev/null 2>&1 &
transfert_job=$!

echo LINENO=$LINENO
procps -p $transfert_job -o 'pid,ppid'
echo LINENO=$LINENO
' > test.sh
chmod +x test.sh
# OK
test.sh > test.out
# KO KO KO KO KO KO KO KO KO KO KO KO KO KO
test.sh | tee test.out
# Segmentation fault (core dumped)

Info:
----

========================================
$ cat tee.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=610BA041
eax=00000000 ebx=615F1F50 ecx=FFFFFFFF edx=6F6C5C72 esi=0076FE9C
edi=6F6C5C72
ebp=0076FE74 esp=0076FE70 program=C:\cygwin\bin\tee.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0076FE74  610BA041  (6F6C5C72, 0076FEA0, 00000004, 0076FE9C)
0076FEB4  6105828B  (00A20000, 00000000, 00000000, FFFFFFFF)
0076FF04  61077738  (FFFFFFFE, 00000010, 00000000, 00000000)
0076FF84  61077CC8  (610D1B58, 00000000, 858A88E0, 804FAB78)
0076FFB4  610053C8  (610D1B58, 00000000, 0022FC44, 610D1B58)
      3 [sig] tee 2400 handle_exceptions: Error while dumping state
(probably corrupted stack)

========================================
$ /usr/bin/tee --version
tee (sh-utils) 2.0.15
Written by Mike Parker, Richard M. Stallman, and David MacKenzie.

========================================
$ cygcheck -svr

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Aug 27 12:43:46 2003

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   .
        C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\cygwin\bin
        c:\Perl\bin\
        c:\WINDOWS\system32
        c:\WINDOWS
        c:\WINDOWS\System32\Wbem
        c:\util
        C:\cygwin\bin
        c:\Program Files\doxygen\bin
        c:\PROGRA~1\ATT\Graphviz\bin
        c:\PROGRA~1\ATT\Graphviz\bin\tools
        c:\Program Files\CodeProject\NScript
        c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
        C:\cygwin\home\pto\bin
        c:\PROGRA~1\HTMLHE~1

C:\cygwin\bin\id.exe output (nontsec)
UID: 1003(pto)       GID: 547(Power
groups=513(None)     544(Administrators)
545(Users)

C:\cygwin\bin\id.exe output (ntsec)
UID: 1003(pto)       GID: 547(Power
groups=513(None)     544(Administrators)
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `binmode ntsec codepage:ansi'
HOME = `C:\cygwin\home\pto'
MAKE_MODE = `unix'
PWD = `/home/pto/tmp'
USER = `pto'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\pto\Application Data'
BASH_ENV = `/home/pto/.bashrc'
CLASSPATH = `C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar'
COLUMNS = `110'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `PC5'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `ssh'
DISPLAY = `:0.0'
EDITOR = `vim'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\pto'
INCLUDE = `c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio
.NET\FrameworkSDK\include\'
LIB = `c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio
.NET\FrameworkSDK\Lib\'
LINES = `48'
LOGONSERVER = `\\PC5'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/pto'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0801'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYBASE = `c:\sybase'
SYBASE_JRE = `c:\sybase\shared-1_0\jre1.2.2'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\pto\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\pto\LOCALS~1\Temp'
USERDOMAIN = `PC5'
USERNAME = `pto'
USERPROFILE = `C:\Documents and Settings\pto'
VS71COMNTOOLS = `c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\'
VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio
.NET\Common7\Tools\"'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  NTFS   114000Mb  21% CP CS UN PA FC
d:  hd  NTFS    3239Mb  94% CP CS UN PA FC     SWAP
e:  hd  NTFS   76316Mb  10% CP CS UN PA FC     EXT_030723
g:  net NTFS   34993Mb  69% CP CS UN PA FC     Disque local 1
l:  cd           N/A    N/A
m:  cd           N/A    N/A
u:  hd  NTFS   114000Mb  21% CP CS UN PA FC

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/7 8:33
   13k 2003/06/18 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0
sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2003/6/18 5:07
  848k 2003/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0
sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2003/4/11 12:33
  645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2003/4/11 12:37
  551k 2003/04/02 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-2.dll" v0.0 ts=2003/4/2 23:09
  380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-3.1.dll" v0.0 ts=2002/7/24 18:24
  487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0
sys=4.0
                  "cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 18:25
  135k 2003/04/13 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2003/4/13 23:24
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 7:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 7:03
   76k 2003/03/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/3/9 21:51
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
   30k 2003/07/20 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/7/20 11:23
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/7/20 11:25
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 19:28
  945k 2003/06/18 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2003/6/18 5:08
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/20 5:13
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 19:09
   47k 2003/03/09 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2003/3/9 22:30
  132k 2003/07/20 C:\cygwin\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-62.dll" v0.0 ts=2003/7/20 5:25
  119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 6:19
   61k 2003/03/05 C:\cygwin\bin\cygkpathsea-3.dll - os=4.0 img=1.0
sys=4.0
                  "cygkpathsea-3.dll" v0.0 ts=2003/3/5 21:09
   60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll - os=4.0 img=1.0
sys=4.0
                  "cygkpathsea-3abi13.dll" v0.0 ts=2003/7/27 22:23
   32k 2003/04/16 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2003/4/16 3:41
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 7:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 7:03
   48k 2003/03/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/3/9 21:51
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 7:17
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 7:03
  284k 2003/03/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/3/9 21:50
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 7:27
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 7:03
   31k 2003/03/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/3/9 21:50
   66k 2003/07/01 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/7/1 18:25
   63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 10:31
   15k 2003/07/01 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0
sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/7/1 18:25
   61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0
sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 10:31
 1069k 2003/06/02 C:\cygwin\bin\cygperl5_8_0.dll - os=4.0 img=1.0
sys=4.0
                  "cygperl5_8_0.dll" v0.0 ts=2003/6/2 14:01
  168k 2003/02/23 C:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng10.dll" v0.0 ts=2003/2/24 0:02
  173k 2003/02/23 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2003/2/23 23:02
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 19:28
   66k 2001/11/20 C:\cygwin\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0
                  "cygregex.dll" v0.0 ts=2001/11/20 15:44
  176k 2003/04/11 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0
sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2003/4/11 12:33
  165k 2003/04/11 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2003/4/11 12:37
  281k 2003/02/24 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2003/2/24 5:58
  282k 2003/07/22 C:\cygwin\bin\cygtiff4.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff4.dll" v0.0 ts=2003/7/22 8:14
   41k 2002/01/20 C:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2002/1/20 19:49
   46k 2002/01/20 C:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2002/1/20 19:50
   50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/12 5:38
  948k 2003/03/18 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/3/18 15:20
    Cygwin DLL version info:
        DLL version: 1.3.22
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 78
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Tue Mar 18 09:20:11 EST 2003
        CVS tag: dontuse-21
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: e:\ori\cygwin\SetupDir
Last downloaded files from:
http://ftp.inf.tu-dresden.de/software/windows/cygwin32

Package              Version
_update-info-dir     00197-1
ash                  20020731-1
astyle               1.15.3-3
autoconf             2.54-1
autoconf-devel       2.57-2
autoconf-stable      2.13-5
automake             1.7.1-1
automake-devel       1.7.6-2
automake-stable      1.4p5-6
base-files           2.2-1
base-passwd          1.1-1
bash                 2.05b-9
bc                   1.06-1
binutils             20030307-1
bison                20030307-1
bzip2                1.0.2-2
chkconfig            1.2.24h-1
clear                1.0-1
cmake                1.6.7-1
cpio                 2.5-1
cron                 3.0.1-10
crypt                1.0-2
ctags                5.5-4
curl                 7.10.4-1
cvs                  1.11.5-1
cygrunsrv            0.96-1
cygutils             1.1.4-2
cygwin               1.3.22-1
cygwin-doc           1.3-4
dejagnu              20021217-2
diffutils            2.8.1-1
doxygen              1.2.18-1
ed                   0.2-1
expat                1.95.6-1
expect               20030128-1
file                 4.02-1
fileutils            4.1-1
findutils            4.1.7-4
flex                 2.5.4-2
gawk                 3.1.2-3
gcc                  3.2-3
gcc-mingw            20020817-5
gdb                  20030303-1
gdbm                 1.8.3-3
gettext              0.11.5-1
ghostscript          7.05-2
ghostscript-base     7.05-2
gnupg                1.2.2-1
gperf                2.7.2-1
grep                 2.5-1
groff                1.18.1-2
gzip                 1.3.3-4
indent               2.2.8-1
inetutils            1.3.2-23
initscripts          0.9-1
jbigkit              1.4-1
jpeg                 6b-8
less                 378-1
libbz2_1             1.0.2-2
libcharset1          1.8-3
libdb3.1             3.1.17-2
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-3
libgdbm3             1.8.3-3
libgdbm4             1.8.3-4
libiconv             1.8-3
libiconv2            1.8-3
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.11.5-1
libjpeg62            6b-9
libjpeg6b            6b-8
libkpathsea3         2.0.2-1
libkpathsea3abi13    2.0.2-2
libltdl3             1.5-1
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-1
libpcre              4.1-1
libpcre0             4.3-2
libpng               1.2.5-1
libpng10             1.0.15-1
libpng12             1.2.5-1
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-2
libtiff-devel        3.6.0-2
libtiff3             3.6.0-2
libtiff4             3.6.0-3
libtool              20020705-1
libtool-devel        1.5-1
libtool-stable       1.4.3-1
login                1.9-5
lynx                 2.8.4-5
m4                   1.4-1
make                 3.80-1
man                  1.5j-2
mc                   4.6.0-4
mingw-runtime        3.0-1
mktemp               1.4-1
mutt                 1.4-1
ncftp                3.1.4-1
ncurses              5.3-1
newlib-man           20020801
opengl               1.1.0-6
openssh              3.6.1p1-2
openssl              0.9.7b-1
openssl096           0.9.6j-1
patch                2.5.8-3
pcre                 4.3-2
pcre-doc             4.3-2
perl                 5.8.0-3
pkgconfig            0.15.0-1
popt                 1.6.4-4
procmail             3.22-7
procps               010801-2
python               2.3-1
rcs                  5.7-3
readline             4.3-2
rebase               2.2-2
regex                4.4-2
rsync                2.5.6-1
rxvt                 2.7.10-3
sed                  4.0.7-1
sh-utils             2.0.15-3
sharutils            4.2.1-2
ssmtp                2.38.7-3
sysvinit             2.84-3
tar                  1.13.25-1
tcltk                20030214-1
tcsh                 6.12.00-5
termcap              20021106-2
terminfo             5.3_20030726-1
tetex-bin            2.0.2-2
texinfo              4.2-4
textutils            2.0.21-1
tidy                 030201-1
tiff                 3.6.0-2
time                 1.7-1
units                1.77-1
unzip                5.50-2
vim                  6.2-1
w32api               2.3-1
wget                 1.8.2-2
which                1.5-1
xinetd               2.3.9-1
xpm-nox              4.2.0-1
zip                  2.3-2
zlib                 1.1.4-1

Use -h to see help about each section



--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE : tee core dumped
  2003-08-27 14:19 tee core dumped Philippe Torche
@ 2003-08-29 10:31 ` Philippe Torche
  2003-08-29 10:49   ` Elfyn McBratney
  2003-09-05  1:56   ` Christopher Faylor
  2003-08-29 15:41 ` Igor Pechtchanski
  1 sibling, 2 replies; 7+ messages in thread
From: Philippe Torche @ 2003-08-29 10:31 UTC (permalink / raw)
  To: cygwin

No body arrived to reproduce this ?
Actually I can produce this sometimes using isql from MS, gawk, ...
It's for me a very big problem !

Please help me !

-----Message d'origine-----
De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] De la part
de Philippe Torche
Envoyé : mercredi, 27. août 2003 13:02
À : cygwin@cygwin.com
Objet : tee core dumped


I found a problem with tee (probably), please try this sample code
below. I've found the same problem with other tools like gawk, ...

echo '#!/usr/bin/bash
sleep 10 > /dev/null 2>&1 &
transfert_job=$!

echo LINENO=$LINENO
procps -p $transfert_job -o 'pid,ppid'
echo LINENO=$LINENO
' > test.sh
chmod +x test.sh
# OK
test.sh > test.out
# KO KO KO KO KO KO KO KO KO KO KO KO KO KO
test.sh | tee test.out
# Segmentation fault (core dumped)

Info:
----

========================================
$ cat tee.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=610BA041
eax=00000000 ebx=615F1F50 ecx=FFFFFFFF edx=6F6C5C72 esi=0076FE9C
edi=6F6C5C72 ebp=0076FE74 esp=0076FE70 program=C:\cygwin\bin\tee.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace:
Frame     Function  Args
0076FE74  610BA041  (6F6C5C72, 0076FEA0, 00000004, 0076FE9C) 0076FEB4
6105828B  (00A20000, 00000000, 00000000, FFFFFFFF) 0076FF04  61077738
(FFFFFFFE, 00000010, 00000000, 00000000) 0076FF84  61077CC8  (610D1B58,
00000000, 858A88E0, 804FAB78) 0076FFB4  610053C8  (610D1B58, 00000000,
0022FC44, 610D1B58)
      3 [sig] tee 2400 handle_exceptions: Error while dumping state
(probably corrupted stack)

========================================
$ /usr/bin/tee --version
tee (sh-utils) 2.0.15
Written by Mike Parker, Richard M. Stallman, and David MacKenzie.

========================================
$ cygcheck -svr

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Aug 27 12:43:46 2003

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   .
        C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\cygwin\bin
        c:\Perl\bin\
        c:\WINDOWS\system32
        c:\WINDOWS
        c:\WINDOWS\System32\Wbem
        c:\util
        C:\cygwin\bin
        c:\Program Files\doxygen\bin
        c:\PROGRA~1\ATT\Graphviz\bin
        c:\PROGRA~1\ATT\Graphviz\bin\tools
        c:\Program Files\CodeProject\NScript
        c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
        C:\cygwin\home\pto\bin
        c:\PROGRA~1\HTMLHE~1

C:\cygwin\bin\id.exe output (nontsec)
UID: 1003(pto)       GID: 547(Power
groups=513(None)     544(Administrators)
545(Users)

C:\cygwin\bin\id.exe output (ntsec)
UID: 1003(pto)       GID: 547(Power
groups=513(None)     544(Administrators)
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `binmode ntsec codepage:ansi'
HOME = `C:\cygwin\home\pto'
MAKE_MODE = `unix'
PWD = `/home/pto/tmp'
USER = `pto'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\pto\Application Data' BASH_ENV =
`/home/pto/.bashrc' CLASSPATH = `C:\Program
Files\Altova\xmlspy\XMLSpyInterface.jar'
COLUMNS = `110'
COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME =
`PC5' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `ssh' DISPLAY =
`:0.0' EDITOR = `vim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and
Settings\pto' INCLUDE = `c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio
.NET\FrameworkSDK\include\' LIB = `c:\Program Files\Microsoft Visual
Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio
.NET\FrameworkSDK\Lib\' LINES = `48' LOGONSERVER = `\\PC5' MANPATH =
`:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/pto' OS =
`Windows_NT' PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, AuthenticAMD'
PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0801' PROGRAMFILES =
`C:\Program Files' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h
\[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYBASE =
`c:\sybase' SYBASE_JRE = `c:\sybase\shared-1_0\jre1.2.2' SYSTEMDRIVE =
`C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\pto\LOCALS~1\Temp'
TERM = `cygwin' TMP = `c:\DOCUME~1\pto\LOCALS~1\Temp' USERDOMAIN = `PC5'
USERNAME = `pto' USERPROFILE = `C:\Documents and Settings\pto'
VS71COMNTOOLS = `c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\' VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual
Studio .NET\Common7\Tools\"' WINDIR = `C:\WINDOWS' _ =
`/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  NTFS   114000Mb  21% CP CS UN PA FC
d:  hd  NTFS    3239Mb  94% CP CS UN PA FC     SWAP
e:  hd  NTFS   76316Mb  10% CP CS UN PA FC     EXT_030723
g:  net NTFS   34993Mb  69% CP CS UN PA FC     Disque local 1
l:  cd           N/A    N/A
m:  cd           N/A    N/A
u:  hd  NTFS   114000Mb  21% CP CS UN PA FC

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/7 8:33
   13k 2003/06/18 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0
sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2003/6/18 5:07
  848k 2003/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0
sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2003/4/11 12:33
  645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2003/4/11 12:37
  551k 2003/04/02 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-2.dll" v0.0 ts=2003/4/2 23:09
  380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-3.1.dll" v0.0 ts=2002/7/24 18:24
  487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0
sys=4.0
                  "cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 18:25
  135k 2003/04/13 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2003/4/13 23:24
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 7:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 7:03
   76k 2003/03/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/3/9 21:51
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
   30k 2003/07/20 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/7/20 11:23
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/7/20 11:25
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 19:28
  945k 2003/06/18 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2003/6/18 5:08
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/20 5:13
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 19:09
   47k 2003/03/09 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2003/3/9 22:30
  132k 2003/07/20 C:\cygwin\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-62.dll" v0.0 ts=2003/7/20 5:25
  119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 6:19
   61k 2003/03/05 C:\cygwin\bin\cygkpathsea-3.dll - os=4.0 img=1.0
sys=4.0
                  "cygkpathsea-3.dll" v0.0 ts=2003/3/5 21:09
   60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll - os=4.0 img=1.0
sys=4.0
                  "cygkpathsea-3abi13.dll" v0.0 ts=2003/7/27 22:23
   32k 2003/04/16 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2003/4/16 3:41
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 7:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 7:03
   48k 2003/03/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/3/9 21:51
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 7:17
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 7:03
  284k 2003/03/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/3/9 21:50
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 7:27
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 7:03
   31k 2003/03/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/3/9 21:50
   66k 2003/07/01 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/7/1 18:25
   63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 10:31
   15k 2003/07/01 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0
sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/7/1 18:25
   61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0
sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 10:31  1069k
2003/06/02 C:\cygwin\bin\cygperl5_8_0.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_8_0.dll" v0.0 ts=2003/6/2 14:01
  168k 2003/02/23 C:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng10.dll" v0.0 ts=2003/2/24 0:02
  173k 2003/02/23 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2003/2/23 23:02
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 19:28
   66k 2001/11/20 C:\cygwin\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0
                  "cygregex.dll" v0.0 ts=2001/11/20 15:44
  176k 2003/04/11 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0
sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2003/4/11 12:33
  165k 2003/04/11 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2003/4/11 12:37
  281k 2003/02/24 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2003/2/24 5:58
  282k 2003/07/22 C:\cygwin\bin\cygtiff4.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff4.dll" v0.0 ts=2003/7/22 8:14
   41k 2002/01/20 C:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2002/1/20 19:49
   46k 2002/01/20 C:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2002/1/20 19:50
   50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/12 5:38
  948k 2003/03/18 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/3/18 15:20
    Cygwin DLL version info:
        DLL version: 1.3.22
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 78
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Tue Mar 18 09:20:11 EST 2003
        CVS tag: dontuse-21
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: e:\ori\cygwin\SetupDir
Last downloaded files from:
http://ftp.inf.tu-dresden.de/software/windows/cygwin32

Package              Version
_update-info-dir     00197-1
ash                  20020731-1
astyle               1.15.3-3
autoconf             2.54-1
autoconf-devel       2.57-2
autoconf-stable      2.13-5
automake             1.7.1-1
automake-devel       1.7.6-2
automake-stable      1.4p5-6
base-files           2.2-1
base-passwd          1.1-1
bash                 2.05b-9
bc                   1.06-1
binutils             20030307-1
bison                20030307-1
bzip2                1.0.2-2
chkconfig            1.2.24h-1
clear                1.0-1
cmake                1.6.7-1
cpio                 2.5-1
cron                 3.0.1-10
crypt                1.0-2
ctags                5.5-4
curl                 7.10.4-1
cvs                  1.11.5-1
cygrunsrv            0.96-1
cygutils             1.1.4-2
cygwin               1.3.22-1
cygwin-doc           1.3-4
dejagnu              20021217-2
diffutils            2.8.1-1
doxygen              1.2.18-1
ed                   0.2-1
expat                1.95.6-1
expect               20030128-1
file                 4.02-1
fileutils            4.1-1
findutils            4.1.7-4
flex                 2.5.4-2
gawk                 3.1.2-3
gcc                  3.2-3
gcc-mingw            20020817-5
gdb                  20030303-1
gdbm                 1.8.3-3
gettext              0.11.5-1
ghostscript          7.05-2
ghostscript-base     7.05-2
gnupg                1.2.2-1
gperf                2.7.2-1
grep                 2.5-1
groff                1.18.1-2
gzip                 1.3.3-4
indent               2.2.8-1
inetutils            1.3.2-23
initscripts          0.9-1
jbigkit              1.4-1
jpeg                 6b-8
less                 378-1
libbz2_1             1.0.2-2
libcharset1          1.8-3
libdb3.1             3.1.17-2
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-3
libgdbm3             1.8.3-3
libgdbm4             1.8.3-4
libiconv             1.8-3
libiconv2            1.8-3
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.11.5-1
libjpeg62            6b-9
libjpeg6b            6b-8
libkpathsea3         2.0.2-1
libkpathsea3abi13    2.0.2-2
libltdl3             1.5-1
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-1
libpcre              4.1-1
libpcre0             4.3-2
libpng               1.2.5-1
libpng10             1.0.15-1
libpng12             1.2.5-1
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-2
libtiff-devel        3.6.0-2
libtiff3             3.6.0-2
libtiff4             3.6.0-3
libtool              20020705-1
libtool-devel        1.5-1
libtool-stable       1.4.3-1
login                1.9-5
lynx                 2.8.4-5
m4                   1.4-1
make                 3.80-1
man                  1.5j-2
mc                   4.6.0-4
mingw-runtime        3.0-1
mktemp               1.4-1
mutt                 1.4-1
ncftp                3.1.4-1
ncurses              5.3-1
newlib-man           20020801
opengl               1.1.0-6
openssh              3.6.1p1-2
openssl              0.9.7b-1
openssl096           0.9.6j-1
patch                2.5.8-3
pcre                 4.3-2
pcre-doc             4.3-2
perl                 5.8.0-3
pkgconfig            0.15.0-1
popt                 1.6.4-4
procmail             3.22-7
procps               010801-2
python               2.3-1
rcs                  5.7-3
readline             4.3-2
rebase               2.2-2
regex                4.4-2
rsync                2.5.6-1
rxvt                 2.7.10-3
sed                  4.0.7-1
sh-utils             2.0.15-3
sharutils            4.2.1-2
ssmtp                2.38.7-3
sysvinit             2.84-3
tar                  1.13.25-1
tcltk                20030214-1
tcsh                 6.12.00-5
termcap              20021106-2
terminfo             5.3_20030726-1
tetex-bin            2.0.2-2
texinfo              4.2-4
textutils            2.0.21-1
tidy                 030201-1
tiff                 3.6.0-2
time                 1.7-1
units                1.77-1
unzip                5.50-2
vim                  6.2-1
w32api               2.3-1
wget                 1.8.2-2
which                1.5-1
xinetd               2.3.9-1
xpm-nox              4.2.0-1
zip                  2.3-2
zlib                 1.1.4-1

Use -h to see help about each section



--
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/




--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RE : tee core dumped
  2003-08-29 10:31 ` RE : " Philippe Torche
@ 2003-08-29 10:49   ` Elfyn McBratney
  2003-09-05  1:56   ` Christopher Faylor
  1 sibling, 0 replies; 7+ messages in thread
From: Elfyn McBratney @ 2003-08-29 10:49 UTC (permalink / raw)
  To: cygwin

Philippe Torche wrote:
> No body arrived to reproduce this ?
> Actually I can produce this sometimes using isql from MS, gawk, ...
> It's for me a very big problem !
> 
> Please help me !

Calm down!  The last two weeks have been stressful for most with all of
the viruses and spam flying around on the list.  It's easy to miss *1*
post.

> [...]
> I found a problem with tee (probably), please try this sample code
> below. I've found the same problem with other tools like gawk, ...
> 
> echo '#!/usr/bin/bash
> sleep 10 > /dev/null 2>&1 &
> transfert_job=$!
> 
> echo LINENO=$LINENO
> procps -p $transfert_job -o 'pid,ppid'
> echo LINENO=$LINENO
> ' > test.sh
> chmod +x test.sh
> # OK
> test.sh > test.out
> # KO KO KO KO KO KO KO KO KO KO KO KO KO KO
> test.sh | tee test.out
> # Segmentation fault (core dumped)

I can re-produce this (same as above) and from within gdb, with a SEGV as a
result of both.  I don't have a debug version installed, so if anyone else
does and want's to try and help out.  :-)

> [...]
> ========================================
> $ cat tee.exe.stackdump
> Exception: STATUS_ACCESS_VIOLATION at eip=610BA041
> eax=00000000 ebx=615F1F50 ecx=FFFFFFFF edx=6F6C5C72 esi=0076FE9C
> edi=6F6C5C72 ebp=0076FE74 esp=0076FE70 program=C:\cygwin\bin\tee.exe
> cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace:
> Frame     Function  Args
> 0076FE74  610BA041  (6F6C5C72, 0076FEA0, 00000004, 0076FE9C) 0076FEB4
> 6105828B  (00A20000, 00000000, 00000000, FFFFFFFF) 0076FF04  61077738
> (FFFFFFFE, 00000010, 00000000, 00000000) 0076FF84  61077CC8  (610D1B58,
> 00000000, 858A88E0, 804FAB78) 0076FFB4  610053C8  (610D1B58, 00000000,
> 0022FC44, 610D1B58)
>       3 [sig] tee 2400 handle_exceptions: Error while dumping state
> (probably corrupted stack)
> [...]

Please do not inline cygcheck output, always attach it *to the mail*.  It
create's false positives for those searching the archives, and can be a real
pain if your looking for something and all you get is masses and masses of
hits from people's mail that has inlined cygcheck output.

-- Elfyn

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tee core dumped
  2003-08-27 14:19 tee core dumped Philippe Torche
  2003-08-29 10:31 ` RE : " Philippe Torche
@ 2003-08-29 15:41 ` Igor Pechtchanski
  1 sibling, 0 replies; 7+ messages in thread
From: Igor Pechtchanski @ 2003-08-29 15:41 UTC (permalink / raw)
  To: Philippe Torche; +Cc: cygwin

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2952 bytes --]

On Wed, 27 Aug 2003, Philippe Torche wrote:

> I found a problem with tee (probably), please try this sample code
> below. I've found the same problem with other tools like gawk, ...
>
> echo '#!/usr/bin/bash
> sleep 10 > /dev/null 2>&1 &
> transfert_job=$!
>
> echo LINENO=$LINENO
> procps -p $transfert_job -o 'pid,ppid'
> echo LINENO=$LINENO
> ' > test.sh
> chmod +x test.sh
> # OK
> test.sh > test.out
> # KO KO KO KO KO KO KO KO KO KO KO KO KO KO
> test.sh | tee test.out
> # Segmentation fault (core dumped)
>
> Info:
> ----
>
> ========================================
> $ cat tee.exe.stackdump
> Exception: STATUS_ACCESS_VIOLATION at eip=610BA041
> eax=00000000 ebx=615F1F50 ecx=FFFFFFFF edx=6F6C5C72 esi=0076FE9C
> edi=6F6C5C72
> ebp=0076FE74 esp=0076FE70 program=C:\cygwin\bin\tee.exe
> cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0076FE74  610BA041  (6F6C5C72, 0076FEA0, 00000004, 0076FE9C)
> 0076FEB4  6105828B  (00A20000, 00000000, 00000000, FFFFFFFF)
> 0076FF04  61077738  (FFFFFFFE, 00000010, 00000000, 00000000)
> 0076FF84  61077CC8  (610D1B58, 00000000, 858A88E0, 804FAB78)
> 0076FFB4  610053C8  (610D1B58, 00000000, 0022FC44, 610D1B58)
>       3 [sig] tee 2400 handle_exceptions: Error while dumping state
> (probably corrupted stack)
>
> ========================================
> $ /usr/bin/tee --version
> tee (sh-utils) 2.0.15
> Written by Mike Parker, Richard M. Stallman, and David MacKenzie.
>
> ========================================
> $ cygcheck -svr
> [snip]

Philippe,

Lack of responses doesn't necessarily indicate that your post wasn't seen
(or your problem reproduced), but more likely lack of time for debugging
the problem (see <http://www.catb.org/~esr/faqs/smart-questions.html>).

FWIW, I was able to reproduce your problem (in fact, simply calling
"/bin/procps -p $$ -o 'pid,ppid' | tee test.out" was enough to trigger the
problem). At the moment, I don't have an unstripped version of the DLL
installed on my system, so I couldn't do the debugging necessary for this.
From the range of addresses in the stack trace, it seems to happen
somewhere in the Cygwin DLL itself.  I've compared the strace for the
problematic command with the one from simply doing "echo | tee test.out".
The difference in straces is not significant (to me), except that readv()
seems to never get to the end of fhandler_base::read().  I'm attaching the
relevant chunk of the diffs (with times and PIDs stripped out to minimize
noise) in the hopes that this helps someone else debug this.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

[-- Attachment #2: Type: TEXT/PLAIN, Size: 7415 bytes --]

--- tee-echo.strace	2003-08-29 09:18:45.000000000 -0400
+++ tee-procps.strace	2003-08-29 09:18:54.000000000 -0400
@@ -5,7 +5,7 @@ DLL version:  1003.22, api: 0.78
 DLL build:    2003-03-18 09:20
 OS version:   Windows NT-5.0
 Heap size:    402653184
-Date/Time:    2003-08-29 09:01:55
+Date/Time:    2003-08-29 09:04:09
 **********************************************
 X X [main] tee XXXX environ_init: 0x10020008: !C:=C:\cygwin\bin
 X X [main] tee XXXX environ_init: 0x100204D0: ALLUSERSPROFILE=C:\Documents and Settings\All Users
@@ -199,11 +199,11 @@ X X [main] tee XXXX sigproc_init: proces
 X X [main] tee XXXX _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0)
 X X [main] tee XXXX _cygwin_istext_for_stdio:  _cifs: fd not open
 X X [main] tee XXXX _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (1)
+X X [sig] tee XXXX wait_sig: sigcatch_nonmain 0xCC, sigcatch_main 0xD0
+X X [sig] tee XXXX wait_sig: Ready.  dwProcessid PPPP
 X X [main] tee XXXX _cygwin_istext_for_stdio:  _cifs: fd not open
 X X [main] tee XXXX _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (2)
 X X [main] tee XXXX _cygwin_istext_for_stdio:  _cifs: fd not open
-X X [sig] tee XXXX wait_sig: sigcatch_nonmain 0xCC, sigcatch_main 0xD0
-X X [sig] tee XXXX wait_sig: Ready.  dwProcessid PPPP
 X X [main] tee XXXX build_argv: argv[0] = 'tee'
 X X [main] tee XXXX build_argv: argv[1] = 'test.out'
 X X [main] tee XXXX build_argv: argc 2
@@ -215,8 +215,8 @@ X X [main] tee XXXX dtable::build_fhandl
 X X [main] tee XXXX fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
 X X [main] tee XXXX fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
 X X [main] tee XXXX fhandler_base::set_flags: filemode set to binary
-X X [main] tee XXXX fhandler_base::init: created new fhandler_base for handle 0x2A8, bin 1
-X X [main] tee XXXX dtable::init_std_file_from_handle: fd 0, handle 0x2A8
+X X [main] tee XXXX fhandler_base::init: created new fhandler_base for handle 0x2A4, bin 1
+X X [main] tee XXXX dtable::init_std_file_from_handle: fd 0, handle 0x2A4
 X X [main] tee XXXX normalize_posix_path: src /dev/conout
 X X [main] tee XXXX normalize_posix_path: /dev/conout = normalize_posix_path (/dev/conout)
 X X [main] tee XXXX mount_info::conv_to_win32_path: conv_to_win32_path (/dev/conout)
@@ -302,38 +302,41 @@ X X [main] tee XXXX _cygwin_istext_for_s
 X X [main] tee XXXX setmode_helper: setmode: file was raw now raw
 X X [main] tee XXXX setmode: setmode (3</tmp/shtest/test.out>, 0x10000) returns binary
 X X [main] tee XXXX readv: readv (0, 0x22FA60, 1) blocking, sigcatchers 0
-X X [read_pipe] tee XXXX fhandler_base::read: returning 1, binary mode
-X X [main] tee XXXX readv: 1 = readv (0, 0x22FA60, 1), errno 0
-X X [main] tee XXXX writev: writev (1, 0x22F980, 1)
-X X [main] tee XXXX fhandler_console::write: 22FA90, 1
-X X [main] tee XXXX fhandler_console::write: at 10(0x20) state is 0
-X X [main] tee XXXX fhandler_console::write: 1 = write_console (,..1)
-X X [main] tee XXXX writev: 1 = write (1, 0x22F980, 1), errno 0
-X X [main] tee XXXX writev: writev (3, 0x22F980, 1)
-X X [main] tee XXXX fhandler_base::write: binary write
-X X [main] tee XXXX fhandler_base::write: 1 = write (0x22FA90, 1)
-X X [main] tee XXXX writev: 1 = write (3, 0x22F980, 1), errno 0
-X X [main] tee XXXX readv: readv (0, 0x22FA60, 1) blocking, sigcatchers 0
-X X [read_pipe] tee XXXX fhandler_base::read: returning 0, binary mode
-X X [main] tee XXXX readv: 0 = readv (0, 0x22FA60, 1), errno 0
-X X [main] tee XXXX close: close (3)
-X X [main] tee XXXX fhandler_base::close: closing '/tmp/shtest/test.out' handle 0x108
-X X [main] tee XXXX close: 0 = close (3)
-X X [main] tee XXXX close: close (0)
-X X [main] tee XXXX fhandler_base::close: closing '/dev/piper' handle 0x2A8
-X X [main] tee XXXX close: 0 = close (0)
-X X [main] tee XXXX do_exit: do_exit (0)
-X X [main] tee XXXX void: 0x0 = signal (20, 0x1)
-X X [main] tee XXXX void: 0x0 = signal (1, 0x1)
-X X [main] tee XXXX void: 0x0 = signal (2, 0x1)
-X X [main] tee XXXX void: 0x0 = signal (3, 0x1)
-X X [main] tee XXXX fhandler_console::close: decremented open_fhs, now 1
-X X [main] tee XXXX fhandler_console::close: decremented open_fhs, now 0
-X X [main] tee XXXX sigproc_terminate: entering
-X X [main] tee XXXX proc_terminate: nchildren 0, nzombies 0
-X X [main] tee XXXX proc_terminate: leaving
-X X [main] tee XXXX __to_clock_t: dwHighDateTime 0, dwLowDateTime 200288
-X X [main] tee XXXX __to_clock_t: total 00000000 00000014
-X X [main] tee XXXX __to_clock_t: dwHighDateTime 0, dwLowDateTime 200288
-X X [main] tee XXXX __to_clock_t: total 00000000 00000014
-X X [main] tee XXXX _pinfo::exit: Calling ExitProcess 0
+X X [sig] tee XXXX wait_sig: awake
+X X [sig] tee XXXX wait_sig: processing signal 0
+X X [sig] tee XXXX pinfo::init: execed process windows pid 1748, cygwin pid 1788
+X X [sig] tee XXXX pinfo::init: execed process windows pid 1840, cygwin pid 1820
+X X [sig] tee XXXX pinfo::init: execed process windows pid 1996, cygwin pid 452
+X X [sig] tee XXXX pinfo::init: execed process windows pid 2068, cygwin pid 2048
+X X [sig] tee XXXX pinfo::init: execed process windows pid 2176, cygwin pid 2148
+X X [sig] tee XXXX pinfo::init: execed process windows pid 2264, cygwin pid 2232
+X X [sig] tee XXXX pinfo::init: execed process windows pid 3164, cygwin pid 2980
+X X [sig] tee XXXX pinfo::init: execed process windows pid 3304, cygwin pid 2856
+X X [sig] tee XXXX pinfo::init: execed process windows pid 3728, cygwin pid 3820
+X X [sig] tee XXXX pinfo::init: execed process windows pid 3932, cygwin pid 3980
+X X [sig] tee XXXX pinfo::init: execed process windows pid 2908, cygwin pid 3740
+X X [sig] tee XXXX pinfo::init: execed process windows pid 3880, cygwin pid 3800
+X X [sig] tee XXXX handle_exceptions: In cygwin_except_handler exc 0xC0000005 at 0x610BA041 sp 0x7DFE70
+X X [sig] tee XXXX handle_exceptions: In cygwin_except_handler sig = 11 at 0x610BA041
+X X [sig] tee XXXX handle_exceptions: In cygwin_except_handler calling 0x0
+X X [sig] tee XXXX handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
+X X [sig] tee XXXX try_to_debug: debugger_command ''
+X X [sig] tee XXXX open_stackdumpfile: Dumping stack trace to tee.exe.stackdump
+X X [sig] tee XXXX signal_exit: about to call do_exit (18B00)
+X X [sig] tee XXXX do_exit: do_exit (101120)
+X X [sig] tee XXXX void: 0x0 = signal (20, 0x1)
+X X [sig] tee XXXX void: 0x0 = signal (1, 0x1)
+X X [sig] tee XXXX void: 0x0 = signal (2, 0x1)
+X X [sig] tee XXXX void: 0x0 = signal (3, 0x1)
+X X [sig] tee XXXX fhandler_base::close: closing '/dev/piper' handle 0x2A4
+X X [sig] tee XXXX fhandler_console::close: decremented open_fhs, now 1
+X X [sig] tee XXXX fhandler_console::close: decremented open_fhs, now 0
+X X [sig] tee XXXX fhandler_base::close: closing '/tmp/shtest/test.out' handle 0x108
+X X [sig] tee XXXX sigproc_terminate: entering
+X X [sig] tee XXXX proc_terminate: nchildren 0, nzombies 0
+X X [sig] tee XXXX proc_terminate: leaving
+X X [sig] tee XXXX __to_clock_t: dwHighDateTime 0, dwLowDateTime 500720
+X X [sig] tee XXXX __to_clock_t: total 00000000 00000032
+X X [sig] tee XXXX __to_clock_t: dwHighDateTime 0, dwLowDateTime 300432
+X X [sig] tee XXXX __to_clock_t: total 00000000 0000001E
+X X [sig] tee XXXX _pinfo::exit: Calling ExitProcess 101120

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tee core dumped
  2003-08-29 10:31 ` RE : " Philippe Torche
  2003-08-29 10:49   ` Elfyn McBratney
@ 2003-09-05  1:56   ` Christopher Faylor
  2003-09-05 10:07     ` RE : " Philippe Torche
  1 sibling, 1 reply; 7+ messages in thread
From: Christopher Faylor @ 2003-09-05  1:56 UTC (permalink / raw)
  To: cygwin

On Fri, Aug 29, 2003 at 12:11:43PM +0200, Philippe Torche wrote:
>No body arrived to reproduce this ?
>Actually I can produce this sometimes using isql from MS, gawk, ...
>It's for me a very big problem !

This will be fixed in the next snapshot:

http://cygwin.com/snapshots/

and in the 1.5.4 release, of course.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE : tee core dumped
  2003-09-05  1:56   ` Christopher Faylor
@ 2003-09-05 10:07     ` Philippe Torche
  2003-09-05 15:05       ` Christopher Faylor
  0 siblings, 1 reply; 7+ messages in thread
From: Philippe Torche @ 2003-09-05 10:07 UTC (permalink / raw)
  To: cygwin

Many thanks,

I've tested it successfully with the latest CVS version (Friday 5 oct
10:50 GMT+2)

> -----Message d'origine-----
> De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] 
> De la part de Christopher Faylor
> Envoyé : vendredi, 5. septembre 2003 03:57
> À : cygwin@cygwin.com
> Objet : Re: tee core dumped
> 
> 
> On Fri, Aug 29, 2003 at 12:11:43PM +0200, Philippe Torche wrote:
> >No body arrived to reproduce this ?
> >Actually I can produce this sometimes using isql from MS, gawk, ... 
> >It's for me a very big problem !
> 
> This will be fixed in the next snapshot:
> 
> http://cygwin.com/snapshots/
> 
> and in the 1.5.4 release, of course.
> --
> Please use the resources at cygwin.com rather than sending personal
email. Special for spam email harvesters: send > > email to
aaaspam@sourceware.org and be permanently blocked from mailing lists at
sources.redhat.com


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RE : tee core dumped
  2003-09-05 10:07     ` RE : " Philippe Torche
@ 2003-09-05 15:05       ` Christopher Faylor
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Faylor @ 2003-09-05 15:05 UTC (permalink / raw)
  To: cygwin

On Fri, Sep 05, 2003 at 12:07:32PM +0200, Philippe Torche wrote:
>I've tested it successfully with the latest CVS version (Friday 5 oct
>10:50 GMT+2)

Btw, this problem is due to an, IMO, bone headed thing that tee does to
its argv list.  It moves things around in this array and eliminates the
NULL termination.

The Cygwin DLL should not crash when a user changes input like this,
(and this is the second problem we've seen like this in two weeks) but
still, what tee is doing is very strange.

cgf

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-09-05 15:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-27 14:19 tee core dumped Philippe Torche
2003-08-29 10:31 ` RE : " Philippe Torche
2003-08-29 10:49   ` Elfyn McBratney
2003-09-05  1:56   ` Christopher Faylor
2003-09-05 10:07     ` RE : " Philippe Torche
2003-09-05 15:05       ` Christopher Faylor
2003-08-29 15:41 ` Igor Pechtchanski

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).