[Varnish] #169: Varnishd crashes with assert error in bes_ClosedFd
Varnish
varnish-bugs at projects.linpro.no
Mon Oct 29 13:29:14 CET 2007
#169: Varnishd crashes with assert error in bes_ClosedFd
----------------------+-----------------------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by anders):
Running trunk/2186 with polling instead of kqueue, I got this error also:
{{{
Child said (2, 58116): <<Assert error in bes_ClosedFd(),
cache_backend_simple.c line 282:
Condition((close(vc->fd)) == 0) not true.
errno = 54 (Connection reset by peer)
>>
Cache child died pid=58116 status=0x86
}}}
{{{
(gdb) bt
#0 0x0000000800d1248c in thr_kill () from /lib/libc.so.7
#1 0x0000000800d9c63b in abort () from /lib/libc.so.7
#2 0x000000080066fc7f in lbv_assert (func=Could not find the frame base
for "lbv_assert".
) at assert.c:58
#3 0x000000000040d8cf in bes_ClosedFd (w=0x7fff8ae59ae0, vc=0x2103414050)
at cache_backend_simple.c:282
#4 0x0000000000409934 in VBE_ClosedFd (w=0x7fff8ae59ae0, vc=0x2103414050)
at cache_backend.c:292
#5 0x0000000000412a49 in Fetch (sp=0x210479e008) at cache_fetch.c:421
#6 0x000000000040ee12 in cnt_fetch (sp=0x210479e008) at
cache_center.c:310
#7 0x00000000004102fd in CNT_Session (sp=0x210479e008) at steps.h:41
#8 0x00000000004181fd in wrk_do_one (w=0x7fff8ae59ae0) at
cache_pool.c:193
#9 0x00000000004186f6 in wrk_thread (priv=0x800f11200) at
cache_pool.c:246
#10 0x0000000800a999a8 in pthread_getprio () from /lib/libthr.so.3
#11 0x0000000000000000 in ?? ()
Cannot access memory at address 0x7fff8ae5a000
(gdb) frame 3
#3 0x000000000040d8cf in bes_ClosedFd (w=0x7fff8ae59ae0, vc=0x2103414050)
at cache_backend_simple.c:282
282 AZ(close(vc->fd));
(gdb) print vc->fd
$1 = 279
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/169#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list