delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/17/15:16:44

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
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVYRrb6ia/gh4/HYasQ/WhtfN12V+J++TdgevJU5J73mz8aHk30eYY64
Message-ID: <3F16F552.8010403@cygwin.com>
Date: Thu, 17 Jul 2003 15:13:22 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Biederman, Steve" <steve_biederman AT mentorg DOT com>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: tar 1.13.25 runs forever and produces nothing on this test ca
se
References: <3D5E0EA708C5DD44B7575859D366728C2DC216 AT svr-orw-exc-02 DOT wv DOT mentorg DOT com>
In-Reply-To: <3D5E0EA708C5DD44B7575859D366728C2DC216@svr-orw-exc-02.wv.mentorg.com>

We'll make a developer out of you yet! :-)

You'll need to run setup and install the 'gcc' package (not
gcc2) and the 'gdb' package.  That should install everything
you need as a build environment.  You'll also want the source
for tar.  Get that from setup too.  Once done installing,
do the following:

   1. cd /usr/src/tar-1.13.25-1/
   2. ./configure CFLAGS=-g
   3. make

Now you can try this version to see if your problem reproduces.
The new 'tar' is in ./src.  If you can reproduce the problem there,
try it in gdb.  To do so, type 'gdb src/tar.exe'.  At the gdb prompt,
type 'r <command line parameters that you give to tar to reproduce
the problem>'.  This will start it running.   When you think it's to
the point where it's hanging, type ctrl-c to stop it and then 'bt'.
This will tell you where you are.  You can step through the code with
'n'.  Presumably, you'll see you're cycling through the same statements
at some point.

This may not point out the source of the problem to you, although
you'll have more information to report to the list about the case
you're running into.  The steps you took, things you saw, and the
result of 'bt' (initially at least) may help someone on this list
spot your problem.

Good luck and enjoy! ;-)

Larry


Biederman, Steve wrote:

> Which I've never done; I'm not a cygwin developer, just a user.
> Do you remember where cygwin documents how to set up a build environment
> and get a build going?
> 
> 
> -----Original Message-----
> From: Larry Hall [mailto:cygwin-lh AT cygwin DOT com]
> Sent: Thursday, July 17, 2003 11:00 AM
> To: Biederman, Steve
> Cc: 'cygwin AT cygwin DOT com'
> Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
> ca se
> 
> 
> Biederman, Steve wrote:
> 
> 
>>Any suggestions how I can proceed to debug why tar acts the way it does for me and
>>not for you?
> 
> 
> 
> I think you're down to building and debugging the code.
> 


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


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