On Dec 8, 2013, at 8:30 PM, 英才 <[email protected]> wrote: > 1. Irregular appearance ,I have no idea to reproduce that. > 2. gdb with debug info
Can you print out the information that it’s segfaulting on ? — Leif > (gdb) bt > #0 object_size_get (s=0x2b7486bed228, header=0x2b7486bed908) at > ../../proxy/hdrs/HTTP.h:1489 > #1 HttpTransact::change_response_header_because_of_range_request > (s=0x2b7486bed228, header=0x2b7486bed908) at HttpTransact.cc:8700 > #2 0x000000000054d4a8 in HttpTransact::handle_content_length_header > (s=0x2b7486bed228, header=0x2b7486bed908, base=<value optimized out>) > at HttpTransact.cc:6559 > #3 0x000000000054d933 in HttpTransact::build_response (s=0x2b7486bed228, > base_response=0x2b7486bed9c8, outgoing_response=0x2b7486bed908, > outgoing_version=<value optimized out>, status_code=HTTP_STATUS_NONE, > reason_phrase=0x6c5c2c "None") at HttpTransact.cc:7682 > #4 0x000000000054e2b0 in build_response (s=0x2b7486bed228) at > HttpTransact.cc:7644 > #5 HttpTransact::handle_transform_ready (s=0x2b7486bed228) at > HttpTransact.cc:4577 > #6 0x000000000051c408 in HttpSM::call_transact_and_set_next_state > (this=0x2b7486bed1c0, f=<value optimized out>) at HttpSM.cc:6767 > #7 0x000000000052dc0d in HttpSM::state_response_wait_for_transform_read > (this=0x2b7486bed1c0, event=2000, data=0x2b74602a9aa0) > at HttpSM.cc:1210 > #8 0x0000000000533b88 in HttpSM::main_handler (this=0x2b7486bed1c0, > event=2000, data=0x2b74602a9aa0) at HttpSM.cc:2530 > #9 0x00000000004e9766 in handleEvent (this=0x2b74602a9a18, event=1) at > ../iocore/eventsystem/I_Continuation.h:146 > #10 TransformTerminus::handle_event (this=0x2b74602a9a18, event=1) at > Transform.cc:173 > #11 0x00000000006acd2f in handleEvent (this=0x2b7438707010, e=0x2b7470000120, > calling_code=1) at I_Continuation.h:146 > #12 EThread::process_event (this=0x2b7438707010, e=0x2b7470000120, > calling_code=1) at UnixEThread.cc:145 > #13 0x00000000006ad8ab in EThread::execute (this=0x2b7438707010) at > UnixEThread.cc:196 > #14 0x00000000006abbca in spawn_thread_internal (a=0x13d63c0) at Thread.cc:88 > #15 0x00002b7430f42851 in start_thread () from /lib64/libpthread.so.0 > #16 0x00002b7431f3894d in clone () from /lib64/libc.so.6 > > 在 2013年12月7日,下午11:41,Leif Hedstrom <[email protected]> 写道: > >> >> On Dec 6, 2013, at 10:23 PM, 英才 <[email protected]> wrote: >> >>> Centos 6 x86_64 >>> Build success >>> Segmentation fault after running a few hours >>> >> >> >> Well, dammit. Do you have any information on either: >> >> 1) How to reproduce this >> >> 2) Which line, and what the various variables around that code are set to ? >> >> — Leif >> >>> (gdb) bt >>> #0 0x000000000054d110 in >>> HttpTransact::change_response_header_because_of_range_request(HttpTransact::State*, >>> HTTPHdr*) () >>> #1 0x000000000054d4a8 in >>> HttpTransact::handle_content_length_header(HttpTransact::State*, HTTPHdr*, >>> HTTPHdr*) () >>> #2 0x000000000054d933 in >>> HttpTransact::build_response(HttpTransact::State*, HTTPHdr*, HTTPHdr*, >>> HTTPVersion, HTTPStatus, char const*) () >>> #3 0x000000000054e2b0 in >>> HttpTransact::handle_transform_ready(HttpTransact::State*) () >>> #4 0x000000000051c408 in HttpSM::call_transact_and_set_next_state(void >>> (*)(HttpTransact::State*)) () >>> #5 0x000000000052dc0d in >>> HttpSM::state_response_wait_for_transform_read(int, void*) () >>> #6 0x0000000000533b88 in HttpSM::main_handler(int, void*) () >>> #7 0x00000000004e9766 in TransformTerminus::handle_event(int, void*) () >>> #8 0x00000000006acd2f in EThread::process_event(Event*, int) () >>> #9 0x00000000006ad8ab in EThread::execute() () >>> #10 0x00000000006abbca in ?? () >>> #11 0x00002b090d90c851 in start_thread () from /lib64/libpthread.so.0 >>> #12 0x00002b090e90294d in clone () from /lib64/libc.so.6 >>> >>> 在 2013年12月6日,上午7:53,Igor Galić <[email protected]> 写道: >>> >>>> >>>> Hi folks, >>>> >>>> I've prepared a release for v4.1.2 (rc0), which is a bug fix release >>>> following our new release process and Versioning scheme: >>>> >>>> https://cwiki.apache.org/confluence/display/TS/Release+Management >>>> >>>> Changes since v4.0.2 are captured in the following Jira tickets: >>>> >>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310963&version=12325647 >>>> >>>> >>>> Information about upgrading to this release from v3.2.x is available at: >>>> >>>> https://cwiki.apache.org/confluence/display/TS/Upgrading+to+v4.0 >>>> >>>> The cache in this release is compatible with the previous 4.0.x releases. >>>> >>>> >>>> The artefacts are available for download at >>>> >>>> http://people.apache.org/~igalic/releases/ >>>> >>>> -rw-r--r-- 1 igalic igalic 6358857 Dec 5 22:19 >>>> trafficserver-4.1.2-rc0.tar.bz2 >>>> -rw-r--r-- 1 igalic igalic 836 Dec 5 22:19 >>>> trafficserver-4.1.2-rc0.tar.bz2.asc >>>> -rw-r--r-- 1 igalic igalic 66 Dec 5 22:19 >>>> trafficserver-4.1.2-rc0.tar.bz2.md5 >>>> -rw-r--r-- 1 igalic igalic 74 Dec 5 22:19 >>>> trafficserver-4.1.2-rc0.tar.bz2.sha1 >>>> >>>> >>>> MD5: cc9a4dfa88fe63f59de106602c06c9c4 >>>> SHA: 18ba9753057c10f3824562e2cbc9d3c3c08795db >>>> >>>> >>>> The vote is open until Tuesday, December 10th 2013. Lets makes sure this is >>>> another great release, so please everyone, download and test this version >>>> as >>>> much as you can. >>>> >>>> Thanks, >>>> >>>> -- Igor >>> >> >
