X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Lenik <lenik@bodz.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@ger.gmane.org> <4A1024F1.4000102@byu.net> <guq3mh$n5v$1@ger.gmane.org> <4A10A0E2.803@gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

