Issue with LZMA library (release dll)

Hoang Linh
2013-08-30
2013-08-30
  • Hoang Linh

    Hoang Linh - 2013-08-30

    Hi All,

    I have downloaded lzma 9.20 SDK from http://www.7-zip.org/sdk.html and tried to compile lzmalib using the project included in the SDK. The lzma lib works fine in my project (debug and release dll).

    However, since lzma lib does not provide incremental compression/decompression, I modified the project to export API for incremental compression/decompression. I can compile the lzma lib (debug & release dll); but I can only use debug dll in my project. I encounter the crash when using release dll.

    Below is the snapshot of my problem:

    Stack trace:

    CompressDPD.exe!FreeForLzma(void * p=0x10001093, void * address=0x00010000) Line 259 + 0xb bytes C++
    LZMA.dll!1000104e()
    CompressDPD.exe!Encode(ISeqOutStream * outStream=0x0110f2a8, ISeqInStream * inStream=0x00000000, unsigned __int64 fileSize=7680240) Line 307 + 0x17 bytes C++
    CompressDPD.exe!wmain(int argc=, wchar_t * * argv=) Line 617 + 0x18 bytes C++

    Error message:
    First-chance exception at 0x77d41f81 in CompressDPD.exe: 0xC0000005: Access violation reading location 0x0000ffff.
    Unhandled exception at 0x77d41f81 in CompressDPD.exe: 0xC0000005: Access violation reading location 0x0000ffff.

    Appreciate any help since it is quite urgent for my project.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks