tar segmentation fault

Dieter freebsd at sopwith.solgatos.com
Tue Feb 21 14:54:51 PST 2006

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

More information about the freebsd-questions mailing list