Hi, there,

Recently, we're experiencing the coredump issue of varnishlog, below is the 
debug information I've got.

Does anyone meet with the same problem? any thoughts? Thanks.

Core was generated by `/usr/bin/varnishlog'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000003993c09307 in VSL_Open (vd=0x22b7010, diag=1) at vsl.c:396
(gdb) bt
#0  0x0000003993c09307 in VSL_Open (vd=0x22b7010, diag=1) at vsl.c:396
#1  0x0000000000401b0d in main ()
(gdb) p *vd
$1 = {magic = 1849415323, diag = 0x3e7544e9c0 <fprintf>, priv = 0x3e7578c860, 
n_opt = 0x22b7b80 "", fname = 0x22b7ba0 "/var/lib/varnish/ip-10-38-2-4/_.vsm", 
fstat = {
    st_dev = 64769, st_ino = 524219, st_nlink = 1, st_mode = 33188, st_uid = 0, 
st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 84934656, st_blksize = 4096, 
st_blocks = 165888, 
    st_atim = {tv_sec = 1368723984, tv_nsec = 800301232}, st_mtim = {tv_sec = 
1368724011, tv_nsec = 864301673}, st_ctim = {tv_sec = 1368724011, tv_nsec = 
864301673}, 
    __unused = {0, 0, 0}}, vsm_fd = 3, VSM_head = 0x7f7feee8a000, vsm_end = 
0x7f7ff3f8a000, alloc_seq = 570313140, vsc = 0x0, vsl = 0x22b7100}
(gdb) p *vd
$2 = {magic = 1849415323, diag = 0x3e7544e9c0 <fprintf>, priv = 0x3e7578c860, 
n_opt = 0x22b7b80 "", fname = 0x22b7ba0 "/var/lib/varnish/ip-10-38-2-4/_.vsm", 
fstat = {
    st_dev = 64769, st_ino = 524219, st_nlink = 1, st_mode = 33188, st_uid = 0, 
st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 84934656, st_blksize = 4096, 
st_blocks = 165888, 
    st_atim = {tv_sec = 1368723984, tv_nsec = 800301232}, st_mtim = {tv_sec = 
1368724011, tv_nsec = 864301673}, st_ctim = {tv_sec = 1368724011, tv_nsec = 
864301673}, 
    __unused = {0, 0, 0}}, vsm_fd = 3, VSM_head = 0x7f7feee8a000, vsm_end = 
0x7f7ff3f8a000, alloc_seq = 570313140, vsc = 0x0, vsl = 0x22b7100}
(gdb) p *vd->vsl
$3 = {magic = 2050087736, log_start = 0x7f7feee9a5e4, log_end = 0x7f7ff3e9a5e4, 
log_ptr = 0x7f7feee9a5e8, last_seq = 35066, r_fd = -1, rbuflen = 256, rbuf = 
0x22b7770, 
  b_opt = 0, c_opt = 0, d_opt = 0, flags = 0, vbm_client = 0x22b71b0, 
vbm_backend = 0x22b73e0, vbm_select = 0x22b76c0, vbm_supress = 0x22b7610, 
regflags = 0, regincl = 0x0, 
  regexcl = 0x0, num_matchers = 0, matchers = {vtqh_first = 0x0, vtqh_last = 
0x22b7188}, skip = 0, keep = 0}


----------------------------------
Best wishes,
Jammy






_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to