October 19, 2011 04:19AM
agentzh, thanks for the answer, seems the problem is really with zero size bufs. I changed code to insert spaces, if buffer is empty and everything start to work with gzip disabled (before that nothing worked with gzip off), and I think there will be no crashes in gzip now if enabled. Now I will create my own chains to pass to downstream filters.

I didn't try valgrind because usually it consumes a lot more cpu, and this is unacceptable on staging machine(there will be high cpu load, or I will need to decrease number of requests so I will wait for crash more time). But thanks for reminding about it.
Subject Author Posted

nginx with custom modules crashes in gzip crc32()

artemg October 17, 2011 12:27AM

Re: nginx with custom modules crashes in gzip crc32()

Igor Sysoev October 17, 2011 04:28AM

Re: nginx with custom modules crashes in gzip crc32()

artemg October 18, 2011 08:20PM

Re: nginx with custom modules crashes in gzip crc32()

agentzh October 18, 2011 11:26PM

Re: nginx with custom modules crashes in gzip crc32()

artemg October 19, 2011 04:19AM

Re: nginx with custom modules crashes in gzip crc32()

artemg October 20, 2011 07:17AM

Re: nginx with custom modules crashes in gzip crc32()

agentzh October 20, 2011 07:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready