[Varnish] #487: Varnish crashes on Panic message: Missing errorhandling code in WS_Reserve(), cache_ws.c line 159
Varnish
varnish-bugs at projects.linpro.no
Mon Apr 20 14:38:57 CEST 2009
#487: Varnish crashes on Panic message: Missing errorhandling code in
WS_Reserve(), cache_ws.c line 159
----------------------+-----------------------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: high | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by anders):
I get this backtrace when hooking gdb to the child process:
{{{
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x806207c00 (LWP 100696)]
0x0000000800d298bc in thr_kill () from /lib/libc.so.7
(gdb) bt
#0 0x0000000800d298bc in thr_kill () from /lib/libc.so.7
#1 0x0000000800db8a0b in abort () from /lib/libc.so.7
#2 0x000000000041ff92 in pan_ic (func=Variable "func" is not available.
) at cache_panic.c:317
#3 0x000000000042a45e in WS_Reserve (ws=0x7ffffa1d1788, bytes=16384)
at cache_ws.c:159
#4 0x000000000041e55e in HTC_Init (htc=0x7ffffa1d1758, ws=0x7ffffa1d1788,
fd=Variable "fd" is not available.
)
at cache_httpconn.c:92
#5 0x0000000000418582 in FetchHdr (sp=0x806980008) at cache_fetch.c:369
#6 0x0000000000410f9f in cnt_fetch (sp=0x806980008) at cache_center.c:403
#7 0x0000000000412617 in CNT_Session (sp=0x806980008) at steps.h:41
#8 0x0000000000421c21 in wrk_do_cnt_sess (w=0x7ffffa1d12c0, priv=Variable
"priv" is not available.
)
at cache_pool.c:456
#9 0x0000000000420f17 in wrk_thread_real (qp=0x800f277e0,
shm_workspace=Variable "shm_workspace" is not available.
)
at cache_pool.c:351
#10 0x0000000800ab0a27 in pthread_getprio () from /lib/libthr.so.3
#11 0x0000000000000000 in ?? ()
Error accessing memory address 0x7ffffa1d2000: Bad address.
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/487#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list