Nginx 0.8.34 segmentation fault

Hi all,

I tried to put the following directive into http {}

proxy_cache_path  /usr/local/nginx/proxy_temp levels=1:2

keys_zone=wlcstaticfiles:10m inactive=7d max_size=200m;
proxy_temp_path /usr/local/nginx/proxy_temp; # must be on the
same filesystem as cache

When I tried to test the configuration to see if there were something
wrong, it crashed

[[email protected] ~]# /usr/local/nginx/sbin/nginx -t
Segmentation fault

If I removed the above mentioned directives,
“/usr/local/nginx/sbin/nginx -t” said it was OK.

Am I doing anything wrong?

Regards,

Hoang

Hoang Hoang wrote:

Hi all,

I tried to put the following directive into http {}

proxy_cache_path  /usr/local/nginx/proxy_temp levels=1:2

Hi Igor

Here is the backtrace I get from gdb

(gdb) run
Starting program: /usr/local/nginx/sbin/nginx -t
[Thread debugging using libthread_db enabled]
[New Thread 182896549120 (LWP 31420)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182896549120 (LWP 31420)]
ngx_vslprintf (buf=0x7fbfffec64 “”, last=0x7fbffff030 “ÕK7”,
fmt=0x46b77c “s:%ui has the different levels than”, args=0x7fbfffec10)
at src/core/ngx_string.c:256
256 *buf++ = *p++;

Regards,

Hoang

Hello!

On Wed, Mar 10, 2010 at 09:45:25AM +0100, Hoang Hoang wrote:

256 *buf++ = *p++;
Patch attached.

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs