#9 7za dies when archiving a symlink

closed-works-for-me
nobody
None
5
2004-12-16
2004-11-19
No

7za dies with an "unknown error 0x80004001" when
attempting to archive a directory containing symlinks.

Discussion

  • my space
    my space
    2004-12-16

    • status: open --> closed-works-for-me
     
  • Iacopo
    Iacopo
    2005-02-05

    Logged In: YES
    user_id=701495

    Why was this bug closed?
    It's a huge problem on every unix system!

     
  • Iacopo
    Iacopo
    2005-02-05

    Logged In: YES
    user_id=701495

    This script will trigger the bug
    mkdir testlink
    cd testlink
    mkdir a
    ln -s a b
    cd ..
    7z a -t7z -m0=lzma -r test testlink

     
  • Iacopo
    Iacopo
    2005-02-05

    Logged In: YES
    user_id=701495

    This few instructions will trigger the bug:
    mkdir testlink
    cd testlink
    mkdir a
    ln -s a b
    cd ..
    7z a -t7z -m0=lzma -r test testlink

     
  • my space
    my space
    2005-02-05

    Logged In: YES
    user_id=336051

    Remark : don't forget to say :
    - version of p7zip
    - your platform (OS, processor, memory)

    With 7za provided by p7zip_4.14.01_x86_linux_bin.tar.bz2,
    on Linux Fedora 2 or Debian 3,
    your script do not trigger the bug ...

    BUT "7za t test.7z" raises a core dump ...

    The problem is that the compiler provided with Debian 3 (gcc
    2.95.4)
    generates bad code when you use the "-O2" flag.

    So the next binary of p7zip provided by me will be compiled
    with "-O1".

    You use "7z", so you build yourself p7zip from the lastest
    source code.
    Try to change "-O2" to "-O1" in makefile.machine,
    make clean
    make all2

    And do not forget to tell us the result ;)

     
  • Iacopo
    Iacopo
    2005-02-05

    Logged In: YES
    user_id=701495

    I use p7zip package (4.14-2) from debian experimental in
    debian sarge
    I'vw just tried to compile your 4.14.01 source with gcc
    version 3.3.5 and -O2 and the problem is gone. Bug reported
    to debian packager.
    Thanks for support