[Varnish] #542: varnishlog dies with segfault
Varnish
varnish-bugs at projects.linpro.no
Mon Aug 17 19:14:39 CEST 2009
#542: varnishlog dies with segfault
------------------------+---------------------------------------------------
Reporter: wfelipe | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishlog | Version: 2.0
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by wfelipe):
I'm not used to trac formatting :/ just reposting
{{{
# gdb /opt/varnish/bin/varnishlog /opt/varnish/bin/core.7935
GNU gdb Red Hat Linux (6.5-25.el5rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /opt/varnish-2.0.4/lib/libvarnish.so.1...done.
Loaded symbols for /opt/varnish-2.0.4/lib/libvarnish.so.1
Reading symbols from /lib64/librt.so.1...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /opt/varnish-2.0.4/lib/libvarnishcompat.so.1...done.
Loaded symbols for /opt/varnish-2.0.4/lib/libvarnishcompat.so.1
Reading symbols from /opt/varnish-2.0.4/lib/libvarnishapi.so.1...done.
Loaded symbols for /opt/varnish-2.0.4/lib/libvarnishapi.so.1
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `./varnishlog'.
Program terminated with signal 11, Segmentation fault.
#0 VSL_OpenLog (vd=0x179eb010, varnish_name=<value optimized out>) at
shmlog.c:208
208 WSLR(struct worker *w, enum shmlogtag tag, int id, txt t)
(gdb) backtrace full
#0 VSL_OpenLog (vd=0x179eb010, varnish_name=<value optimized out>) at
shmlog.c:208
p = (unsigned char *) 0x2aaab00e4117 <Address 0x2aaab00e4117 out
of bounds>
__PRETTY_FUNCTION__ = "VSL_OpenLog"
#1 0x00000000004013e6 in main (argc=1, argv=0x7fffe827bcc8) at
varnishlog.c:367
c = -1341243113
a_flag = 0
D_flag = 0
o_flag = <value optimized out>
u_flag = 0
n_arg = 0x0
P_arg = 0x0
w_arg = 0x0
pfh = <value optimized out>
vd = (struct VSL_data *) 0x179eb010
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/542#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list