Attempting to write a plugin

nginx.devlist.alias at fremnet.net nginx.devlist.alias at fremnet.net
Sat Mar 17 00:54:00 UTC 2012


Thanks Alexandr

I'm afraid all that did was showed me that the crash was happening in 
the gzip filter - but it wasn't crashing before I added my module so I'm 
still lost...

+000.000002s ngx_http_secure_link_ssi 
src/http/modules/ngx_http_secure_link_ssi_module.c:54
+000.000003s ngx_http_ssi_body_filter 
src/http/modules/ngx_http_ssi_filter_module.c:371
+000.000002s ngx_http_ssi_body_filter 
src/http/modules/ngx_http_ssi_filter_module.c:371
+000.000002s ngx_http_ssi_output 
src/http/modules/ngx_http_ssi_filter_module.c:897
+000.000002s    ngx_http_postpone_filter 
src/http/ngx_http_postpone_filter_module.c:53
+000.000002s       ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000017s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000001s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000001s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000001s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000002s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000001s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000001s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315
+000.000001s          ngx_http_gzip_body_filter 
src/http/modules/ngx_http_gzip_filter_module.c:315


On 17/03/2012 10:18 AM, Alexandr Gomoliako wrote:
> On Sat, Mar 17, 2012 at 2:11 AM,<nginx.devlist.alias at fremnet.net>  wrote:
>> Thanks for the reply Mike
>>
>> I've been using strace to watch the progress of execution but that didn't
>> help, I'm not sure how much gdb will help me (it's one of those tools that
>> needs a manual of it's own).
> Try this one instead:
>      https://github.com/zzzcpan/ngx_trace
>
>> I was kinda hoping someone who knew more about the specifics of nginx dev
>> would take one glance and call me an idiot for not knowing X or Y specific
>> thing and pointing the error out to me :D
>>
>> I'll have a poke at it with GDB but I don't hold my breath :D
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel



More information about the nginx-devel mailing list