Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3593

Segmentation fault.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 6.0.0
    • None
    • Core

    Description

      Master version from git
      Build configure

      ./configure --enable-layout=Gentoo  --libdir=%{_libdir}/trafficserver  --enable-spdy --enable-reclaimable-freelist --enable-interim-cache --
      enable-hwloc --with-openssl=/usr/local/ssl
      
      Core was generated by `/usr/bin/traffic_server -M --httpport 80:fd=7,443:fd=8:ssl'.
      Program terminated with signal 11, Segmentation fault.
      #0  HttpTunnel::chain_abort_all (this=0x2abcdc7014a8, p=0x2abcdc7016a0) at HttpTunnel.cc:1403
      1403        p->bytes_read = p->read_vio->ndone;
      Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6_5.2.x86_64 hwloc-1.5-1.el6.x86_64 libattr-2.4.44-7.el6.x86_64 libcap-2.16-5.5.el6.x86_64 libgcc-4.4.7-4.el6.x86_64 libstdc++-4.4.7-4.el6.x86_64 libxml2-2.7.6-14.el6_5.2.x86_64 nss-softokn-freebl-3.14.3-10.el6_5.x86_64 numactl-2.0.7-8.el6.x86_64 pciutils-libs-3.1.10-2.el6.x86_64 pcre-7.8-6.el6.x86_64 spdylay-1.2.5-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-29.el6.x86_64
      (gdb) bt
      #0  HttpTunnel::chain_abort_all (this=0x2abcdc7014a8, p=0x2abcdc7016a0) at HttpTunnel.cc:1403
      #1  0x00000000006099c4 in HttpTunnel::kill_tunnel (this=0x2abcdc7014a8) at HttpTunnel.cc:524
      #2  0x00000000005ce6fa in HttpSM::kill_this (this=0x2abcdc700000) at HttpSM.cc:6568
      #3  0x00000000005cef38 in HttpSM::main_handler (this=0x2abcdc700000, event=105, data=0x2abcdc560118) at HttpSM.cc:2623
      #4  0x000000000075ba09 in handleEvent (event=<value optimized out>, vc=0x2abcdc560000) at ../../iocore/eventsystem/I_Continuation.h:145
      #5  read_signal_and_update (event=<value optimized out>, vc=0x2abcdc560000) at UnixNetVConnection.cc:139
      #6  0x000000000075ddbf in UnixNetVConnection::mainEvent (this=0x2abcdc560000, event=<value optimized out>, e=<value optimized out>)
          at UnixNetVConnection.cc:1094
      #7  0x0000000000755041 in handleEvent (this=0x1db34e0, event=<value optimized out>, e=0x2abc6fa8ed20)
          at ../../iocore/eventsystem/I_Continuation.h:145
      #8  InactivityCop::check_inactivity (this=0x1db34e0, event=<value optimized out>, e=0x2abc6fa8ed20) at UnixNet.cc:107
      #9  0x000000000077f435 in handleEvent (this=0x2abc6e470010, e=0x2abc6fa8ed20, calling_code=2) at I_Continuation.h:145
      #10 EThread::process_event (this=0x2abc6e470010, e=0x2abc6fa8ed20, calling_code=2) at UnixEThread.cc:128
      #11 0x000000000077fd13 in EThread::execute (this=0x2abc6e470010) at UnixEThread.cc:207
      #12 0x000000000077e87a in spawn_thread_internal (a=0x1daa260) at Thread.cc:85
      #13 0x00002abc6b6639d1 in start_thread () from /lib64/libpthread.so.0
      #14 0x00002abc6d302b5d in clone () from /lib64/libc.so.6
      (gdb) f 0
      #0  HttpTunnel::chain_abort_all (this=0x2abcdc7014a8, p=0x2abcdc7016a0) at HttpTunnel.cc:1403
      1403        p->bytes_read = p->read_vio->ndone;
      (gdb) l
      1398        c = c->link.next;
      1399      }
      1400
      1401      if (p->alive) {
      1402        p->alive = false;
      1403        p->bytes_read = p->read_vio->ndone;
      1404        if (p->self_consumer) {
      1405          p->self_consumer->alive = false;
      1406        }
      1407        p->read_vio = NULL;
      (gdb) p p
      $1 = (HttpTunnelProducer *) 0x2abcdc7016a0
      (gdb) p *p
      $2 = {consumer_list = {head = 0x2abcdc7014e0}, self_consumer = 0x0, vc = 0x2abcdc848000, vc_handler = (int (HttpSM::*)(HttpSM *, int, 
          HttpTunnelProducer *)) 0x5ba7a0 <HttpSM::tunnel_handler_server(int, HttpTunnelProducer*)>, read_vio = 0x0, 
        read_buffer = 0x2abcdc57bde0, buffer_start = 0x2abcdc57bdf8, vc_type = HT_HTTP_SERVER, chunked_handler = {
          static DEFAULT_MAX_CHUNK_SIZE = 4096, action = ChunkedHandler::ACTION_DOCHUNK, chunked_reader = 0x0, dechunked_buffer = 0x0, 
          dechunked_size = 0, dechunked_reader = 0x0, chunked_buffer = 0x0, chunked_size = 0, truncation = false, skip_bytes = 132, 
          state = ChunkedHandler::CHUNK_READ_CHUNK, cur_chunk_size = 0, bytes_left = 0, last_server_event = 0, running_sum = 0, num_digits = 0, 
          max_chunk_size = 4096, max_chunk_header = "1000\r\n\000\000\000\000\000\000\000\000\000", max_chunk_header_len = 6}, 
        chunking_action = TCA_PASSTHRU_DECHUNKED_CONTENT, do_chunking = false, do_dechunking = false, do_chunked_passthru = false, 
        init_bytes_done = 348, nbytes = -1, ntodo = -1, bytes_read = 0, handler_state = 0, last_event = 0, num_consumers = 1, alive = false, 
        read_success = false, flow_control_source = 0x0, name = 0x812c2f "http server"}
      (gdb) p p->read_vio
      $3 = (VIO *) 0x0
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bettydreamit bettydramit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: