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

Varnish varnish-bugs at projects.linpro.no
Thu Oct 18 10:32:22 CEST 2007


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

  * priority:  normal => high
  * severity:  normal => major

Comment:

 Just to let you know this happens often for me, still, here is another
 backtrace from today (using trunk 2096 with poll instead of kqueue):

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x3b62800 (LWP 100202)]
 0x0000000800c5c46e in strtoul () from /lib/libc.so.6
 (gdb) bt
 #0  0x0000000800c5c46e in strtoul () from /lib/libc.so.6
 #1  0x0000000000414938 in http_DissectResponse (w=0x7ffffd7ecae0,
     htc=0x7ffffd7ea980, hp=0x6264038) at cache_http.c:509
 #2  0x0000000000411d62 in Fetch (sp=0x2fb6008) at cache_fetch.c:305
 #3  0x000000000040e978 in cnt_fetch (sp=0x2fb6008) at cache_center.c:301
 #4  0x000000000040fc3e in CNT_Session (sp=0x2fb6008) at steps.h:40
 #5  0x0000000000417588 in wrk_do_one (w=0x7ffffd7ecae0) at
 cache_pool.c:193
 #6  0x0000000000417a48 in wrk_thread (priv=0x85b300) at cache_pool.c:245
 #7  0x000000080098f55b in pthread_create () from /usr/lib/libthr.so.2
 #8  0x00007ffffd5ed000 in ?? ()
 Error accessing memory address 0x7ffffd7ed000: Bad address.
 (gdb) frame 1
 #1  0x0000000000414938 in http_DissectResponse (w=0x7ffffd7ecae0,
     htc=0x7ffffd7ea980, hp=0x6264038) at cache_http.c:509
 509                     hp->status =
 (gdb) print *hp
 $1 = {magic = 1680389577, ws = 0x6264018, conds = 0 '\0', logtag =
 HTTP_Rx,
   status = 200, hd = {{b = 0x4306c8 "GET", e = 0x4306cb ""}, {
       b = 0x2fb653c "/mmo/0/111/587/80_-430841943_thumb.jpg",
       e = 0x2fb6562 ""}, {b = 0x6264280 "HTTP/1.1", e = 0x430522 ""}, {
       b = 0x0, e = 0x0}, {b = 0x0, e = 0x0}, {b = 0x2fb656d "Via: 1.1
 ISA-01",
       e = 0x2fb657c ""}, {
       b = 0x2fb657e "Cookie: IAD_CAMPAIGN=_blank; IADVISITOR=351042594;
 RMID=947a33c247171810;
 WT_FPC=id=21f2045fa025b762a611192692091038:lv=1192692114601:ss=1192692091038;
 didReplyCar26=1", e = 0x2fb6625 ""}, {
       b = 0x2fb6627 "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0;
 Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705)", e = 0x2fb668b ""},
 {
       b = 0x2fb668d "Host: cache.finn.no", e = 0x2fb66a0 ""}, {
       b = 0x2fb66a2 "Accept: */*", e = 0x2fb66ad ""}, {
       b = 0x2fb66af "Referer: http://www.finn.no/finn/car/used/result",
       e = 0x2fb66df ""}, {b = 0x2fb66e1 "Accept-Language: no",
       e = 0x2fb66f4 ""}, {b = 0x6264a05 "X-Varnish: 64188579",
       e = 0x6264a18 ""}, {b = 0x6264a19 "X-Forwarded-for: 148.122.51.194",
       e = 0x6264a38 ""}, {b = 0x0, e = 0x0} <repeats 18 times>},
   hdf = '\0' <repeats 31 times>, nhd = 14}
 (gdb)
 }}}

 Any ideas?

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


More information about the varnish-bugs mailing list