[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] segfault on solaris 11.1 with --remove-files in current di
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] segfault on solaris 11.1 with --remove-files in current directory |
Date: |
Tue, 29 Apr 2014 22:48:02 +0200 |
User-agent: |
nail 11.22 3/20/05 |
Thorsten Hirsch <address@hidden> wrote:
> Hi,
>
> I'm facing a segmentation fault with tar 1.27.1 on solaris 11.1:
>
> $ ./call_bug.sh
> [...current_dir...]/test
> ./
> ./bar
> ./foo
> ./call_bug.sh: line 5: 15341 Segmentation Fault (core dumped) tar
> --remove-files --totals -czvf ../package.tar.gz .
>
> I guess --remove-files cannot be used anymore when the input is the current
> directory. This issue did not occur with tar 1.15 on solaris 10.
>
> stack trace:
>
> (gdb) bt
> #0 0x000346fc in tar_dirname () at misc.c:1008
> #1 0x0003ea0c in flush_deferred_unlinks (address@hidden) at
> unlink.c:92
> #2 0x0003eb3c in finish_deferred_unlinks () at unlink.c:147
> #3 0x00025b50 in create_archive () at create.c:1410
> #4 0x00069624 in main (argc=<optimized out>, argv=<optimized out>) at
> tar.c:2673
pstack or adb/mdb usually give much better help than gdb....
If it goes away with
address@hidden command
it is a NULL pointer bug.
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily