I used TS 3.0.5, system always segfault occurs, do is a Bug?
Program terminated with signal 11, Segmentation fault.
#0 0x00000000006b5d84 in CacheVC::openWriteStartDone (this=0x2b3bdcd69110,
event=2, e=0x22e4250)
at CacheWrite.cc:1574
1574 od->reading_vec = 0;
(gdb) bt
#0 0x00000000006b5d84 in CacheVC::openWriteStartDone (this=0x2b3bdcd69110,
event=2, e=0x22e4250)
at CacheWrite.cc:1574
#1 0x00000000004df2f8 in Continuation::handleEvent (this=0x2b3bdcd69110,
event=2,
data=0x22e4250) at ../iocore/eventsystem/I_Continuation.h:146
#2 0x00000000006f6a6b in EThread::process_event (this=0x2b3bd68c3010,
e=0x22e4250,
calling_code=2) at UnixEThread.cc:140
#3 0x00000000006f6e04 in EThread::execute (this=0x2b3bd68c3010) at
UnixEThread.cc:217
#4 0x0000000000509f39 in main (argc=3, argv=0x7fffbad8bcf8) at Main.cc:1918
(gdb) p od
$1 = (OpenDirEntry *) 0x0
zooyo1982 (16:53:51):
(gdb) f 0
#0 0x00000000006b5d84 in CacheVC::openWriteStartDone (this=0x2b3bdcd69110,
event=2, e=0x22e4250)
at CacheWrite.cc:1574
1574 od->reading_vec = 0;
(gdb) p this->info
$2 = (CacheHTTPInfo *) 0x0
(gdb) p last_collision
$3 = (Dir *) 0x0
(gdb) p *last_collision
Cannot access memory at address 0x0
p *this
(gdb) p *this
$4 = {<CacheVConnection> = {<VConnection> = {<Continuation> =
{<force_VFPT_to_top> = {
_vptr.force_VFPT_to_top = 0x75e030}, handler = (int (Continuation::*)(
Continuation * const, int, void *)) 0x6b54fa
<CacheVC::openWriteStartDone(int, Event*)>,
handler_name = 0x765475 "&CacheVC::openWriteStartDone", mutex = {m_ptr
= 0x2327760},
link = {<SLink<Continuation>> = {next = 0x0}, prev = 0x0}},
lerrno = 0}, <No data fields>}, static size_to_init = 392, key = {b = {
4936340324624382071, 13978438428484705190}}, first_key = {b =
{7564335157802246108,
859980680783453268}}, earliest_key = {b = {4936340324624382071,
13978438428484705190}},
update_key = {b = {0, 0}}, dir = {w = {0, 0, 0, 0, 0}}, earliest_dir = {w =
{1315, 14336,
9210, 0, 0}}, overwrite_dir = {w = {0, 0, 0, 0, 0}}, first_dir = {w
= {1315, 14336, 9210,
0, 0}}, _action = {_vptr.Action = 0x6fdbd0, continuation =
0x2b3c75bac958, mutex = {
m_ptr = 0x2327760}, cancelled = 0}, request = {<MIMEHdr> =
{<HdrHeapSDKHandle> = {
m_heap = 0x0}, m_mime = 0x0}, m_http = 0x0, m_url_cached =
{<HdrHeapSDKHandle> = {
m_heap = 0x0}, m_url_impl = 0x0}, m_host_length = 0, m_host = 0x0,
m_port = 0,
m_target_cached = false, m_target_in_url = false, m_port_in_header =
false}, vector = {
magic = 0x0, data = {data = 0x2b3bdcd69228, fast_data = {{alternate =
{m_alt = 0x0}}, {
alternate = {m_alt = 0x0}}, {alternate = {m_alt = 0x0}}, {alternate =
{m_alt = 0x0}}},
default_val = 0xfa64e8, size = 0, pos = -1}, xcount = 0, vector_buf =
{m_ptr = 0x0}},
alternate = {m_alt = 0x0}, buf = {m_ptr = 0x0}, first_buf = {m_ptr = 0x0},
blocks = {
m_ptr = 0x0}, writer_
buf = {m_ptr = 0x0}, od = 0x0,
io = {<AIOCallback> = {<Continuation> = {<force_VFPT_to_top> = {
_vptr.force_VFPT_to_top = 0x75e190}, handler = (int (Continuation::*)(
Continuation * const, int, void *)) 0x68aad8
<AIOCallbackInternal::io_complete(int, void*)>,
handler_name = 0x75b9d0 "&AIOCallbackInternal::io_complete", mutex =
{m_ptr = 0x0},
link = {<SLink<Continuation>> = {next = 0x0}, prev = 0x0}}, aiocb =
{aio_fildes = 0,
aio_buf = 0x0, aio_nbytes = 0, aio_offset = 0, aio_reqprio = 0,
aio_lio_opcode = 0,
aio_state = 0, aio__pad = {0}}, action = {_vptr.Action = 0x0,
continuation = 0x0,
mutex = {m_ptr = 0x0}, cancelled = 0}, thread = 0x0, then = 0x0,
aio_result = 0},
first = 0x0, aio_req = 0x0, sleep_time = 0}, alternate_index = -1,
opendir_link = {<SLink<CacheVC>> = {next = 0x0}, prev =
0x0}, vio = {_cont = 0x0, nbytes = 0,
ndone = 0, op = 2, buffer = {mbuf = 0x0, entry = 0x0, name = 0x0},
vc_server = 0x0, mutex = {
m_ptr = 0x0}}, initial_thread = 0x2b3bd68c3010, frag_type =
CACHE_FRAG_TYPE_HTTP,
info = 0x0, write_vector = 0x0, params = 0x0, header_len = 0, frag_len = 0,
write_len = 0,
agg_len = 0, write_serial = 0, frag = 0x0, integral_frags = {{offset = 0},
{offset = 0}, {
offset = 0}, {offset = 0}}, vol = 0x2022750, last_collision = 0x0,
trigger = 0x0,
read_key = 0x0, save_handler = NULL, pin_in_cache = 0, start_time =
1339401923595877000,
base_stat = 16, recursive = 0, closed = 0, seek_to = 0, offset = 0,
writer_offset = 0,
length = 0, doc_pos = 0, write_pos = 0, total_len = 0, doc_len = 0,
update_len = 0,
(gdb) p err
$5 = 20400