[Varnish] #164: Varnishd core dumps because of segmentation violation

Varnish varnish-bugs at projects.linpro.no
Fri Oct 19 18:28:05 CEST 2007


#164: Varnishd core dumps because of segmentation violation
--------------------------------+-------------------------------------------
 Reporter:  anders              |        Owner:  des        
     Type:  defect              |       Status:  reopened   
 Priority:  high                |    Milestone:  Varnish 1.2
Component:  varnishd            |      Version:  trunk      
 Severity:  major               |   Resolution:             
 Keywords:  varnishd core dump  |  
--------------------------------+-------------------------------------------
Changes (by anders):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Tried with r2151 on top of what I have, then got a new assert:

 {{{
 Child said (2, 19251): <<Assert error in http_dissect_hdrs(), cache_http.c
 line 365:
   Condition(p <= t.e) not true.
   errno = 54 (Connection reset by peer)
 >>
 Cache child died pid=19251 status=0x86
 }}}

 Backtrace:

 {{{
 (gdb) bt
 #0  0x0000000800c0b48c in thr_kill () from /lib/libc.so.7
 #1  0x0000000800c9563b in abort () from /lib/libc.so.7
 #2  0x000000080066dc7f in lbv_assert (func=Could not find the frame base
 for "lbv_assert".
 ) at assert.c:58
 #3  0x0000000000414734 in http_dissect_hdrs (w=0x7fffe0d07ae0,
     hp=0x2d8297d038, fd=1976, p=0x2d8297d2b6 "Server: Apache", t=
       {b = 0x2d8297d280 "X-Varnish:", e = 0x2d8297d280 "X-Varnish:"})
     at cache_http.c:365
 #4  0x0000000000414d34 in http_splitline (w=0x7fffe0d07ae0, fd=1976,
     hp=0x2d8297d038, htc=0x7fffe0d05990, h1=2, h2=3, h3=4) at
 cache_http.c:462
 #5  0x0000000000414fee in http_DissectResponse (w=0x7fffe0d07ae0,
     htc=0x7fffe0d05990, hp=0x2d8297d038) at cache_http.c:501
 #6  0x0000000000412237 in Fetch (sp=0x2d84742008) at cache_fetch.c:305
 #7  0x000000000040ed02 in cnt_fetch (sp=0x2d84742008) at
 cache_center.c:301
 #8  0x000000000041006c in CNT_Session (sp=0x2d84742008) at steps.h:40
 #9  0x0000000000417d7d in wrk_do_one (w=0x7fffe0d07ae0) at
 cache_pool.c:193
 #10 0x0000000000418227 in wrk_thread (priv=0x800e111e0) at
 cache_pool.c:245
 #11 0x00000008009929a8 in pthread_getprio () from /lib/libthr.so.3
 #12 0x0000000000000000 in ?? ()
 Cannot access memory at address 0x7fffe0d08000
 }}}

 So this bug seems not fully fixed yet.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/164#comment:12>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list