Error when calling deflate() or end() #2

Open
ghost opened this Issue Feb 5, 2010 · 2 comments

Comments

Projects
None yet
1 participant

ghost commented Feb 5, 2010

Hi
I am getting the following error when I try to call deflate() or end() from a different callback that created the the gzip object;

"node: ../compress.cc:72: int Gzip::GzipDeflate(char_, int, char__, int_): Assertion `ret != (-2)' failed.
Aborted"

I have no idea what this means.

@kunaluh

This comment has been minimized.

Show comment Hide comment
@kunaluh

kunaluh Apr 24, 2010

I get the same problem. I actually made the gzip a global variable and I can only compress stuff once, (eg. I can compress 'something' but when I try to do it again with different data I get that error. ;x)

P.S: My terminology probably sucks, but yeh. I think you can figure what I meant

kunaluh commented Apr 24, 2010

I get the same problem. I actually made the gzip a global variable and I can only compress stuff once, (eg. I can compress 'something' but when I try to do it again with different data I get that error. ;x)

P.S: My terminology probably sucks, but yeh. I think you can figure what I meant

@kunaluh

This comment has been minimized.

Show comment Hide comment
@kunaluh

kunaluh Apr 27, 2010

nevermind, I figured it. it seems like *.end(); un-initializes it or something, so you have to do initialize it every time before you deflate/inflate some data. The error report kinda fails though. x_x

Hope this helps.

kunaluh commented Apr 27, 2010

nevermind, I figured it. it seems like *.end(); un-initializes it or something, so you have to do initialize it every time before you deflate/inflate some data. The error report kinda fails though. x_x

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment