[Varnish] #156: Varnish 1.1 branch dies with assert error in WS_ReleaseP
Varnish
varnish-bugs at projects.linpro.no
Mon Oct 8 15:37:48 CEST 2007
#156: Varnish 1.1 branch dies with assert error in WS_ReleaseP
-----------------------------------+----------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: high | Milestone:
Component: varnishd | Version: 1.1
Severity: major | Resolution:
Keywords: core dump WS_ReleaseP |
-----------------------------------+----------------------------------------
Comment (by anders):
Running Varnish/trunk 2090, this happened again:
{{{
Child said (2, 36889): <<Assert error in WS_ReleaseP(), cache_ws.c line
125:
Condition(ws->r != NULL) not true.
errno = 2 (No such file or directory)
}}}
Backtrace (child is attached to gdb):
{{{
(gdb) bt
#0 0x0000000800c3249c in _umtx_op () at _umtx_op.S:2
#1 0x00000008009a735d in __thr_umtx_lock (mtx=0xafaf80, id=101364)
at /usr/src/lib/libthr/thread/thr_umtx.c:36
#2 0x00000008009a18ec in _thr_umtx_lock (mtx=0xafaf80, id=101364)
at thr_umtx.h:62
#3 0x00000008009a249a in mutex_lock_common (curthread=0x3549400,
m=0x800e13a80, abstime=0x0) at
/usr/src/lib/libthr/thread/thr_mutex.c:527
#4 0x00000008009a2fc3 in _pthread_mutex_lock (m=0x800e13a80)
at /usr/src/lib/libthr/thread/thr_mutex.c:796
#5 0x0000000800ce737b in __Bfree_D2A (v=0x2a6b140) at gdtoa_misc.c:98
#6 0x0000000800ce2a1b in __dtoa (d=1191850327.892849, mode=3, ndigits=9,
decpt=0x7fff820106bc, sign=0x7fff820106d4, rve=0x7fff820106b0)
at gdtoa_dtoa.c:735
#7 0x0000000800cdb49d in __vfprintf (fp=0x7fff820107f0,
fmt0=0x42f281 "%u %.9f %.9f %.9f %.9f %.9f", ap=0x7fff82010900)
at /usr/src/lib/libc/stdio/vfprintf.c:903
#8 0x0000000800c36451 in vsnprintf (
str=0x7fff82010f9b "2026381664 1191850327.892454863\001«2026378149
1191850325.742480040 1191850326.912809134 0.063056231 1.169573545
0.000755548", n=255,
fmt=0x42f281 "%u %.9f %.9f %.9f %.9f %.9f", ap=0x7fff82010900)
at /usr/src/lib/libc/stdio/vsnprintf.c:75
#9 0x0000000000428c55 in WSL (w=0x7fff82012ae0, tag=SLT_ReqEnd, id=3823,
fmt=0x42f281 "%u %.9f %.9f %.9f %.9f %.9f") at shmlog.c:253
#10 0x000000000040e5fa in cnt_done (sp=0x1028008) at cache_center.c:205
#11 0x000000000040fc29 in CNT_Session (sp=0x1028008) at steps.h:43
#12 0x0000000000417538 in wrk_do_one (w=0x7fff82012ae0) at
cache_pool.c:193
#13 0x00000000004179f8 in wrk_thread (priv=0x85b320) at cache_pool.c:245
#14 0x000000080099cc71 in thread_start (curthread=0x3549400)
at /usr/src/lib/libthr/thread/thr_create.c:246
#15 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fff82013000: Bad address.
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/156#comment:3>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list