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 Subject: Re: expr error Date: Mon, 18 May 2009 09:23:31 +0800 Lines: 51 Message-ID: References: <4A1024F1 DOT 4000102 AT byu DOT net> <4A10A0E2 DOT 803 AT gmail DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/