www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/17/21:33:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A10BD99.2010805@gmail.com>
Date: Mon, 18 May 2009 02:44:57 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: expr error
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> <guqdaj$9fp$1 AT ger DOT gmane DOT org>
In-Reply-To: <guqdaj$9fp$1@ger.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Lenik wrote:

> I don't know how to do in detail, this is what I get, I don't have debug
> symbols.

  Yeah, binaries shipped with the distro are stripped, but we'll still get
some useful info.

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

  At this point, run the commands "bt", "info files", "info reg" and "info
frame", and show us the output they generate.

    cheers,
      DaveK


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