[Varnish] #132: Varnish 1.1 dies with assert error in SES_Delete

Varnish varnish-bugs at projects.linpro.no
Sat Sep 15 17:52:08 CEST 2007

#132: Varnish 1.1 dies with assert error in SES_Delete
 Reporter:  anders                |        Owner:  phk          
     Type:  defect                |       Status:  reopened     
 Priority:  high                  |    Milestone:  Varnish 1.1.2
Component:  varnishd              |      Version:  1.1          
 Severity:  major                 |   Resolution:               
 Keywords:  core dump SES_Delete  |  
Changes (by anders):

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


 After applying this patch to Varnish 1.1.1 (+commit 1913, the fix for
 ticket #150), I got a new sig10 crash pointing at the file with this fix:

 Sep 12 13:51:14 cache10 kernel: pid 73320 (varnishd), uid 0: exited on
 signal 10 (core dumped)

 Backtrace of the core dump shows:

 # gdb -c varnishd.core -s /usr/local/sbin/varnishd
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 welcome to change it and/or distribute copies of it under certain
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 This GDB was configured as "amd64-marcel-freebsd"...
 Core was generated by `varnishd'.
 Program terminated with signal 10, Bus error.
 #0  0x00000000004089f0 in vbe_sock_conn (ai=0xd0d0d0d0d0d0d0d0) at
 158             s = socket(ai->ai_family, ai->ai_socktype,
 (gdb) bt
 #0  0x00000000004089f0 in vbe_sock_conn (ai=0xd0d0d0d0d0d0d0d0)
     at cache_backend.c:158
 #1  0x0000000000408a9c in vbe_conn_try (bp=0xaf4d00, pai=0x7ffff9bcc848)
     at cache_backend.c:176
 #2  0x0000000000408c74 in vbe_connect (sp=0x2a81008, bp=0xaf4d00)
     at cache_backend.c:224
 #3  0x0000000000409093 in vbe_nextfd (sp=0x2a81008) at
 #4  0x00000000004092d2 in VBE_GetFd (sp=0x2a81008) at
 #5  0x000000000040ca50 in Fetch (sp=0x2a81008) at cache_fetch.c:278
 #6  0x000000000040a094 in cnt_fetch (sp=0x2a81008) at cache_center.c:300
 #7  0x000000000040b0fd in CNT_Session (sp=0x2a81008) at steps.h:40
 #8  0x0000000000412aa8 in wrk_do_one (w=0x7ffff9bccad0) at
 #9  0x0000000000412fa3 in wrk_thread (priv=0x856300) at cache_pool.c:248
 #10 0x000000080098755b in ?? ()
 #11 0x0000000000000000 in ?? ()
 #12 0x00007ffffe5f3fd8 in ?? ()
 #13 0x0000000004756a00 in ?? ()
 #14 0x0000000000000000 in ?? ()
 #15 0x000000000053be00 in ?? ()
 #16 0x00007ffff99cf000 in ?? ()
 Cannot access memory at address 0x7ffff9bcf000

 This is on FreeBSD/amd64 6.2-RELEASE.

 Or is the fix only applicable to trunk?

Ticket URL: <http://varnish.projects.linpro.no/ticket/132#comment:13>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list