public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: tar 1.13.25 runs forever and produces nothing on this test ca se
@ 2003-07-17 18:36 Biederman, Steve
  2003-07-17 20:00 ` Larry Hall
  0 siblings, 1 reply; 12+ messages in thread
From: Biederman, Steve @ 2003-07-17 18:36 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'


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@cygwin.com]
Sent: Thursday, July 17, 2003 11:00 AM
To: Biederman, Steve
Cc: 'cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test ca se
  2003-07-17 18:36 tar 1.13.25 runs forever and produces nothing on this test ca se Biederman, Steve
@ 2003-07-17 20:00 ` Larry Hall
  2003-07-18 11:37   ` andrew brian clegg
  0 siblings, 1 reply; 12+ messages in thread
From: Larry Hall @ 2003-07-17 20:00 UTC (permalink / raw)
  To: Biederman, Steve; +Cc: 'cygwin@cygwin.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@cygwin.com]
> Sent: Thursday, July 17, 2003 11:00 AM
> To: Biederman, Steve
> Cc: 'cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test ca  se
  2003-07-17 20:00 ` Larry Hall
@ 2003-07-18 11:37   ` andrew brian clegg
  2003-07-18 18:05     ` Larry Hall
  0 siblings, 1 reply; 12+ messages in thread
From: andrew brian clegg @ 2003-07-18 11:37 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'



Larry,

Can I just jump in here and say thanks for doing this quick intro to
debugging?

The closest I've come to gcc and gdb was using DJGPP about eight years ago
and it's hard to know where to start when things go wrong. This should get
me started next time something does...

Andrew.

On Thu, 17 Jul 2003, Larry Hall wrote:

> Date: Thu, 17 Jul 2003 15:13:22 -0400
> From: Larry Hall <cygwin-lh@cygwin.com>
> Reply-To: cygwin@cygwin.com
> To: "Biederman, Steve" <steve_biederman@mentorg.com>
> Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
> Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
>     ca  se
> 
> 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@cygwin.com]
> > Sent: Thursday, July 17, 2003 11:00 AM
> > To: Biederman, Steve
> > Cc: 'cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test ca se
  2003-07-18 11:37   ` andrew brian clegg
@ 2003-07-18 18:05     ` Larry Hall
  2003-07-23 19:14       ` tar 1.13.25 runs forever and produces nothing on this test case Igor Pechtchanski
  0 siblings, 1 reply; 12+ messages in thread
From: Larry Hall @ 2003-07-18 18:05 UTC (permalink / raw)
  To: andrew brian clegg; +Cc: 'cygwin@cygwin.com'

Hi Andrew,

You're welcome.  I hope this is helpful in your efforts.

Larry
andrew brian clegg wrote:

> 
> Larry,
> 
> Can I just jump in here and say thanks for doing this quick intro to
> debugging?
> 
> The closest I've come to gcc and gdb was using DJGPP about eight years ago
> and it's hard to know where to start when things go wrong. This should get
> me started next time something does...
> 
> Andrew.
> 
> On Thu, 17 Jul 2003, Larry Hall wrote:
> 
> 
>>Date: Thu, 17 Jul 2003 15:13:22 -0400
>>From: Larry Hall <cygwin-lh@cygwin.com>
>>Reply-To: cygwin@cygwin.com
>>To: "Biederman, Steve" <steve_biederman@mentorg.com>
>>Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
>>Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
>>    ca  se
>>
>>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@cygwin.com]
>>>Sent: Thursday, July 17, 2003 11:00 AM
>>>To: Biederman, Steve
>>>Cc: 'cygwin@cygwin.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/
> 
> 

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test case
  2003-07-18 18:05     ` Larry Hall
@ 2003-07-23 19:14       ` Igor Pechtchanski
  0 siblings, 0 replies; 12+ messages in thread
From: Igor Pechtchanski @ 2003-07-23 19:14 UTC (permalink / raw)
  To: cygwin

Hmm, I wonder if it would make sense to have an FAQ entry with this info?
I know it's not Cygwin specific, but something like:

   Q: How do I debug something on a Cygwin system?
   A: Same way you do it under any Unix system, i.e., <and the info Larry
      provided below>.

The above would be nice to have to point people at when they need to debug
some application...  Another alternative is to put it in the User's Guide.
	Igor

On Fri, 18 Jul 2003, Larry Hall wrote:

> Hi Andrew,
>
> You're welcome.  I hope this is helpful in your efforts.
>
> Larry
> andrew brian clegg wrote:
>
> >
> > Larry,
> >
> > Can I just jump in here and say thanks for doing this quick intro to
> > debugging?
> >
> > The closest I've come to gcc and gdb was using DJGPP about eight years ago
> > and it's hard to know where to start when things go wrong. This should get
> > me started next time something does...
> >
> > Andrew.
> >
> > On Thu, 17 Jul 2003, Larry Hall wrote:
> >
> >>Date: Thu, 17 Jul 2003 15:13:22 -0400
> >>From: Larry Hall <cygwin-lh@cygwin.com>
> >>Reply-To: cygwin@cygwin.com
> >>To: "Biederman, Steve" <steve_biederman@mentorg.com>
> >>Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
> >>Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
> >>    ca  se
> >>
> >>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@cygwin.com]
> >>>Sent: Thursday, July 17, 2003 11:00 AM
> >>>To: Biederman, Steve
> >>>Cc: 'cygwin@cygwin.com'
> >>>Subject: Re: tar 1.13.25 runs forever and produces nothing on this test case
> >>>
> >>>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

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test ca se
  2003-07-17 21:41 tar 1.13.25 runs forever and produces nothing on this test ca se Biederman, Steve
@ 2003-07-17 23:10 ` Larry Hall (RFK Partners, Inc.)
  0 siblings, 0 replies; 12+ messages in thread
From: Larry Hall (RFK Partners, Inc.) @ 2003-07-17 23:10 UTC (permalink / raw)
  To: Biederman, Steve; +Cc: 'cygwin@cygwin.com'

Sorry, I'm no configure expert.  I don't know why yours is
going this route in configure.  I don't see this myself.
You can try adding the '-C' flag after './configure' to see
if this helps.  You may also want to attach the output of
cygcheck -srv.  This is basic info but perhaps there's
something basic wrong. ;-)

Larry


Biederman, Steve wrote:

> When I attempt to run configure, I get:
> 
> 	$ ./configure CFLAGS=-g
> 	configure: loading cache /dev/null
> 	.: ./configure 1126: /dev/null: not found
> 
> -----Original Message-----
> From: Larry Hall [mailto:cygwin-lh@cygwin.com]
> Sent: Thursday, July 17, 2003 12:13 PM
> To: Biederman, Steve
> Cc: 'cygwin@cygwin.com'
> Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
> ca se
> 
> 
> 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@cygwin.com]
>>Sent: Thursday, July 17, 2003 11:00 AM
>>To: Biederman, Steve
>>Cc: 'cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: tar 1.13.25 runs forever and produces nothing on this test ca se
@ 2003-07-17 21:41 Biederman, Steve
  2003-07-17 23:10 ` Larry Hall (RFK Partners, Inc.)
  0 siblings, 1 reply; 12+ messages in thread
From: Biederman, Steve @ 2003-07-17 21:41 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'


When I attempt to run configure, I get:

	$ ./configure CFLAGS=-g
	configure: loading cache /dev/null
	.: ./configure 1126: /dev/null: not found

-----Original Message-----
From: Larry Hall [mailto:cygwin-lh@cygwin.com]
Sent: Thursday, July 17, 2003 12:13 PM
To: Biederman, Steve
Cc: 'cygwin@cygwin.com'
Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
ca se


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@cygwin.com]
> Sent: Thursday, July 17, 2003 11:00 AM
> To: Biederman, Steve
> Cc: 'cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: tar 1.13.25 runs forever and produces nothing on this test ca se
@ 2003-07-17 21:01 Biederman, Steve
  0 siblings, 0 replies; 12+ messages in thread
From: Biederman, Steve @ 2003-07-17 21:01 UTC (permalink / raw)
  To: Biederman, Steve, 'cygwin@cygwin.com'


Found it.


-----Original Message-----
From: Biederman, Steve 
Sent: Thursday, July 17, 2003 1:40 PM
To: 'cygwin@cygwin.com'
Subject: RE: tar 1.13.25 runs forever and produces nothing on this test
ca se



> You'll also want the source for tar.  Get that from setup too.

I don't see where I have a choice within setup for source ...


-----Original Message-----
From: Larry Hall [mailto:cygwin-lh@cygwin.com]
Sent: Thursday, July 17, 2003 12:13 PM
To: Biederman, Steve
Cc: 'cygwin@cygwin.com'
Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
ca se


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@cygwin.com]
> Sent: Thursday, July 17, 2003 11:00 AM
> To: Biederman, Steve
> Cc: 'cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: tar 1.13.25 runs forever and produces nothing on this test ca se
@ 2003-07-17 20:54 Biederman, Steve
  0 siblings, 0 replies; 12+ messages in thread
From: Biederman, Steve @ 2003-07-17 20:54 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'


> You'll also want the source for tar.  Get that from setup too.

I don't see where I have a choice within setup for source ...


-----Original Message-----
From: Larry Hall [mailto:cygwin-lh@cygwin.com]
Sent: Thursday, July 17, 2003 12:13 PM
To: Biederman, Steve
Cc: 'cygwin@cygwin.com'
Subject: Re: tar 1.13.25 runs forever and produces nothing on this test
ca se


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@cygwin.com]
> Sent: Thursday, July 17, 2003 11:00 AM
> To: Biederman, Steve
> Cc: 'cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test ca se
  2003-07-17 18:26 Biederman, Steve
  2003-07-17 18:33 ` Larry Hall
@ 2003-07-17 19:31 ` Shankar Unni
  1 sibling, 0 replies; 12+ messages in thread
From: Shankar Unni @ 2003-07-17 19:31 UTC (permalink / raw)
  To: cygwin

Biederman, Steve wrote:

> Any suggestions how I can proceed to debug why tar acts the way it does for me and
> not for you?

Try using "strace" to see what it's doing in terms of syscalls..  Just
say "strace tar ....", tee the output to some log file, and see what
it's doing during the busy loop..



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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test ca se
  2003-07-17 18:26 Biederman, Steve
@ 2003-07-17 18:33 ` Larry Hall
  2003-07-17 19:31 ` Shankar Unni
  1 sibling, 0 replies; 12+ messages in thread
From: Larry Hall @ 2003-07-17 18:33 UTC (permalink / raw)
  To: Biederman, Steve; +Cc: 'cygwin@cygwin.com'

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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tar 1.13.25 runs forever and produces nothing on this test ca se
@ 2003-07-17 18:26 Biederman, Steve
  2003-07-17 18:33 ` Larry Hall
  2003-07-17 19:31 ` Shankar Unni
  0 siblings, 2 replies; 12+ messages in thread
From: Biederman, Steve @ 2003-07-17 18:26 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Any suggestions how I can proceed to debug why tar acts the way it does for me and
not for you?


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-07-23 18:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17 18:36 tar 1.13.25 runs forever and produces nothing on this test ca se Biederman, Steve
2003-07-17 20:00 ` Larry Hall
2003-07-18 11:37   ` andrew brian clegg
2003-07-18 18:05     ` Larry Hall
2003-07-23 19:14       ` tar 1.13.25 runs forever and produces nothing on this test case Igor Pechtchanski
  -- strict thread matches above, loose matches on Subject: below --
2003-07-17 21:41 tar 1.13.25 runs forever and produces nothing on this test ca se Biederman, Steve
2003-07-17 23:10 ` Larry Hall (RFK Partners, Inc.)
2003-07-17 21:01 Biederman, Steve
2003-07-17 20:54 Biederman, Steve
2003-07-17 18:26 Biederman, Steve
2003-07-17 18:33 ` Larry Hall
2003-07-17 19:31 ` Shankar Unni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).