Bin Chen created TS-1602:
----------------------------
Summary: crash at http_hdr_type_get
Key: TS-1602
URL: https://issues.apache.org/jira/browse/TS-1602
Project: Traffic Server
Issue Type: Bug
Components: HTTP
Affects Versions: 3.2.0
Reporter: Bin Chen
Assignee: Bin Chen
{code}
Program terminated with signal 11, Segmentation fault.
#0 0x00000000005034b0 in http_hdr_type_get (hh=0x2abf98de9898) at
hdrs/HTTP.h:957
/usr/src/debug/trafficserver-3.2.0/proxy/hdrs/HTTP.h:957:28250:beg:0x5034b0
Missing separate debuginfos, use: debuginfo-install expat-2.0.1-9.1.el6.x86_64
glibc-2.12-1.47.el6.x86_64 keyutils-libs-1.4-3.el6.x86_64
krb5-libs-1.9-22.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 ncurses-libs-5.7-3.20090208.el6.x86_64
openssl-1.0.0-20.el6.x86_64 pcre-7.8-3.1.el6.x86_64 readline-6.0-3.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 0x00000000005034b0 in http_hdr_type_get (hh=0x2abf98de9898) at
hdrs/HTTP.h:957
#1 0x00000000005034d2 in HTTPHdr::type_get (this=0x2ba4d149f088) at
hdrs/HTTP.h:967
#2 0x000000000058e6f4 in HttpTransact::HandleCacheOpenRead (s=0x2ba51d5d2838)
at HttpTransact.cc:2046
#3 0x000000000057af93 in HttpSM::call_transact_and_set_next_state
(this=0x2ba51d5d27d0,
f=0x58e5cc <HttpTransact::HandleCacheOpenRead(HttpTransact::State*)>) at
HttpSM.cc:6425
#4 0x000000000056e576 in HttpSM::state_cache_open_read (this=0x2ba51d5d27d0,
event=1102, data=0x2ba3f8d00c10)
at HttpSM.cc:2406
#5 0x000000000056e968 in HttpSM::main_handler (this=0x2ba51d5d27d0,
event=1102, data=0x2ba3f8d00c10) at HttpSM.cc:2465
#6 0x00000000004e6fae in Continuation::handleEvent (this=0x2ba51d5d27d0,
event=1102, data=0x2ba3f8d00c10)
at ../iocore/eventsystem/I_Continuation.h:146
#7 0x0000000000556f02 in HttpCacheSM::state_cache_open_read
(this=0x2ba51d5d4898, event=1102, data=0x2ba3f8d00c10)
at HttpCacheSM.cc:118
#8 0x00000000004e6fae in Continuation::handleEvent (this=0x2ba51d5d4898,
event=1102, data=0x2ba3f8d00c10)
at ../iocore/eventsystem/I_Continuation.h:146
#9 0x0000000000649779 in CacheContinuation::callback_user
(this=0x2ba410a95560, res=1102, e=0x2ba3f8d00c10)
at ClusterCache.cc:2813
#10 0x0000000000648433 in CacheContinuation::remoteOpEvent
(this=0x2ba410a95560, event_code=1151, e=0x2ba4d149f000)
at ClusterCache.cc:2345
#11 0x00000000004e6fae in Continuation::handleEvent (this=0x2ba410a95560,
event=1151, data=0x2ba4d149f000)
at ../iocore/eventsystem/I_Continuation.h:146
#12 0x000000000064751c in cache_op_result_ClusterFunction (ch=0x2ba428881140,
d=0x2ba570cd4018, l=2776)
at ClusterCache.cc:2088
#13 0x0000000000651747 in ClusterHandler::process_incoming_callouts
(this=0x2ba428881140, m=0x2ba3f92a3c50)
at ClusterHandler.cc:1237
#14 0x00000000006598db in ClusterCalloutContinuation::CalloutHandler
(this=0x2ba4284057c0, event=2, e=0x2ba314b48ef0)
at ClusterHandlerBase.cc:62
#15 0x00000000004e6fae in Continuation::handleEvent (this=0x2ba4284057c0,
event=2, data=0x2ba314b48ef0)
at ../iocore/eventsystem/I_Continuation.h:146
#16 0x00000000006d99b8 in EThread::process_event (this=0x2ba2cf72e010,
e=0x2ba314b48ef0, calling_code=2)
at UnixEThread.cc:189
#17 0x00000000006dbd79 in PriorityEventQueue::check_ready (this=0x2ba2cf82ec40,
now=1353969603990860000, t=0x2ba2cf72e010)
at PQ-List.cc:141
#18 0x00000000006d9c8a in EThread::execute (this=0x2ba2cf72e010) at
UnixEThread.cc:258
#19 0x00000000006d89e7 in spawn_thread_internal (a=0x15c19a0) at Thread.cc:88
#20 0x0000003c088077f1 in start_thread () from /lib64/libpthread.so.0
#21 0x0000003c084e570d in clone () from /lib64/libc.so.6
(gdb) f 0
#0 0x00000000005034b0 in http_hdr_type_get (hh=0x2abf98de9898) at
hdrs/HTTP.h:957
/usr/src/debug/trafficserver-3.2.0/proxy/hdrs/HTTP.h:957:28250:beg:0x5034b0
(gdb) l
952
-------------------------------------------------------------------------*/
953
954 inline HTTPType
955 http_hdr_type_get(HTTPHdrImpl *hh)
956 {
957 return (hh->m_polarity);
958 }
959
960
/*-------------------------------------------------------------------------
961
-------------------------------------------------------------------------*/
(gdb) p hh->m_polarity
Cannot access memory at address 0x2abf98de989c
(gdb) p *hh
Cannot access memory at address 0x2abf98de9898
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira