[jira] [Commented] (TS-3265) core dump in spdy_prepare_status_response_and_clean_request

2014-12-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14261751#comment-14261751
 ] 

ASF subversion and git services commented on TS-3265:
-

Commit 48f1eae33075cc7ab3d0417294441b67a4d6c4c1 in trafficserver's branch 
refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=48f1eae ]

TS-3265 Fix indentation, 120 character lines


 core dump in spdy_prepare_status_response_and_clean_request
 ---

 Key: TS-3265
 URL: https://issues.apache.org/jira/browse/TS-3265
 Project: Traffic Server
  Issue Type: Bug
  Components: SPDY
Affects Versions: 5.2.0
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.3.0


 Noticed the below core dump in v5.2.0.
 {code}
 (gdb) bt
 #0  0x00638442 in std::vectorstd::pairstd::basic_stringchar, 
 std::char_traitschar, std::allocatorchar , std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 std::allocatorstd::pairstd::basic_stringchar, std::char_traitschar, 
 std::allocatorchar , std::basic_stringchar, std::char_traitschar, 
 std::allocatorchar::size (
 this=0x38) at 
 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:533
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 #3  0x00633151 in SpdyClientSession::state_session_readwrite 
 (this=0x2ad800d4d730, event=3, edata=0x2ad818105c50) at 
 SpdyClientSession.cc:253
 #4  0x00502eae in Continuation::handleEvent (this=0x2ad800d4d730, 
 event=3, data=0x2ad818105c50) at ../iocore/eventsystem/I_Continuation.h:146
 #5  0x00501116 in FetchSM::InvokePluginExt (this=0x2ad818105c50, 
 fetch_event=3) at FetchSM.cc:245
 #6  0x00501e59 in FetchSM::process_fetch_write (this=0x2ad818105c50, 
 event=3) at FetchSM.cc:495
 #7  0x00501f3e in FetchSM::fetch_handler (this=0x2ad818105c50, 
 event=3, edata=0x2ad86c90b960) at FetchSM.cc:511
 #8  0x00502eae in Continuation::handleEvent (this=0x2ad818105c50, 
 event=3, data=0x2ad86c90b960) at ../iocore/eventsystem/I_Continuation.h:146
 #9  0x0053e9d5 in PluginVC::process_write_side (this=0x2ad86c90b810, 
 other_side_call=false) at PluginVC.cc:519
 #10 0x0053dbcd in PluginVC::main_handler (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at PluginVC.cc:210
 #11 0x00502eae in Continuation::handleEvent (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at ../iocore/eventsystem/I_Continuation.h:146
 #12 0x00773136 in EThread::process_event (this=0x2ad6cc10, 
 e=0x2ad80802c690, calling_code=2) at UnixEThread.cc:144
 #13 0x00773451 in EThread::execute (this=0x2ad6cc10) at 
 UnixEThread.cc:223
 #14 0x007726f1 in spawn_thread_internal (a=0x161fd50) at Thread.cc:88
 #15 0x2ad6c6d30851 in start_thread () from /lib64/libpthread.so.0
 #16 0x003296ee890d in clone () from /lib64/libc.so.6
 {code}
 Looking at the core in gdb, it seems the {{req}} object extracted from the 
 {{sm-req_map}} based on {{stream_id}} is null. However, the {{req}} object 
 (extracted from {{TSFetchUserDataGet}}) from the caller 
 {{spdy_process_fetch}} in frame#2 seems valid. Unfortunately, the core was 
 deleted before I could examine more info (like, the sm object's req_map or 
 the req object details etc).
 {code}
 (gdb) frame 1
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 57SpdyCallbacks.cc: No such file or directory.
   in SpdyCallbacks.cc
 (gdb) print req
 $1 = (SpdyRequest *) 0x0
 (gdb) up
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 350   SpdyClientSession.cc: No such file or directory.
   in SpdyClientSession.cc
 (gdb) print req
 $2 = (SpdyRequest *) 0x2ad7c4e8be90
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3265) core dump in spdy_prepare_status_response_and_clean_request

2014-12-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14261821#comment-14261821
 ] 

ASF subversion and git services commented on TS-3265:
-

Commit 9fed259098edec15577d7ad1c585ac7a5b4be09a in trafficserver's branch 
refs/heads/5.2.x from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=9fed259 ]

TS-3265 Fix indentation, 120 character lines


 core dump in spdy_prepare_status_response_and_clean_request
 ---

 Key: TS-3265
 URL: https://issues.apache.org/jira/browse/TS-3265
 Project: Traffic Server
  Issue Type: Bug
  Components: SPDY
Affects Versions: 5.2.0
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.2.0


 Noticed the below core dump in v5.2.0.
 {code}
 (gdb) bt
 #0  0x00638442 in std::vectorstd::pairstd::basic_stringchar, 
 std::char_traitschar, std::allocatorchar , std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 std::allocatorstd::pairstd::basic_stringchar, std::char_traitschar, 
 std::allocatorchar , std::basic_stringchar, std::char_traitschar, 
 std::allocatorchar::size (
 this=0x38) at 
 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:533
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 #3  0x00633151 in SpdyClientSession::state_session_readwrite 
 (this=0x2ad800d4d730, event=3, edata=0x2ad818105c50) at 
 SpdyClientSession.cc:253
 #4  0x00502eae in Continuation::handleEvent (this=0x2ad800d4d730, 
 event=3, data=0x2ad818105c50) at ../iocore/eventsystem/I_Continuation.h:146
 #5  0x00501116 in FetchSM::InvokePluginExt (this=0x2ad818105c50, 
 fetch_event=3) at FetchSM.cc:245
 #6  0x00501e59 in FetchSM::process_fetch_write (this=0x2ad818105c50, 
 event=3) at FetchSM.cc:495
 #7  0x00501f3e in FetchSM::fetch_handler (this=0x2ad818105c50, 
 event=3, edata=0x2ad86c90b960) at FetchSM.cc:511
 #8  0x00502eae in Continuation::handleEvent (this=0x2ad818105c50, 
 event=3, data=0x2ad86c90b960) at ../iocore/eventsystem/I_Continuation.h:146
 #9  0x0053e9d5 in PluginVC::process_write_side (this=0x2ad86c90b810, 
 other_side_call=false) at PluginVC.cc:519
 #10 0x0053dbcd in PluginVC::main_handler (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at PluginVC.cc:210
 #11 0x00502eae in Continuation::handleEvent (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at ../iocore/eventsystem/I_Continuation.h:146
 #12 0x00773136 in EThread::process_event (this=0x2ad6cc10, 
 e=0x2ad80802c690, calling_code=2) at UnixEThread.cc:144
 #13 0x00773451 in EThread::execute (this=0x2ad6cc10) at 
 UnixEThread.cc:223
 #14 0x007726f1 in spawn_thread_internal (a=0x161fd50) at Thread.cc:88
 #15 0x2ad6c6d30851 in start_thread () from /lib64/libpthread.so.0
 #16 0x003296ee890d in clone () from /lib64/libc.so.6
 {code}
 Looking at the core in gdb, it seems the {{req}} object extracted from the 
 {{sm-req_map}} based on {{stream_id}} is null. However, the {{req}} object 
 (extracted from {{TSFetchUserDataGet}}) from the caller 
 {{spdy_process_fetch}} in frame#2 seems valid. Unfortunately, the core was 
 deleted before I could examine more info (like, the sm object's req_map or 
 the req object details etc).
 {code}
 (gdb) frame 1
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 57SpdyCallbacks.cc: No such file or directory.
   in SpdyCallbacks.cc
 (gdb) print req
 $1 = (SpdyRequest *) 0x0
 (gdb) up
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 350   SpdyClientSession.cc: No such file or directory.
   in SpdyClientSession.cc
 (gdb) print req
 $2 = (SpdyRequest *) 0x2ad7c4e8be90
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3265) core dump in spdy_prepare_status_response_and_clean_request

2014-12-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14259690#comment-14259690
 ] 

ASF subversion and git services commented on TS-3265:
-

Commit fc9f67072a2ee949894f5d38abb30e1e556e9e26 in trafficserver's branch 
refs/heads/master from [~sudheerv]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=fc9f670 ]

[TS-3265]: Fix spdy req_map access to use iterator instead of operator[]


 core dump in spdy_prepare_status_response_and_clean_request
 ---

 Key: TS-3265
 URL: https://issues.apache.org/jira/browse/TS-3265
 Project: Traffic Server
  Issue Type: Bug
  Components: SPDY
Affects Versions: 5.2.0
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.3.0


 Noticed the below core dump in v5.2.0.
 {code}
 (gdb) bt
 #0  0x00638442 in std::vectorstd::pairstd::basic_stringchar, 
 std::char_traitschar, std::allocatorchar , std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 std::allocatorstd::pairstd::basic_stringchar, std::char_traitschar, 
 std::allocatorchar , std::basic_stringchar, std::char_traitschar, 
 std::allocatorchar::size (
 this=0x38) at 
 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:533
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 #3  0x00633151 in SpdyClientSession::state_session_readwrite 
 (this=0x2ad800d4d730, event=3, edata=0x2ad818105c50) at 
 SpdyClientSession.cc:253
 #4  0x00502eae in Continuation::handleEvent (this=0x2ad800d4d730, 
 event=3, data=0x2ad818105c50) at ../iocore/eventsystem/I_Continuation.h:146
 #5  0x00501116 in FetchSM::InvokePluginExt (this=0x2ad818105c50, 
 fetch_event=3) at FetchSM.cc:245
 #6  0x00501e59 in FetchSM::process_fetch_write (this=0x2ad818105c50, 
 event=3) at FetchSM.cc:495
 #7  0x00501f3e in FetchSM::fetch_handler (this=0x2ad818105c50, 
 event=3, edata=0x2ad86c90b960) at FetchSM.cc:511
 #8  0x00502eae in Continuation::handleEvent (this=0x2ad818105c50, 
 event=3, data=0x2ad86c90b960) at ../iocore/eventsystem/I_Continuation.h:146
 #9  0x0053e9d5 in PluginVC::process_write_side (this=0x2ad86c90b810, 
 other_side_call=false) at PluginVC.cc:519
 #10 0x0053dbcd in PluginVC::main_handler (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at PluginVC.cc:210
 #11 0x00502eae in Continuation::handleEvent (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at ../iocore/eventsystem/I_Continuation.h:146
 #12 0x00773136 in EThread::process_event (this=0x2ad6cc10, 
 e=0x2ad80802c690, calling_code=2) at UnixEThread.cc:144
 #13 0x00773451 in EThread::execute (this=0x2ad6cc10) at 
 UnixEThread.cc:223
 #14 0x007726f1 in spawn_thread_internal (a=0x161fd50) at Thread.cc:88
 #15 0x2ad6c6d30851 in start_thread () from /lib64/libpthread.so.0
 #16 0x003296ee890d in clone () from /lib64/libc.so.6
 {code}
 Looking at the core in gdb, it seems the {{req}} object extracted from the 
 {{sm-req_map}} based on {{stream_id}} is null. However, the {{req}} object 
 (extracted from {{TSFetchUserDataGet}}) from the caller 
 {{spdy_process_fetch}} in frame#2 seems valid. Unfortunately, the core was 
 deleted before I could examine more info (like, the sm object's req_map or 
 the req object details etc).
 {code}
 (gdb) frame 1
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 57SpdyCallbacks.cc: No such file or directory.
   in SpdyCallbacks.cc
 (gdb) print req
 $1 = (SpdyRequest *) 0x0
 (gdb) up
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 350   SpdyClientSession.cc: No such file or directory.
   in SpdyClientSession.cc
 (gdb) print req
 $2 = (SpdyRequest *) 0x2ad7c4e8be90
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3265) core dump in spdy_prepare_status_response_and_clean_request

2014-12-28 Thread Yunkai Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14259902#comment-14259902
 ] 

Yunkai Zhang commented on TS-3265:
--

Cool, nice catch!

 core dump in spdy_prepare_status_response_and_clean_request
 ---

 Key: TS-3265
 URL: https://issues.apache.org/jira/browse/TS-3265
 Project: Traffic Server
  Issue Type: Bug
  Components: SPDY
Affects Versions: 5.2.0
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.3.0


 Noticed the below core dump in v5.2.0.
 {code}
 (gdb) bt
 #0  0x00638442 in std::vectorstd::pairstd::basic_stringchar, 
 std::char_traitschar, std::allocatorchar , std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 std::allocatorstd::pairstd::basic_stringchar, std::char_traitschar, 
 std::allocatorchar , std::basic_stringchar, std::char_traitschar, 
 std::allocatorchar::size (
 this=0x38) at 
 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:533
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 #3  0x00633151 in SpdyClientSession::state_session_readwrite 
 (this=0x2ad800d4d730, event=3, edata=0x2ad818105c50) at 
 SpdyClientSession.cc:253
 #4  0x00502eae in Continuation::handleEvent (this=0x2ad800d4d730, 
 event=3, data=0x2ad818105c50) at ../iocore/eventsystem/I_Continuation.h:146
 #5  0x00501116 in FetchSM::InvokePluginExt (this=0x2ad818105c50, 
 fetch_event=3) at FetchSM.cc:245
 #6  0x00501e59 in FetchSM::process_fetch_write (this=0x2ad818105c50, 
 event=3) at FetchSM.cc:495
 #7  0x00501f3e in FetchSM::fetch_handler (this=0x2ad818105c50, 
 event=3, edata=0x2ad86c90b960) at FetchSM.cc:511
 #8  0x00502eae in Continuation::handleEvent (this=0x2ad818105c50, 
 event=3, data=0x2ad86c90b960) at ../iocore/eventsystem/I_Continuation.h:146
 #9  0x0053e9d5 in PluginVC::process_write_side (this=0x2ad86c90b810, 
 other_side_call=false) at PluginVC.cc:519
 #10 0x0053dbcd in PluginVC::main_handler (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at PluginVC.cc:210
 #11 0x00502eae in Continuation::handleEvent (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at ../iocore/eventsystem/I_Continuation.h:146
 #12 0x00773136 in EThread::process_event (this=0x2ad6cc10, 
 e=0x2ad80802c690, calling_code=2) at UnixEThread.cc:144
 #13 0x00773451 in EThread::execute (this=0x2ad6cc10) at 
 UnixEThread.cc:223
 #14 0x007726f1 in spawn_thread_internal (a=0x161fd50) at Thread.cc:88
 #15 0x2ad6c6d30851 in start_thread () from /lib64/libpthread.so.0
 #16 0x003296ee890d in clone () from /lib64/libc.so.6
 {code}
 Looking at the core in gdb, it seems the {{req}} object extracted from the 
 {{sm-req_map}} based on {{stream_id}} is null. However, the {{req}} object 
 (extracted from {{TSFetchUserDataGet}}) from the caller 
 {{spdy_process_fetch}} in frame#2 seems valid. Unfortunately, the core was 
 deleted before I could examine more info (like, the sm object's req_map or 
 the req object details etc).
 {code}
 (gdb) frame 1
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 57SpdyCallbacks.cc: No such file or directory.
   in SpdyCallbacks.cc
 (gdb) print req
 $1 = (SpdyRequest *) 0x0
 (gdb) up
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 350   SpdyClientSession.cc: No such file or directory.
   in SpdyClientSession.cc
 (gdb) print req
 $2 = (SpdyRequest *) 0x2ad7c4e8be90
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3265) core dump in spdy_prepare_status_response_and_clean_request

2014-12-27 Thread Sudheer Vinukonda (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14259521#comment-14259521
 ] 

Sudheer Vinukonda commented on TS-3265:
---

Looking at the core, this seems to have been caused by an inconsistency between 
sm object's req_map and the fetch_sm object. It is not entirely clear how this 
could happen, although, it would be better to extract the req object from 
req_map using an iterator, rather than directly accessing it array-based and 
checking for null pointer.

I am testing the below patch to prevent the core (along with an error log for 
the condition).

{code}
diff --git a/proxy/spdy/SpdyCallbacks.cc b/proxy/spdy/SpdyCallbacks.cc
index 4d1aceb..7d7605d 100644
--- a/proxy/spdy/SpdyCallbacks.cc
+++ b/proxy/spdy/SpdyCallbacks.cc
@@ -52,7 +52,11 @@ spdy_callbacks_init(spdylay_session_callbacks *callbacks)
 void
 spdy_prepare_status_response_and_clean_request(SpdyClientSession *sm, int 
stream_id, const char *status)
 {
-  SpdyRequest *req = sm-req_map[stream_id];
+  SpdyRequest *req = sm-find_request(stream_id);
+  if (!req) {
+Error (spdy_prepare_status_response_and_clean_request, req object null 
for sm % PRId64 , stream_id %d, sm-sm_id, stream_id);
+return;
+  }
   string date_str = http_date(time(0));
   const char **nv = new const char*[8+req-headers.size()*2+1];
 
@@ -328,7 +332,11 @@ spdy_on_ctrl_recv_callback(spdylay_session *session, 
spdylay_frame_type type,
 
   case SPDYLAY_HEADERS:
 stream_id = frame-syn_stream.stream_id;
-req = sm-req_map[stream_id];
+req = sm-find_request(stream_id);
+if (!req) {
+  Error (spdy_on_ctrl_recv_callback, req object null on SPDYLAY_HEADERS 
for sm % PRId64 , stream_id %d, sm-sm_id, stream_id);
+  return;
+}
 req-append_nv(frame-headers.nv);
 break;
{code}

 core dump in spdy_prepare_status_response_and_clean_request
 ---

 Key: TS-3265
 URL: https://issues.apache.org/jira/browse/TS-3265
 Project: Traffic Server
  Issue Type: Bug
  Components: SPDY
Affects Versions: 5.2.0
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.3.0


 Noticed the below core dump in v5.2.0.
 {code}
 (gdb) bt
 #0  0x00638442 in std::vectorstd::pairstd::basic_stringchar, 
 std::char_traitschar, std::allocatorchar , std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 std::allocatorstd::pairstd::basic_stringchar, std::char_traitschar, 
 std::allocatorchar , std::basic_stringchar, std::char_traitschar, 
 std::allocatorchar::size (
 this=0x38) at 
 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:533
 #1  0x0063667e in spdy_prepare_status_response_and_clean_request 
 (sm=0x2ad800d4d730, stream_id=1, status=0x7b6b4d 500 Internal Server Error) 
 at SpdyCallbacks.cc:57
 #2  0x0063373c in spdy_process_fetch (event=TS_EVENT_ERROR, 
 sm=0x2ad800d4d730, edata=0x2ad818105c50) at SpdyClientSession.cc:350
 #3  0x00633151 in SpdyClientSession::state_session_readwrite 
 (this=0x2ad800d4d730, event=3, edata=0x2ad818105c50) at 
 SpdyClientSession.cc:253
 #4  0x00502eae in Continuation::handleEvent (this=0x2ad800d4d730, 
 event=3, data=0x2ad818105c50) at ../iocore/eventsystem/I_Continuation.h:146
 #5  0x00501116 in FetchSM::InvokePluginExt (this=0x2ad818105c50, 
 fetch_event=3) at FetchSM.cc:245
 #6  0x00501e59 in FetchSM::process_fetch_write (this=0x2ad818105c50, 
 event=3) at FetchSM.cc:495
 #7  0x00501f3e in FetchSM::fetch_handler (this=0x2ad818105c50, 
 event=3, edata=0x2ad86c90b960) at FetchSM.cc:511
 #8  0x00502eae in Continuation::handleEvent (this=0x2ad818105c50, 
 event=3, data=0x2ad86c90b960) at ../iocore/eventsystem/I_Continuation.h:146
 #9  0x0053e9d5 in PluginVC::process_write_side (this=0x2ad86c90b810, 
 other_side_call=false) at PluginVC.cc:519
 #10 0x0053dbcd in PluginVC::main_handler (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at PluginVC.cc:210
 #11 0x00502eae in Continuation::handleEvent (this=0x2ad86c90b810, 
 event=2, data=0x2ad80802c690) at ../iocore/eventsystem/I_Continuation.h:146
 #12 0x00773136 in EThread::process_event (this=0x2ad6cc10, 
 e=0x2ad80802c690, calling_code=2) at UnixEThread.cc:144
 #13 0x00773451 in EThread::execute (this=0x2ad6cc10) at 
 UnixEThread.cc:223
 #14 0x007726f1 in spawn_thread_internal (a=0x161fd50) at Thread.cc:88
 #15 0x2ad6c6d30851 in start_thread () from /lib64/libpthread.so.0
 #16 0x003296ee890d in clone () from /lib64/libc.so.6
 {code}
 Looking at the core in gdb, it seems the {{req}} object extracted from the 
 {{sm-req_map}} based on {{stream_id}} is null. However, the {{req}} object 
 (extracted from