On Tue, Jun 19, 2012 at 10:41:54AM +0200, Jan-Frode Myklebust wrote:
> On Mon, Jun 18, 2012 at 09:39:37AM -0700, Brian Geffon wrote:
> > Can you provide a stack trace?
> 
> Maybe, if you could give me some instructions for how.. I tried getting
> it to dump core, but unsuccessfully...

Got it*


==========================================================================
Core was generated by `/usr/bin/traffic_server -M -A,7:X,8:X6'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000664c8d in CacheVC::openWriteStartDone (this=0x2b322c1aa2f0, 
    event=2, e=0x317ad50) at CacheWrite.cc:1574
1574      od->reading_vec = 0;
Missing separate debuginfos, use: debuginfo-install expat-2.0.1-9.1.el6.x86_64 
glibc-2.12-1.47.el6_2.12.x86_64 keyutils-libs-1.4-3.el6.x86_64 
krb5-libs-1.9-22.el6_2.1.x86_64 libattr-2.4.44-7.el6.x86_64 
libcap-2.16-5.5.el6.x86_64 libcom_err-1.41.12-11.el6.x86_64 
libgcc-4.4.6-3.el6.x86_64 libselinux-2.0.94-5.2.el6.x86_64 
libstdc++-4.4.6-3.el6.x86_64 openssl-1.0.0-20.el6_2.5.x86_64 
pcre-7.8-3.1.el6.x86_64 tcl-8.5.7-6.el6.x86_64 
xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb) bt
#0  0x0000000000664c8d in CacheVC::openWriteStartDone (this=0x2b322c1aa2f0, 
    event=2, e=0x317ad50) at CacheWrite.cc:1574
#1  0x00000000006ab0f4 in handleEvent (this=0x2b321ec84010, e=0x317ad50, 
    calling_code=2) at I_Continuation.h:146
#2  EThread::process_event (this=0x2b321ec84010, e=0x317ad50, calling_code=2)
    at UnixEThread.cc:140
#3  0x00000000006abbf3 in EThread::execute (this=0x2b321ec84010)
    at UnixEThread.cc:217
#4  0x00000000004c0878 in main (argc=<value optimized out>, 
    argv=<value optimized out>) at Main.cc:1918
(gdb) 
==========================================================================


[*] note to self to enable core dumps for ATS:

        sysctl -w fs.suid_dumpable=1
        sysctl -w kernel.core_pattern=/tmp/core.%e.%p
        records.config: CONFIG proxy.config.stack_dump_enabled INT 0
        /etc/profile: ulimit -c unlimited >/dev/null 2>&1
        /etc/sysconfig/init: DAEMON_COREFILE_LIMIT='unlimited'


  -jf

Reply via email to