Results 1 to 4 of 4

Thread: Precomp0.4.2 zlib error

  1. #1
    Member
    Join Date
    Dec 2011
    Location
    Newark
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Precomp0.4.2 zlib error

    Hello,

    Is there a way to determine the level as which a zlib error occurs? precomp is repeatedly crashing on zlib streams. (in both default & intense modes)
    I have used verbose but i could not find any level specified. Can it be known from the positions? I was hoping to avoid the crashes by specifying an appropriate z level option.

    Thanks!

  2. #2
    Programmer schnaader's Avatar
    Join Date
    May 2008
    Location
    Hessen, Germany
    Posts
    566
    Thanks
    216
    Thanked 200 Times in 93 Posts
    Have you tried disabling JPEG already ("-t-j")? It's the most frequent crash source for the current version, Precomp sometimes has JPEG misdetections that crash either PackJPG or one of the subsequent zLib calls.
    http://schnaader.info
    Damn kids. They're all alike.

  3. #3
    Member
    Join Date
    Dec 2011
    Location
    Newark
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Since its not just one instance, but multiple, i was pretty sure that its related to zlib as the window was filled with only zlib listings.
    Still, i tried the -t-j option but, no change.

    Appears that precomp is assuming there is zlib in a deeper level and keeps going... and hangs.(but it happens on both default & intense, so might be something else)
    It there a way to determine what level its working on using the positions(2448217951 2448694262 2448850970 2449148096) or something?

  4. #4
    Member
    Join Date
    May 2008
    Location
    England
    Posts
    325
    Thanks
    18
    Thanked 6 Times in 5 Posts
    You can limit the recursion depth with -d[number, upto 10] so try -d1, but try it with -c- first as that solves some crashing problems, and you'd want to use that anyways if you are then compressing the output from precomp, then try something like -s256 as well.

Similar Threads

  1. precomp error: std::bad_alloc
    By lohem in forum Data Compression
    Replies: 12
    Last Post: 11th November 2011, 20:58
  2. Error recovery from archive?
    By roytam1 in forum The Off-Topic Lounge
    Replies: 15
    Last Post: 9th November 2011, 11:52
  3. Replies: 1
    Last Post: 12th June 2011, 03:01
  4. inflate for zlib v1.2.3
    By bartek in forum Data Compression
    Replies: 1
    Last Post: 15th December 2009, 13:18
  5. QuickLZ-zlib wrapper
    By Lasse Reinhold in forum Data Compression
    Replies: 1
    Last Post: 19th March 2009, 11:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •