Thorsten Hirsch <t.hir...@web.de> 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 (force=force@entry=true) 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 

LD_PRELOAD=0...@0.so.1 command

it is a NULL pointer bug.


Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to