Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 14:50:30 +0000
From:      Dieter <freebsd@sopwith.solgatos.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: tar segmentation fault
Message-ID:  <200602212250.WAA03728@sopwith.solgatos.com>

next in thread | raw e-mail | index | archive | help
> When source/usr/home/me/public_html is empty then it runs fine. But when I put
> any links in, tar dies with a segmentation fault.
>
> Has anyone got any ideas why?

> Yup, looks like I'm using bsdtar

Now that you know which tar you're using, :-)
time to drag out the standard debugging process for
segmentation faults.

1) get the sources

2) compile, adding "-g"

2a) If you get any compiler warnings, fix them
    and send the diffs to the maintainer.
    Often fixing the compiler warnings will
    fix a seg fault.

3) Try it again.  If it still seg faults,
   run it under a debugger and get a stack backtrace.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602212250.WAA03728>