[Varnish] #1001: Varnish 3.0.1 crashes in http_GetHdr

Varnish varnish-bugs at varnish-cache.org
Wed Aug 31 16:07:22 CEST 2011


#1001: Varnish 3.0.1 crashes in http_GetHdr
----------------------+-----------------------------------------------------
 Reporter:  anders    |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  high      |   Milestone:       
Component:  varnishd  |     Version:  3.0.1
 Severity:  critical  |    Keywords:       
----------------------+-----------------------------------------------------

Comment(by anders):

 Attaching gdb to the child process I get:

 {{{
 [New Thread 80120ac80 (LWP 100086)]
 [New Thread 80120ae40 (LWP 100085)]
 [New Thread 80130d1c0 (LWP 100084)]
 [New Thread 8012041c0 (LWP 100948)]
 Loaded symbols for /lib/libthr.so.3
 Reading symbols from /lib/libc.so.7...done.
 Loaded symbols for /lib/libc.so.7
 Error while reading shared library symbols:
 ./vcl.38pJGBBN.so: No such file or directory.
 Reading symbols from
 /usr/local/lib/varnish/vmods/libvmod_header.so...done.
 Loaded symbols for /usr/local/lib/varnish/vmods/libvmod_header.so
 Reading symbols from /libexec/ld-elf.so.1...done.
 Loaded symbols for /libexec/ld-elf.so.1
 [Switching to Thread 806669d40 (LWP 101919)]
 0x0000000800e6b2bc in __error () from /lib/libthr.so.3
 (gdb) cont
 Continuing.
 [Thread 806669d40 (LWP 101919) exited]
 [New Thread 806669d40 (LWP 101919)]
 [New Thread 806669b80 (LWP 101919)]
 [New Thread 8066699c0 (LWP 101922)]
 [New Thread 806669800 (LWP 101929)]
 [New Thread 806669640 (LWP 101931)]
 [New Thread 806669480 (LWP 101933)]
 [New Thread 8066692c0 (LWP 101935)]
 [New Thread 806669100 (LWP 101937)]
 [New Thread 806668f40 (LWP 101938)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 806612d40 (LWP 100480)]
 0x00000008008c9e7f in getframeaddr (level=Variable "level" is not
 available.
 ) at execinfo.c:273
 273         case 2: return __builtin_frame_address(3);
 (gdb) bt
 #0  0x00000008008c9e7f in getframeaddr (level=Variable "level" is not
 available.
 ) at execinfo.c:273
 #1  0x00000008008c9ebc in backtrace (buffer=Variable "buffer" is not
 available.
 ) at execinfo.c:53
 #2  0x000000000042d849 in pan_ic (func=0x455df0 "http_GetHdr",
     file=0x4557f0 "cache_http.c", line=266,
     cond=0x455900 "l == strlen(hdr + 1)", err=Variable "err" is not
 available.
 ) at cache_panic.c:283
 #3  0x0000000000429afc in http_GetHdr (hp=0x80a6373e8,
     hdr=0x80a34deca ".91.37.197", ptr=0x7ffffb7c94c8) at cache_http.c:266
 #4  0x000000000043339f in VRY_Match (sp=0x80a637008,
     vary=0x80a34dec8 "80.91.37.197") at cache_vary.c:192
 #5  0x000000000042630b in HSH_Lookup (sp=0x80a637008, poh=0x7ffffb7c9580)
     at cache_hash.c:358
 #6  0x0000000000414592 in cnt_lookup (sp=0x80a637008) at
 cache_center.c:1088
 #7  0x0000000000417aaf in CNT_Session (sp=0x80a637008) at steps.h:38
 #8  0x0000000000430221 in wrk_do_cnt_sess (w=0x7ffffb7dcc80, priv=Variable
 "priv" is not available.
 )
     at cache_pool.c:301
 #9  0x000000000042f3ba in wrk_thread_real (qp=0x8012134c0,
 shm_workspace=Variable "shm_workspace" is not available.
 )
     at cache_pool.c:184
 #10 0x0000000800e61511 in pthread_getprio () from /lib/libthr.so.3
 #11 0x0000000000000000 in ?? ()
 Error accessing memory address 0x7ffffb7dd000: Bad address.
 }}}

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/1001#comment:6>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list