- edited description
-
assigned issue to
Crash on StringBuffer_toCompressed
Issue #515
resolved
When I open url on browser with api /_monit, and i found monitd was crashed.
and this is the log of monit:
[CST Dec 8 11:50:27] info : Awakened by User defined signal 1
[CST Dec 8 11:50:27] error : 'home' inode usage 1486635 matches resource limit [inode usage>30000]
[CST Dec 8 11:50:45] critical : AssertException: compression failed: raised in StringBuffer_toCompressed at src/util/StringBuffer.c:299
Comments (3)
-
repo owner -
reporter i changed
unsigned long need = deflateBound(&zstream, S->used);
to
unsigned long need = deflateBound(&zstream, S->length);
it's works fine.
-
repo owner - changed status to resolved
Fixed: Issue
#515: The compression may fail of response body is empty and zlib version <= 1.2.3.→ <<cset 397b87d034d4>>
- Log in to comment