delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/17/21:24:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Lenik <lenik AT bodz DOT net>
Subject: Re: expr error
Date: Mon, 18 May 2009 09:23:31 +0800
Lines: 51
Message-ID: <guqdaj$9fp$1@ger.gmane.org>
References: <gup17t$qp2$1 AT ger DOT gmane DOT org> <4A1024F1 DOT 4000102 AT byu DOT net> <guq3mh$n5v$1 AT ger DOT gmane DOT org> <4A10A0E2 DOT 803 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2
In-Reply-To: <4A10A0E2.803@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 2009-5-18 7:42, Dave Korn wrote:
> Lenik wrote:
>
>>> Are you sure you don't have some competing tools getting in the way of
>>> proper cygwin operation?
>>>
>> No, I've set PATH to cygwin/bin only, before execute expr.
>
>    Doesn't necessarily mean there aren't system-wide hooks being loaded into
> every application running.
>
This is hard to say, but I think my system is ok, all tools in coreutils 
except expr are ok to run.

>> stackdump added.
>
>    Can you get this to reproduce under GDB?  A backtrace from the exception
> caught there, plus the output from "info files", would tell us more.  From the
> tiny bit of stackdump it managed to output before crashing, it does look like
> either the stack is very corrupted, or the program counter ended up in a
> rather unexpected area of memory owing to some intercepting DLL or similar.
>
I don't know how to do in detail, this is what I get, I don't have debug 
symbols.

(gdb) run
Starting program: /usr/bin/expr
[New thread 3988.0xd84]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New thread 3988.0x9f4]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x05240000 in ?? ()
(gdb)


Thanks,
Lenik


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