delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/20/12:49:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E551525.70CBA306@doe.carleton.ca>
Date: Thu, 20 Feb 2003 12:49:25 -0500
From: Shing-Fat Fred Ma <fma AT doe DOT carleton DOT ca>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: "tee" is coredumping
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0302201159540 DOT 16682-100000 AT slinky DOT cs DOT nyu DOT edu>

Igor Pechtchanski wrote:

> On Thu, 20 Feb 2003, Fred Ma wrote:
>
> > Hello,
> >
> > I've got the latest cygwin 1.3.20-1, cygutils 1.1.3-1.
> > The "tee" command is core dumping on me, but
> > only with a particular set of circumstances.  I use
> > it as follows:
> >
> >     make -f client.mak 2>&1 | tee client.out
> >
> > I realize this is not telling you a whole lot because
> > it depends on what all happens in client.mak.  I don't
> > get a core dump if I just do "ls 2>&1 | tee client.out".
> > Here is the short contents of client.mak:
> >
> >      CC = gfilt
> >
> >      $(warning Hostname is $(HOSTNAME))
> >      ifeq ($(HOSTNAME),fmalap)
> >         $(warning Disabling Matlab engine code.)
> >         NOML = -DNOML
> >         LIBS =
> >      else
> >         NOML =
> >              LIBS = -L /opt/matlab13/extern/lib/sol2 -leng -lmx
> >      endif
> >
> >      client: client.cpp client.hpp client.mak
> >              $(CC) $(NOML) -O -o client \
> >              -I/opt/matlab13/extern/include \
> >              client.cpp \
> >         $(LIBS)
> >
> > The key in this file that seems to cause the crash is
> > using CC=gfilt instead of g++.  "gfilt" is a perl script
> > (or rather, a shell script that invokes perl) to decrypt
> > the very confusing messages from the C++ standard
> > library.
> >
> > I realize it's not realistic to ask "What's wrong", but
> > perhaps a few strategies to isolate the problem?  I
> > am no perl guy (I've used twice, like an overpowered
> > sed script).  The perl version is 5.6.1-2, with gnu license.
> > But perl is probably not the problem, since it's tee that's
> > dumping.
> >
> > Thanks in advance.
> >
> > Fred
>
> "man addr2line".  "cd /bin && cygcheck tee.exe".  This should get you
> started.
>         Igor
> --
>                               http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_                pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_            igor AT watson DOT ibm DOT com

Thanks again, Igor.

Fred

--
Fred Ma, fma AT doe DOT carleton DOT ca
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6








--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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