Skip to content

Instantly share code, notes, and snippets.

@jbq
Created September 6, 2011 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbq/1196892 to your computer and use it in GitHub Desktop.
Save jbq/1196892 to your computer and use it in GitHub Desktop.
varnishncsa 3.0.1 rc1 header crash
Core was generated by `/usr/bin/varnishncsa -a -c -w /var/log/nomao/varnishncsa.log -D -P /var/run/var'.
Program terminated with signal 6, Aborted.
#0 0x00007f77280edd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007f77280edd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f77280f1ab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x0000000000403dc5 in VAS_Fail_default (func=0x40640f "collect_client", file=0x405b5a "varnishncsa.c", line=453, cond=0x405bc9 "(split) != 0", err=0, xxx=0) at ../../lib/libvarnish/assert.c:59
#3 0x000000000040272d in collect_client (lp=0xe48f90, tag=SLT_RxHeader, spec=1, ptr=0x7f7725deda74 <Address 0x7f7725deda74 out of bounds>, len=14) at varnishncsa.c:453
#4 0x0000000000402e03 in h_ncsa (priv=0xe25bf0, tag=SLT_RxHeader, fd=527, len=14, spec=1, ptr=0x7f7725deda74 <Address 0x7f7725deda74 out of bounds>, bitmap=0) at varnishncsa.c:558
#5 0x00007f7728676f18 in VSL_Dispatch (vd=0xe24010, func=0x402b82 <h_ncsa>, priv=0xe25bf0) at vsl.c:318
#6 0x0000000000403baf in main (argc=10, argv=0x7fffd9f234e8) at varnishncsa.c:874
(gdb) up
#1 0x00007f77280f1ab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) up
#2 0x0000000000403dc5 in VAS_Fail_default (func=0x40640f "collect_client", file=0x405b5a "varnishncsa.c", line=453, cond=0x405bc9 "(split) != 0", err=0, xxx=0) at ../../lib/libvarnish/assert.c:59
59 ../../lib/libvarnish/assert.c: No such file or directory.
in ../../lib/libvarnish/assert.c
(gdb) up
#3 0x000000000040272d in collect_client (lp=0xe48f90, tag=SLT_RxHeader, spec=1, ptr=0x7f7725deda74 <Address 0x7f7725deda74 out of bounds>, len=14) at varnishncsa.c:453
453 varnishncsa.c: No such file or directory.
in varnishncsa.c
(gdb) print *lp
$1 = {df_H = 0xe35020 "HTTP/1.1", df_U = 0xe4cf50 "/img/icon//arrow_bestof.png", df_q = 0xe4f750 "?f63d2fd", df_b = 0x0, df_h = 0xe5e4c0 "78.147.58.249", df_m = 0xe3e660 "GET", df_s = 0x0, df_t = {tm_sec = 0, tm_min = 0, tm_hour = 0, tm_mday = 0, tm_mon = 0, tm_year = 0,
tm_wday = 0, tm_yday = 0, tm_isdst = 0, tm_gmtoff = 0, tm_zone = 0x0}, df_u = 0x0, df_ttfb = 0x0, df_hitmiss = 0x0, df_handling = 0x0, active = 1, complete = 0, bitmap = 0, req_headers = {vtqh_first = 0xe50d90, vtqh_last = 0xe33320}, resp_headers = {vtqh_first = 0x0,
vtqh_last = 0x0}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment