[Varnish] #164: Varnishd core dumps because of segmentation violation
Varnish
varnish-bugs at projects.linpro.no
Tue Oct 9 20:32:54 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):
Got this same error on another server, which has less cores (two physical
with HT - four logical) and a different Intel CPU. Now using trunk/2096
with poll instead of kqueue.
Backtrace:
{{{
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x484ce00 (LWP 100375)]
0x0000000800c5c46e in strtoul () from /lib/libc.so.6
(gdb) bt
#0 0x0000000800c5c46e in strtoul () from /lib/libc.so.6
#1 0x0000000000414938 in http_DissectResponse (w=0x7fffe4925ae0,
htc=0x7fffe4923980, hp=0x550d038) at cache_http.c:509
#2 0x0000000000411d62 in Fetch (sp=0x45fd008) at cache_fetch.c:305
#3 0x000000000040e978 in cnt_fetch (sp=0x45fd008) at cache_center.c:301
#4 0x000000000040fc3e in CNT_Session (sp=0x45fd008) at steps.h:40
#5 0x0000000000417588 in wrk_do_one (w=0x7fffe4925ae0) at
cache_pool.c:193
#6 0x0000000000417a48 in wrk_thread (priv=0x85b300) at cache_pool.c:245
#7 0x000000080098f55b in pthread_create () from /usr/lib/libthr.so.2
#8 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffe4926000: Bad address.
(gdb) frame 1
#1 0x0000000000414938 in http_DissectResponse (w=0x7fffe4925ae0,
htc=0x7fffe4923980, hp=0x550d038) at cache_http.c:509
509 hp->status =
(gdb) print *hp
$1 = {magic = 1680389577, ws = 0x550d018, conds = 0 '\0', logtag =
HTTP_Rx,
status = 200, hd = {{b = 0x4306c8 "GET", e = 0x4306cb ""}, {
b = 0x45fd53c "/mmo/3/113/481/53_1282926909_thumb.jpg",
e = 0x45fd562 ""}, {b = 0x550d280 "HTTP/1.1", e = 0x430522 ""}, {
b = 0x0, e = 0x0}, {b = 0x0, e = 0x0}, {b = 0x45fd56d "Accept: */*",
e = 0x45fd578 ""}, {
b = 0x45fd57a "Referer:
http://finn.no/finn/car/used/result?CAR_MODEL/MAKE=771&CAR_MODEL/MODEL=1087",
e = 0x45fd5ce ""}, {
b = 0x45fd5d0 "Accept-Language: no", e = 0x45fd5e3 ""}, {
b = 0x45fd5e5 "UA-CPU: x86", e = 0x45fd5f0 ""}, {
b = 0x45fd5f2 "Accept-Encoding: gzip, deflate", e = 0x45fd610 ""}, {
b = 0x45fd612 "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0;
Windows NT 5.1; .NET CLR 1.1.4322; IEMB3; IEMB3)", e = 0x45fd671 ""}, {
b = 0x45fd673 "Host: cache.finn.no", e = 0x45fd686 ""}, {
b = 0x45fd6a0 "Cookie: IAD_CAMPAIGN=_blank; IADVISITOR=336365720;
RMID=5100b11d46f205f0;
WT_FPC=id=2cfbd1b87fbfe49fdb51190263065921:lv=1191950818906:ss=1191950805078;
finn_ld=aeb69f3baeb69f3a; JSESSIONID=tafkZdpJboq"...,
e = 0x45fd77c ""}, {b = 0x550dacb "X-Varnish: 484821996",
e = 0x550dadf ""}, {b = 0x550dae0 "X-Forwarded-for: 81.0.177.29",
e = 0x550dafc ""}, {b = 0x0, e = 0x0} <repeats 17 times>},
hdf = '\0' <repeats 31 times>, nhd = 15}
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/164#comment:7>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list