[Varnish] #285: Child gets SIGSEGV when starting with default config
Varnish
varnish-bugs at projects.linpro.no
Thu Jul 31 00:55:46 CEST 2008
#285: Child gets SIGSEGV when starting with default config
----------------------+-----------------------------------------------------
Reporter: Tim | Owner: phk
Type: defect | Status: new
Priority: high | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Built from r3032, running on Gentoo Linux with a simple config: ./varnishd
-F -b www.example.com -a :9999
If additional details are required, please let me know.
Some gdb details I managed to get from child:
{{{
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 15257]
0x0806c19a in VCL_Load (fn=0x80b2130 "./vcl.FANefPfn.o", name=0x80b2678
"boot", cli=0xbf8aefe8) at cache_vcl.c:166
166 vcl->conf->priv = vcl;
(gdb) backPushing vcls failed: CLI communication error
Child (15257) said Closed fds: 3 4 5 6 8 11 12 14 15
Child (15257) said Child starts
Child (15257) said managed to mmap 2147479552 bytes of 2147479552
Child (15257) said Ready
unlink ./vcl.FANefPfn.o
#0 0x0806c19a in VCL_Load (fn=0x80b2130 "./vcl.FANefPfn.o",
name=0x80b2678 "boot", cli=0xbf8aefe8) at cache_vcl.c:166
#1 0x0806c8cc in ccf_config_load (cli=0xbf8aefe8, av=0x80b20e8, priv=0x0)
at cache_vcl.c:247
#2 0xb7f8b6dd in cli_dispatch (cli=0xbf8aefe8, clp=0x80b26f8,
line=0x80aaf80 "vcl.load boot ./vcl.FANefPfn.o") at cli.c:133
#3 0x0805940b in cli_vlu (priv=0xbf8aefe8, p=0x80aaf80 "vcl.load boot
./vcl.FANefPfn.o") at cache_cli.c:109
#4 0xb7f8e67a in LineUpProcess (l=0x80b28e8) at vlu.c:92
#5 0x080597b8 in CLI_Run () at cache_cli.c:162
#6 0x08064f16 in child_main () at cache_main.c:129
#7 0x08078161 in start_child () at mgt_child.c:301
#8 0x08078f08 in mgt_run (dflag=0, T_arg=0x0) at mgt_child.c:535
#9 0x08086f80 in main (argc=0, argv=0xbf8af69c) at varnishd.c:612
(gdb) info locals
vcl = (struct vcls *) 0x80b2908
__func__ = "VCL_Load"
(gdb) print vcl
$1 = (struct vcls *) 0x80b2908
(gdb) print vcl->conf
$2 = (struct VCL_conf *) 0x30cecea0
(gdb) print vcl->conf->priv
$3 = (void *) 0x0
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/285>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list