Core dump

Help
Yanestra
2005-10-09
2013-05-28
  • Yanestra

    Yanestra - 2005-10-09

    Hi,

    I am trying to unpack a 7za archive created with the "example 1" settings of the man page. Creating version was 4.20 or 4.27 (don't remember exactly).

    Operating system is FreeBSD 5.4 under amd64 (i.e. x86_64). Archive consists of 8 650m chunks. Extracting version is 4.29.

    7za dumps core:

    #0  0x0000000000458c0d in NCompress::NLZMA::CDecoder::CodeSpec (this=0x62b000,
        curSize=194160) at LZOutWindow.h:40
    40            _buffer[_pos++] = _buffer[pos++];

    (gdb) backtrace
    #0  0x0000000000458c0d in NCompress::NLZMA::CDecoder::CodeSpec (this=Cannot find thread 1: Thread ID=6, generic error
    )
        at LZOutWindow.h:40
    Cannot find thread 1: Thread ID=6, generic error

    I can't debug that, it appears. Any comments?

     
    • my space

      my space - 2005-10-09

      > I am trying to unpack a 7za archive created with the "example 1" settings of
      > the man page. Creating version was 4.20 or 4.27 (don't remember exactly).
      Have you tested your archive after its building ?

      If you didn't, you cannot be sure that this multi-part archive is good.

      - Perhaps, p7zip 4.20 (4.27) is buggy ?
      - Perhaps, the memory of your PC is bad (have you tried memtest with at least 5 passes ?)
      - perhaps, your machine is (too) overclocked ?

      What you can try :
      - re-build p7zip 4.20 and try it
      - re-build p7zip 4.27 and try it

      The next times : verify your archives with "7za t archive.7z" !

      - To debug :
        - in makefile.machine, replace "-O1 -s" with "-g" (something "-g2", I don't know why ...)
        - launch gdb in the directory "p7zip/Bundle/Alone" (gdb can find more source files)
        - Remark: I use DDD ( a front-end of gdb) to debug.

       
    • Yanestra

      Yanestra - 2005-10-09

      p7zip 4.27 crashes like 4.29, but 4.20 gives a message:

      Sub items Errors: 5204

      The archive is identical with the original, I couldn't debug further because there were threads, not because symbols were not found, memtest runs perfectly, machine is not overclocked, I have checked for Earth radiation (there is none, 70m above surface) and I talked to the guy from the power station, and he says, the power is alright.

      In my humble opinion one should consider a software bug.

       
      • my space

        my space - 2005-10-10

        > In my humble opinion one should consider a software bug.

        Yes, surely a bug but when ?
        - during creating of the archive ?
        - during extracting from the archive ?

        You cannot send me your multi-part 680Mo archive :(

        Do you know valgrind (http://valgrind.org/) ?
        can you try :
        valgrind --tool=memcheck 7za x archive.7z

        copy here the trace.

        By the way, your p7zip is a x86 or a x86_64 executable ?
        (file /usr/bin/7za)

         
    • Igor Pavlov

      Igor Pavlov - 2005-10-10

      Can you check that archive with Windows version of 7-Zip?

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks