[Varnish] #1802: Segfault after VCL change

Varnish varnish-bugs at varnish-cache.org
Sat Oct 17 17:27:20 CEST 2015


#1802: Segfault after VCL change
----------------------+-------------------
 Reporter:  lkarsten  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  4.1.0
 Severity:  normal    |   Keywords:
----------------------+-------------------
 Varnish 4.1.0 got into a non-working state this afternoon.
 After a VCL change the child segfaulted, but the master process was not
 able to restart successfully. Site down.

 {{{
 root at blade:~# ps -efww | grep varnish
 varnish    914     1  0 Oct15 ?        00:00:02 /usr/sbin/varnishd -a :80
 -a :8000,PROXY -a :6081 -T localhost:6082 -f /etc/varnish/default.vcl -S
 /etc/varnish/secret -s malloc,256m
 root      2952 32506  0 17:24 pts/2    00:00:00 grep varnish
 }}}

 Debian stretch running 4.2.0 kernel. No other crashes/panics have been
 logged.

 {{{
 Oct 17 17:04:09 blade varnishd[914]: CLI telnet ::1 50786 ::1 6082 Rd auth
 xx
 Oct 17 17:04:09 blade varnishd[914]: CLI telnet ::1 50786 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI 1.0#012----------
 -------------------#012Linux,4.2.0-1-amd64,x86_64,-junix,-smalloc,-smalloc,-hcritbit#012varnish-4.1.0
 revision 3041728#012#012Type 'help' for
 command list.#012Type 'quit' to close CLI session.
 Oct 17 17:04:09 blade varnishd[914]: CLI telnet ::1 50786 ::1 6082 Rd ping
 Oct 17 17:04:09 blade varnishd[914]: CLI telnet ::1 50786 ::1 6082 Wr 200
 PONG 1445094249 1.0
 Oct 17 17:04:09 blade varnishd[914]: CLI telnet ::1 50786 ::1 6082 Rd
 vcl.load 9824a4ab-fb7f-4f31-9655-0df1fe76459d /etc/varnish/default.vcl
 Oct 17 17:04:10 blade varnishd[914]: CLI telnet ::1 50786 ::1 6082 Wr 200
 VCL compiled.
 Oct 17 17:04:10 blade varnishd[914]: CLI telnet ::1 50788 ::1 6082 Rd auth
 xx
 Oct 17 17:04:10 blade varnishd[914]: CLI telnet ::1 50788 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI 1.0#012----------
 -------------------#012Linux,4.2.0-1-amd64,x86_64,-junix,-smalloc,-smalloc,-hcritbit#012varnish-4.1.0
 revision 3041728#012#012Type 'help' for
 command list.#012Type 'quit' to close CLI session.
 Oct 17 17:04:10 blade varnishd[914]: CLI telnet ::1 50788 ::1 6082 Rd ping
 Oct 17 17:04:10 blade varnishd[914]: CLI telnet ::1 50788 ::1 6082 Wr 200
 PONG 1445094250 1.0
 Oct 17 17:04:10 blade varnishd[914]: CLI telnet ::1 50788 ::1 6082 Rd
 vcl.use 9824a4ab-fb7f-4f31-9655-0df1fe76459d
 Oct 17 17:04:10 blade varnishd[914]: CLI telnet ::1 50788 ::1 6082 Wr 200
 VCL '9824a4ab-fb7f-4f31-9655-0df1fe76459d' now active
 Oct 17 17:17:31 blade kernel: [170387.618538] varnishd[917]: segfault at
 4799ce6b ip 00007f07e2df5cb9 sp 00007ffca79c2130 error 4 in
 libgcc_s.so.1[7f07e2de7000+16000]
 Oct 17 17:17:32 blade varnishd[914]: Child (917) died signal=11
 Oct 17 17:17:32 blade varnishd[914]: child (1814) Started
 Oct 17 17:17:33 blade varnishd[914]: Child (1814) ended
 Oct 17 17:17:33 blade varnishd[914]: Child (1814) said Child starts
 Oct 17 17:17:33 blade varnishd[914]: Child (1814) said Child dies
 Oct 17 17:17:34 blade varnishd[914]: CLI telnet ::1 50862 ::1 6082 Rd auth
 xx
 Oct 17 17:17:34 blade varnishd[914]: CLI telnet ::1 50862 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI
 1.0#012-----------------------------#012Linux,4.2.0-1-amd64,x86_64,-junix,-smalloc,-smalloc,-hcritbit#012varnish-4.1.0
 revision 3041728#012#012Type 'help' for command list.#012Type 'quit' to
 close CLI session.#012Type 'start' to launch worker process.
 Oct 17 17:17:34 blade varnishd[914]: CLI telnet ::1 50862 ::1 6082 Rd ping
 Oct 17 17:17:34 blade varnishd[914]: CLI telnet ::1 50862 ::1 6082 Wr 200
 PONG 1445095054 1.0
 Oct 17 17:17:34 blade varnishd[914]: CLI telnet ::1 50862 ::1 6082 Rd ban
 req.url ~ /
 Oct 17 17:17:34 blade varnishd[914]: CLI telnet ::1 50862 ::1 6082 Wr 101
 Unknown request in manager process (child not running).#012Type 'help' for
 more info.
 Oct 17 17:17:45 blade varnishd[914]: CLI telnet ::1 50864 ::1 6082 Rd auth
 xx
 Oct 17 17:17:45 blade varnishd[914]: CLI telnet ::1 50864 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI
 1.0#012-----------------------------#012Linux,4.2.0-1-amd64,x86_64,-junix,-smalloc,-smalloc,-hcritbit#012varnish-4.1.0
 revision 3041728#012#012Type 'help' for command list.#012Type 'quit' to
 close CLI session.#012Type 'start' to launch worker process.
 Oct 17 17:17:45 blade varnishd[914]: CLI telnet ::1 50864 ::1 6082 Rd ping
 Oct 17 17:17:45 blade varnishd[914]: CLI telnet ::1 50864 ::1 6082 Wr 200
 PONG 1445095065 1.0
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1802>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list