Package: tar
Version: 1.25-2
Severity: important

Hi,

when trying to create an incremental archive, tar segfaults:

[r...@awak:~]$ gdb --args /home/xav/tar/tar-1.25/debian/tar/bin/tar 
--listed-incremental /mnt/backup/awak.incremental.bin --one-file-system -p -c 
-z -f /mnt/backup/awak.20101123.tar.gz /
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/xav/tar/tar-1.25/debian/tar/bin/tar...done.
(gdb) r
Starting program: /home/xav/tar/tar-1.25/debian/tar/bin/tar 
--listed-incremental /mnt/backup/awak.incremental.bin --one-file-system -p -c 
-z -f /mnt/backup/awak.20101123.tar.gz /
[Thread debugging using libthread_db enabled]
/home/xav/tar/tar-1.25/debian/tar/bin/tar: Suppression de « // » au début des 
noms des membres

Program received signal SIGSEGV, Segmentation fault.
append_incremental_renames (dir=0x808cec8) at incremen.c:897
897           dumpdir_free (dir->dump);
(gdb) bt
#0  append_incremental_renames (dir=0x808cec8) at incremen.c:897
#1  0x08062825 in collect_and_sort_names () at names.c:1065
#2  0x08053b63 in create_archive () at create.c:1321
#3  0x080680dd in main (argc=10, argv=0xffffda94) at tar.c:2646
(gdb) p *dir
$1 = {next = 0x0, mtime = {tv_sec = 1290519333, tv_nsec = 240726285}, 
device_number = 2305, inode_number = 2, dump = 0x0, idump = 0x0, children = 
NO_CHILDREN, flags = 5, 
  orig = 0x808cf18, tagfile = 0x0, caname = 0x808cf08 "/", name = 0x808ceb8 
"//"}
(gdb) 

Apparently it tries to free a NULL pointer.

HTH,
        Xav

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing'), (50, 'unstable'), (1, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tar depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib

tar recommends no packages.

Versions of packages tar suggests:
ii  bzip2             1.0.5-6                high-quality block-sorting file co
pn  ncompress         <none>                 (no description available)
ii  xz-utils          4.999.9beta+20100810-1 XZ-format compression utilities

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to