[jira] [Commented] (TS-1759) encouter Sig 11 while enable cluster
[ https://issues.apache.org/jira/browse/TS-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13608958#comment-13608958 ] hu xiao commented on TS-1759: - With -O0, gdb trace: (gdb) ptype type = const class PtrProxyMutex { public: ProxyMutex *m_ptr; void Ptr(ProxyMutex *); void Ptr(const PtrProxyMutex ); ~Ptr(int); void clear(); PtrProxyMutex operator=(PtrProxyMutex const); PtrProxyMutex operator=(ProxyMutex*); ProxyMutex * to_ptr(); operator ProxyMutex*() const; ProxyMutex * operator-() const; ProxyMutex operator*() const; int operator==(ProxyMutex const*); int operator==(PtrProxyMutex const); int operator!=(ProxyMutex const*); int operator!=(PtrProxyMutex const); RefCountObj * _ptr(); } (gdb) bt #0 0x004cb524 in PtrProxyMutex::operator= (this=0x845e49748, src=@0x25d0) at Ptr.h:414 #1 0x006badde in UnixNetVConnection::do_io_write (this=0x845e495a0, c=0x25b8, nbytes=0, reader=0x0, owner=false) at UnixNetVConnection.cc:549 #2 0x00564927 in HttpServerSession::do_io_write (this=0x843b4bc60, c=0x25b8, nbytes=0, buf=0x0, owner=false) at HttpServerSession.cc:105 #3 0x00566429 in HttpSessionManager::release_session (this=0x9ecf60, to_release=0x843b4bc60) at HttpSessionManager.cc:315 #4 0x00564b5d in HttpServerSession::release (this=0x843b4bc60) at HttpServerSession.cc:173 #5 0x005733d3 in HttpSM::tunnel_handler_server (this=0x846ac2350, event=102, p=0x846ac40d8) at HttpSM.cc:2893 #6 0x005affa7 in HttpTunnel::producer_handler (this=0x846ac3ee0, event=102, p=0x846ac40d8) at HttpTunnel.cc:1161 #7 0x005b0104 in HttpTunnel::main_handler (this=0x846ac3ee0, event=100, data=0x845e496a8) at HttpTunnel.cc:1477 #8 0x005b041d in chunked_reenable (p=0x846ac40d8, tunnel=0x846ac3ee0) at HttpTunnel.cc:73 #9 0x005b05d7 in HttpTunnel::consumer_handler (this=0x846ac3ee0, event=101, c=0x846ac3f88) at HttpTunnel.cc:1223 #10 0x005b0136 in HttpTunnel::main_handler (this=0x846ac3ee0, event=101, data=0x846ff2320) at HttpTunnel.cc:1481 #11 0x004e696f in Continuation::handleEvent (this=0x846ac3ee0, event=101, data=0x846ff2320) at I_Continuation.h:146 #12 0x0065b1cf in ClusterHandler::cluster_signal_and_update (this=0x816ca5500, event=101, vc=0x846ff2240, s=0x846ff2318) at ClusterHandlerBase.cc:594 #13 0x006542e6 in ClusterHandler::valid_for_data_write (this=0x816ca5500, vc=0x846ff2240) at ClusterHandler.cc:2047 #14 0x0065467d in ClusterHandler::build_write_descriptors (this=0x816ca5500) at ClusterHandler.cc:1602 #15 0x00654abc in ClusterHandler::process_write (this=0x816ca5500, now=1363869982166845120, only_write_control_msgs=false) at ClusterHandler.cc:2880 #16 0x00655545 in ClusterHandler::mainClusterEvent (this=0x816ca5500, event=5, e=0x81c356f60) at ClusterHandler.cc:2507 #17 0x004e696f in Continuation::handleEvent (this=0x816ca5500, event=5, data=0x81c356f60) at I_Continuation.h:146 #18 0x006c in EThread::process_event (this=0x843247000, e=0x81c356f60, calling_code=5) at UnixEThread.cc:142 #19 0x006de27e in EThread::execute (this=0x843247000) at UnixEThread.cc:266 #20 0x006dd729 in spawn_thread_internal (a=0x80512d070) at Thread.cc:88 #21 0x000800e1bd14 in pthread_getprio () from /lib/libthr.so.3 #22 0x in ?? () encouter Sig 11 while enable cluster Key: TS-1759 URL: https://issues.apache.org/jira/browse/TS-1759 Project: Traffic Server Issue Type: Bug Components: Clustering Reporter: hu xiao I have two box running ATS and they are nomally when running separately. But if enable cluster, they are random reboot, and have Sig 11 in traffic.out. The core.dump in gdb : Core was generated by `traffic_server'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/trafficserver/lib/libtsutil.so.6...done. Loaded symbols for /usr/local/trafficserver/lib/libtsutil.so.6 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /usr/local/lib/libpcre.so.3...done. Loaded symbols for /usr/local/lib/libpcre.so.3 Reading symbols from /usr/lib/libssl.so.6...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/local/lib/libtcl85.so.1...done. Loaded symbols for /usr/local/lib/libtcl85.so.1 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from
[jira] [Created] (TS-1759) encouter Sig 11 while enable cluster
hu xiao created TS-1759: --- Summary: encouter Sig 11 while enable cluster Key: TS-1759 URL: https://issues.apache.org/jira/browse/TS-1759 Project: Traffic Server Issue Type: Bug Components: Clustering Reporter: hu xiao I have two box running ATS and they are nomally when running separately. But if enable cluster, they are random reboot, and have Sig 11 in traffic.out. The core.dump in gdb : Core was generated by `traffic_server'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/trafficserver/lib/libtsutil.so.6...done. Loaded symbols for /usr/local/trafficserver/lib/libtsutil.so.6 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /usr/local/lib/libpcre.so.3...done. Loaded symbols for /usr/local/lib/libpcre.so.3 Reading symbols from /usr/lib/libssl.so.6...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/local/lib/libtcl85.so.1...done. Loaded symbols for /usr/local/lib/libtcl85.so.1 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/lib/liblzma.so.5...done. Loaded symbols for /usr/lib/liblzma.so.5 Reading symbols from /usr/local/lib/libexecinfo.so.1...done. Loaded symbols for /usr/local/lib/libexecinfo.so.1 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/lib/libsupc++.so.1...done. Loaded symbols for /usr/lib/libsupc++.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 UnixNetVConnection::do_io_write (this=0x81b5cc240, c=0xfab8, nbytes=0, reader=0x0, owner=false) at Ptr.h:414 414 Ptr.h: No such file or directory. in Ptr.h [New Thread 8050e8c00 (LWP 100933/traffic_server)] [New Thread 8050e8800 (LWP 100932/traffic_server)] [New Thread 8050e8400 (LWP 100931/traffic_server)] [New Thread 8050e8000 (LWP 100930/traffic_server)] [New Thread 8050e7c00 (LWP 100929/traffic_server)] [New Thread 80380e400 (LWP 100928/traffic_server)] [New Thread 80380e000 (LWP 100927/traffic_server)] [New Thread 80380dc00 (LWP 100926/traffic_server)] [New Thread 80380d800 (LWP 100925/traffic_server)] [New Thread 80380d400 (LWP 100924/traffic_server)] [New Thread 80380d000 (LWP 100923/traffic_server)] [New Thread 80380cc00 (LWP 100922/traffic_server)] [New Thread 80380c800 (LWP 100921/traffic_server)] [New Thread 80380c400 (LWP 100920/traffic_server)] [New Thread 80380c000 (LWP 100919/traffic_server)] [New Thread 80380bc00 (LWP 100918/traffic_server)] [New Thread 80380b800 (LWP 100917/traffic_server)] [New Thread 80380b400 (LWP 100916/traffic_server)] [New Thread 80380b000 (LWP 100915/traffic_server)] [New Thread 80380ac00 (LWP 100914/traffic_server)] [New Thread 80380a800 (LWP 100882/traffic_server)] [New Thread 80380a400 (LWP 100881/traffic_server)] [New Thread 80380a000 (LWP 100877/traffic_server)] [New Thread 803809c00 (LWP 100875/traffic_server)] [New Thread 803809800 (LWP 100874/traffic_server)] [New Thread 803809400 (LWP 100873/traffic_server)] [New Thread 803809000 (LWP 100872/traffic_server)] [New Thread 803808c00 (LWP 100871/traffic_server)] [New Thread 803808800 (LWP 100870/traffic_server)] [New Thread 803808400 (LWP 100869/traffic_server)] [New Thread 803807800 (LWP 100867/traffic_server)] [New Thread 803807400 (LWP 100241/traffic_server)] (gdb) bt #0 UnixNetVConnection::do_io_write (this=0x81b5cc240, c=0xfab8, nbytes=0, reader=0x0, owner=false) at Ptr.h:414 #1 0x00526a71 in HttpSessionManager::release_session (this=0x9aad60, to_release=0x8036dd860) at HttpSessionManager.cc:309 #2 0x0052ee22 in HttpSM::tunnel_handler_server (this=0x81b6c6e30, event=58905600, p=0x8036dd860) at HttpSM.cc:2893 #3 0x0057d92c in HttpTunnel::producer_handler (this=0x81b6c89c0, event=102, p=0x81b6c8bb8) at HttpTunnel.cc:1161 #4 0x0057deff in HttpTunnel::main_handler (this=0x81b6c89c0, event=value optimized out, data=value optimized out) at HttpTunnel.cc:1477 #5 0x0057e251 in chunked_reenable (p=0x81b6c8bb8, tunnel=0x81b6c89c0) at HttpTunnel.cc:73 #6 0x0057e42e in HttpTunnel::consumer_handler (this=0x81b6c89c0, event=101, c=0x81b6c8a68) at