[jira] [Updated] (TS-3311) Possible lookups on NULL hostnames in HostDB

2015-01-30 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-3311:
--
Backport to Version:   (was: 5.2.1)

 Possible lookups on NULL hostnames in HostDB
 

 Key: TS-3311
 URL: https://issues.apache.org/jira/browse/TS-3311
 Project: Traffic Server
  Issue Type: Bug
  Components: HostDB
Reporter: Steve Malenfant
Assignee: Alan M. Carroll
 Fix For: 5.3.0


 Getting multiple segfaults per day on 4.2.1. 
 [4324544.324222] [ET_NET 23][10504]: segfault at 0 ip 2acd66546168 sp 
 2acd71f190b8 error 4 in libtsutil.so.4.2.1[2acd66521000+34000]
 [4410696.820857] [ET_NET 19][22738]: segfault at 0 ip 2af09f339168 sp 
 2af0aa9230b8 error 4 in libtsutil.so.4.2.1[2af09f314000+34000]
 [4497039.474253] [ET_NET 12][34872]: segfault at 0 ip 2ad17e6a1168 sp 
 2ad1896100b8 error 4 in libtsutil.so.4.2.1[2ad17e67c000+34000]
 [4583372.073916] [ET_NET 3][46994]: segfault at 0 ip 2aced4227168 sp 
 2aceda7d80b8 error 4 in libtsutil.so.4.2.1[2aced4202000+34000]
 [4756046.944373] [ET_NET 22][10799]: segfault at 0 ip 2b1771f76168 sp 
 2b177d9130b8 error 4 in libtsutil.so.4.2.1[2b1771f51000+34000]
 Stack Trace :
 (gdb) bt
 #0  ink_inet_addr (s=value optimized out) at ink_inet.cc:107
 #1  0x005e0df5 in is_dotted_form_hostname (mutex=0x1d32cb0, md5=..., 
 ignore_timeout=false) at P_HostDBProcessor.h:545
 #2  probe (mutex=0x1d32cb0, md5=..., ignore_timeout=false) at HostDB.cc:668
 #3  0x005e2b34 in HostDBProcessor::getby (this=value optimized out, 
 cont=0x2b514cc749d0, hostname=0x0, len=value optimized out, 
 ip=0x2b50e8f092b0, aforce_dns=false, host_res_style=HOST_RES_NONE, 
 dns_lookup_timeout=0)
 at HostDB.cc:772
 #4  0x00517f2c in getbyaddr_re (this=0x2b514cc749d0) at 
 ../../iocore/hostdb/I_HostDBProcessor.h:417
 #5  HttpSM::do_hostdb_reverse_lookup (this=0x2b514cc749d0) at HttpSM.cc:3968
 #6  0x0052f028 in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6932
 #7  0x00518242 in HttpSM::do_hostdb_lookup (this=0x2b514cc749d0) at 
 HttpSM.cc:3950
 #8  0x0052f44a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6925
 #9  0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #10 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #11 0x0052ea8a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:7224
 #12 0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #13 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #14 0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #15 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #16 0x0052fef6 in HttpSM::state_read_client_request_header 
 (this=0x2b514cc749d0, event=100, data=value optimized out) at HttpSM.cc:821
 #17 0x0052a5b8 in HttpSM::main_handler (this=0x2b514cc749d0, 
 event=100, data=0x2b514802ca08) at HttpSM.cc:2539
 #18 0x0068793b in handleEvent (event=value optimized out, 
 vc=0x2b514802c900) at ../../iocore/eventsystem/I_Continuation.h:146
 #19 read_signal_and_update (event=value optimized out, vc=0x2b514802c900) 
 at UnixNetVConnection.cc:138
 #20 0x00689ec4 in read_from_net (nh=0x2b50e2e17c10, 
 vc=0x2b514802c900, thread=value optimized out) at UnixNetVConnection.cc:320
 #21 0x0067fb12 in NetHandler::mainNetEvent (this=0x2b50e2e17c10, 
 event=value optimized out, e=value optimized out) at UnixNet.cc:384
 #22 0x006ac8cf in handleEvent (this=0x2b50e2e14010, e=0x1a9ef30, 
 calling_code=5) at I_Continuation.h:146
 #23 EThread::process_event (this=0x2b50e2e14010, e=0x1a9ef30, calling_code=5) 
 at UnixEThread.cc:145
 #24 0x006ad273 in EThread::execute (this=0x2b50e2e14010) at 
 UnixEThread.cc:269
 #25 0x006abc2a in spawn_thread_internal (a=0x198f820) at Thread.cc:88
 #26 0x2b50e026b9d1 in start_thread () from /lib64/libpthread.so.0
 #27 0x00381b2e8b6d in clone () from /lib64/libc.so.6
  



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


[jira] [Updated] (TS-3311) Possible lookups on NULL hostnames in HostDB

2015-01-21 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-3311:
--
Summary: Possible lookups on NULL hostnames in HostDB  (was: CLONE - 
segfault in libtsutils)

 Possible lookups on NULL hostnames in HostDB
 

 Key: TS-3311
 URL: https://issues.apache.org/jira/browse/TS-3311
 Project: Traffic Server
  Issue Type: Bug
  Components: HostDB
Reporter: Steve Malenfant
Assignee: Alan M. Carroll
 Fix For: 5.3.0


 Getting multiple segfaults per day on 4.2.1. 
 [4324544.324222] [ET_NET 23][10504]: segfault at 0 ip 2acd66546168 sp 
 2acd71f190b8 error 4 in libtsutil.so.4.2.1[2acd66521000+34000]
 [4410696.820857] [ET_NET 19][22738]: segfault at 0 ip 2af09f339168 sp 
 2af0aa9230b8 error 4 in libtsutil.so.4.2.1[2af09f314000+34000]
 [4497039.474253] [ET_NET 12][34872]: segfault at 0 ip 2ad17e6a1168 sp 
 2ad1896100b8 error 4 in libtsutil.so.4.2.1[2ad17e67c000+34000]
 [4583372.073916] [ET_NET 3][46994]: segfault at 0 ip 2aced4227168 sp 
 2aceda7d80b8 error 4 in libtsutil.so.4.2.1[2aced4202000+34000]
 [4756046.944373] [ET_NET 22][10799]: segfault at 0 ip 2b1771f76168 sp 
 2b177d9130b8 error 4 in libtsutil.so.4.2.1[2b1771f51000+34000]
 Stack Trace :
 (gdb) bt
 #0  ink_inet_addr (s=value optimized out) at ink_inet.cc:107
 #1  0x005e0df5 in is_dotted_form_hostname (mutex=0x1d32cb0, md5=..., 
 ignore_timeout=false) at P_HostDBProcessor.h:545
 #2  probe (mutex=0x1d32cb0, md5=..., ignore_timeout=false) at HostDB.cc:668
 #3  0x005e2b34 in HostDBProcessor::getby (this=value optimized out, 
 cont=0x2b514cc749d0, hostname=0x0, len=value optimized out, 
 ip=0x2b50e8f092b0, aforce_dns=false, host_res_style=HOST_RES_NONE, 
 dns_lookup_timeout=0)
 at HostDB.cc:772
 #4  0x00517f2c in getbyaddr_re (this=0x2b514cc749d0) at 
 ../../iocore/hostdb/I_HostDBProcessor.h:417
 #5  HttpSM::do_hostdb_reverse_lookup (this=0x2b514cc749d0) at HttpSM.cc:3968
 #6  0x0052f028 in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6932
 #7  0x00518242 in HttpSM::do_hostdb_lookup (this=0x2b514cc749d0) at 
 HttpSM.cc:3950
 #8  0x0052f44a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6925
 #9  0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #10 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #11 0x0052ea8a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:7224
 #12 0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #13 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #14 0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #15 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #16 0x0052fef6 in HttpSM::state_read_client_request_header 
 (this=0x2b514cc749d0, event=100, data=value optimized out) at HttpSM.cc:821
 #17 0x0052a5b8 in HttpSM::main_handler (this=0x2b514cc749d0, 
 event=100, data=0x2b514802ca08) at HttpSM.cc:2539
 #18 0x0068793b in handleEvent (event=value optimized out, 
 vc=0x2b514802c900) at ../../iocore/eventsystem/I_Continuation.h:146
 #19 read_signal_and_update (event=value optimized out, vc=0x2b514802c900) 
 at UnixNetVConnection.cc:138
 #20 0x00689ec4 in read_from_net (nh=0x2b50e2e17c10, 
 vc=0x2b514802c900, thread=value optimized out) at UnixNetVConnection.cc:320
 #21 0x0067fb12 in NetHandler::mainNetEvent (this=0x2b50e2e17c10, 
 event=value optimized out, e=value optimized out) at UnixNet.cc:384
 #22 0x006ac8cf in handleEvent (this=0x2b50e2e14010, e=0x1a9ef30, 
 calling_code=5) at I_Continuation.h:146
 #23 EThread::process_event (this=0x2b50e2e14010, e=0x1a9ef30, calling_code=5) 
 at UnixEThread.cc:145
 #24 0x006ad273 in EThread::execute (this=0x2b50e2e14010) at 
 UnixEThread.cc:269
 #25 0x006abc2a in spawn_thread_internal (a=0x198f820) at Thread.cc:88
 #26 0x2b50e026b9d1 in start_thread () from /lib64/libpthread.so.0
 #27 0x00381b2e8b6d in clone () from /lib64/libc.so.6
  



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


[jira] [Updated] (TS-3311) Possible lookups on NULL hostnames in HostDB

2015-01-21 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-3311:
--
Backport to Version: 5.2.1  (was: 4.2.3, 5.2.1)

 Possible lookups on NULL hostnames in HostDB
 

 Key: TS-3311
 URL: https://issues.apache.org/jira/browse/TS-3311
 Project: Traffic Server
  Issue Type: Bug
  Components: HostDB
Reporter: Steve Malenfant
Assignee: Alan M. Carroll
 Fix For: 5.3.0


 Getting multiple segfaults per day on 4.2.1. 
 [4324544.324222] [ET_NET 23][10504]: segfault at 0 ip 2acd66546168 sp 
 2acd71f190b8 error 4 in libtsutil.so.4.2.1[2acd66521000+34000]
 [4410696.820857] [ET_NET 19][22738]: segfault at 0 ip 2af09f339168 sp 
 2af0aa9230b8 error 4 in libtsutil.so.4.2.1[2af09f314000+34000]
 [4497039.474253] [ET_NET 12][34872]: segfault at 0 ip 2ad17e6a1168 sp 
 2ad1896100b8 error 4 in libtsutil.so.4.2.1[2ad17e67c000+34000]
 [4583372.073916] [ET_NET 3][46994]: segfault at 0 ip 2aced4227168 sp 
 2aceda7d80b8 error 4 in libtsutil.so.4.2.1[2aced4202000+34000]
 [4756046.944373] [ET_NET 22][10799]: segfault at 0 ip 2b1771f76168 sp 
 2b177d9130b8 error 4 in libtsutil.so.4.2.1[2b1771f51000+34000]
 Stack Trace :
 (gdb) bt
 #0  ink_inet_addr (s=value optimized out) at ink_inet.cc:107
 #1  0x005e0df5 in is_dotted_form_hostname (mutex=0x1d32cb0, md5=..., 
 ignore_timeout=false) at P_HostDBProcessor.h:545
 #2  probe (mutex=0x1d32cb0, md5=..., ignore_timeout=false) at HostDB.cc:668
 #3  0x005e2b34 in HostDBProcessor::getby (this=value optimized out, 
 cont=0x2b514cc749d0, hostname=0x0, len=value optimized out, 
 ip=0x2b50e8f092b0, aforce_dns=false, host_res_style=HOST_RES_NONE, 
 dns_lookup_timeout=0)
 at HostDB.cc:772
 #4  0x00517f2c in getbyaddr_re (this=0x2b514cc749d0) at 
 ../../iocore/hostdb/I_HostDBProcessor.h:417
 #5  HttpSM::do_hostdb_reverse_lookup (this=0x2b514cc749d0) at HttpSM.cc:3968
 #6  0x0052f028 in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6932
 #7  0x00518242 in HttpSM::do_hostdb_lookup (this=0x2b514cc749d0) at 
 HttpSM.cc:3950
 #8  0x0052f44a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6925
 #9  0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #10 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #11 0x0052ea8a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:7224
 #12 0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #13 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #14 0x005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
 HttpSM.cc:1559
 #15 0x0052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
 HttpSM.cc:6825
 #16 0x0052fef6 in HttpSM::state_read_client_request_header 
 (this=0x2b514cc749d0, event=100, data=value optimized out) at HttpSM.cc:821
 #17 0x0052a5b8 in HttpSM::main_handler (this=0x2b514cc749d0, 
 event=100, data=0x2b514802ca08) at HttpSM.cc:2539
 #18 0x0068793b in handleEvent (event=value optimized out, 
 vc=0x2b514802c900) at ../../iocore/eventsystem/I_Continuation.h:146
 #19 read_signal_and_update (event=value optimized out, vc=0x2b514802c900) 
 at UnixNetVConnection.cc:138
 #20 0x00689ec4 in read_from_net (nh=0x2b50e2e17c10, 
 vc=0x2b514802c900, thread=value optimized out) at UnixNetVConnection.cc:320
 #21 0x0067fb12 in NetHandler::mainNetEvent (this=0x2b50e2e17c10, 
 event=value optimized out, e=value optimized out) at UnixNet.cc:384
 #22 0x006ac8cf in handleEvent (this=0x2b50e2e14010, e=0x1a9ef30, 
 calling_code=5) at I_Continuation.h:146
 #23 EThread::process_event (this=0x2b50e2e14010, e=0x1a9ef30, calling_code=5) 
 at UnixEThread.cc:145
 #24 0x006ad273 in EThread::execute (this=0x2b50e2e14010) at 
 UnixEThread.cc:269
 #25 0x006abc2a in spawn_thread_internal (a=0x198f820) at Thread.cc:88
 #26 0x2b50e026b9d1 in start_thread () from /lib64/libpthread.so.0
 #27 0x00381b2e8b6d in clone () from /lib64/libc.so.6
  



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