Re: tar segmentation fault
On Tuesday 21 February 2006 19:12, Lowell Gilbert wrote: Ben Paley [EMAIL PROTECTED] writes: me$ pkg_info | grep tar gtar-1.15.1_1 GNU version of the traditional tar archiver You're obviously not *using* gnu tar, because you would be getting errors on the -l option if you were. Well, I haven't got round to debugging bsdtar (it compiles without warning using 'make' in /usr/src/usr.bin/tar/), but it turns out gtar works fine, using -h instead of -L . Thanks very much to both of you for pointing me towards a solution. Thanks, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar segmentation fault
Ben Paley [EMAIL PROTECTED] writes: Sorry. left off some information that might come in handy! me$ uname -srm FreeBSD 6.0-STABLE i386 me$ pkg_info | grep tar gtar-1.15.1_1 GNU version of the traditional tar archiver startup-notification-0.8_1 Library that supports startup notification spec from freede You're obviously not *using* gnu tar, because you would be getting errors on the -l option if you were. me$ Thanks, Ben tar -cLvy -f /usr/home/me/backup/backup.tar.bz2 /usr/home/me/backup/source/ 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? No. I can't reproduce the problem here, using the system tar on RELENG_6 (couple of weeks old). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar segmentation fault
On Tuesday 21 February 2006 19:12, Lowell Gilbert wrote: Ben Paley [EMAIL PROTECTED] writes: Sorry. left off some information that might come in handy! me$ uname -srm FreeBSD 6.0-STABLE i386 me$ pkg_info | grep tar gtar-1.15.1_1 GNU version of the traditional tar archiver startup-notification-0.8_1 Library that supports startup notification spec from freede You're obviously not *using* gnu tar, because you would be getting errors on the -l option if you were. Yup, looks like I'm using bsdtar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar segmentation fault
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar segmentation fault
From: Dieter [EMAIL PROTECTED] Subject: Re: tar segmentation fault To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Now that you know which tar you're using, :-) time to drag out the standard debugging process for segmentation faults. It's come to that, has it? Oh well... thanks very much for your help, I'll be back in touch with more information soon! Thanks again, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tar segmentation fault
Hello, I want to backup certain parts of my system regularly, so I made a directory which reflects the filesystem: backup/ etc/ - link to /etc usr/ home/ me/ somefile - link to some specific file in my home directory public_html/ various_links_to/ - directories_which/ - really_exist_in_my/ - public_html/ - Basically it's a collection of symlinks to stuff I want backed up. Then I run tar -cLvy -f /usr/home/me/backup/backup.tar.bz2 /usr/home/me/backup/source/ 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? Thanks, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar segmentation fault
Sorry. left off some information that might come in handy! me$ uname -srm FreeBSD 6.0-STABLE i386 me$ pkg_info | grep tar gtar-1.15.1_1 GNU version of the traditional tar archiver startup-notification-0.8_1 Library that supports startup notification spec from freede me$ Thanks, Ben tar -cLvy -f /usr/home/me/backup/backup.tar.bz2 /usr/home/me/backup/source/ 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? Thanks, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]