[Varnish] #164: Varnishd core dumps because of segmentation violation
Varnish
varnish-bugs at projects.linpro.no
Wed Oct 10 14:41:28 CEST 2007
#164: Varnishd core dumps because of segmentation violation
--------------------------------+-------------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: varnishd core dump |
--------------------------------+-------------------------------------------
Comment (by anders):
Now trying trunk/2096 with kqueue debug patch, on 7.0-CURRENT as of
october 9. It happens again rather soon:
{{{
(gdb) bt
#0 0x0000000800c6a784 in strtoul () from /lib/libc.so.7
#1 0x0000000000414ffa in http_DissectResponse (w=0x7ffff0985ae0,
htc=0x7ffff0983990, hp=0x2d821f8038) at cache_http.c:509
#2 0x00000000004121c7 in Fetch (sp=0x2d83e8d008) at cache_fetch.c:305
#3 0x000000000040ec92 in cnt_fetch (sp=0x2d83e8d008) at
cache_center.c:301
#4 0x000000000040fffc in CNT_Session (sp=0x2d83e8d008) at steps.h:40
#5 0x0000000000417d0d in wrk_do_one (w=0x7ffff0985ae0) at
cache_pool.c:193
#6 0x00000000004181b7 in wrk_thread (priv=0x800e111c0) at
cache_pool.c:245
#7 0x0000000800992958 in pthread_getprio () from /lib/libthr.so.3
#8 0x00007ffff0786000 in ?? ()
Cannot access memory at address 0x7ffff0986000
(gdb) frame 1
#1 0x0000000000414ffa in http_DissectResponse (w=0x7ffff0985ae0,
htc=0x7ffff0983990, hp=0x2d821f8038) at cache_http.c:509
509 hp->status =
(gdb) print *hp
$1 = {magic = 1680389577, ws = 0x2d821f8018, conds = 0 '\0', logtag =
HTTP_Rx,
status = 200, hd = {{b = 0x431a28 "GET", e = 0x431a2b ""}, {
b = 0x2d83e8d53c "/mmo/1/110/915/61_-1259745306_tumb.jpg",
e = 0x2d83e8d562 ""}, {b = 0x2d821f8280 "HTTP/1.1", e = 0x431882
""}, {
b = 0x0, e = 0x0}, {b = 0x0, e = 0x0}, {b = 0x2d83e8d56d "Accept:
*/*",
e = 0x2d83e8d578 ""}, {
b = 0x2d83e8d57a "Referer:
http://finn.no/finn/bap/object?finnkode=11091561&sid=xz1abcnERcS077289&WT.svl=Link",
e = 0x2d83e8d5d5 ""}, {
b = 0x2d83e8d5d7 "Accept-Language: no", e = 0x2d83e8d5ea ""}, {
b = 0x2d83e8d5ec "Accept-Encoding: gzip, deflate", e = 0x2d83e8d60a
""},
{
b = 0x2d83e8d60c "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1)", e = 0x2d83e8d64a ""}, {b = 0x2d83e8d64c "Host:
cache.finn.no",
e = 0x2d83e8d65f ""}, {
b = 0x2d83e8d679 "Cookie: IAD_CAMPAIGN=_blank; IADVISITOR=344397518;
RMID=57f81d5147062cc0;
WT_FPC=id=275309c23e51b22e97e1191583458858:lv=1192011517453:ss=1192007507097;
RMFW=011IfHAm4603c8|4A03gK; RMFD=011IfYXaO4033b|"...,
e = 0x2d83e8d989 ""}, {b = 0x2d821f87e8 "X-Varnish: 702561589",
e = 0x2d821f87fc ""}, {b = 0x2d821f87fd "X-Forwarded-for:
87.248.29.81",
e = 0x2d821f881a ""}, {b = 0x0, e = 0x0} <repeats 18 times>},
hdf = '\0' <repeats 31 times>, nhd = 14}
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/164#comment:8>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list