[jira] [Updated] (TS-3841) LogAccess.cc assert failed when enabling custom log and stats_over_http plugin

2016-01-12 Thread Bryan Call (JIRA)

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

Bryan Call updated TS-3841:
---
Affects Version/s: 5.3.0

> LogAccess.cc assert failed when enabling custom log and stats_over_http plugin
> --
>
> Key: TS-3841
> URL: https://issues.apache.org/jira/browse/TS-3841
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Logging
>Affects Versions: 5.3.0, 6.0.0
>Reporter: taoyunxing
>Assignee: Bryan Call
> Fix For: 6.1.0
>
>
> when I enable both the custom log and stats_over_http plugin, I encounter the 
> following problem:
> {code}
> FATAL: LogAccess.cc:816: failed assert `actual_len < padded_len`
> Program received signal SIGABRT, Aborted.
> (gdb) bt
> #0  0x003d150328a5 in raise () from /lib64/libc.so.6
> #1  0x003d15034085 in abort () from /lib64/libc.so.6
> #2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
> #3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
> __va_list_tag *) (fmt=0x77dea738 "%s:%d: failed assert `%s`", 
> ap=0x75e1f430) at ink_error.cc:65
> #4  0x77dd88cd in ink_fatal (message_format=0x77dea738 "%s:%d: 
> failed assert `%s`") at ink_error.cc:73
> #5  0x77dd6272 in _ink_assert (expression=0x7e653b "actual_len < 
> padded_len", file=0x7e64c7 "LogAccess.cc", line=816) at ink_assert.cc:37
> #6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 "", 
> source=0x7e6539 "-", actual_len=1, padded_len=0) at LogAccess.cc:816
> #7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
> (this=0x75e1f7d0, buf=0x7fffec004358 "") at LogAccessHttp.cc:472
> #8  0x0067b441 in LogField::marshal (this=0x1110e80, 
> lad=0x75e1f7d0, buf=0x7fffec004358 "") at LogField.cc:276
> #9  0x0067bf5b in LogFieldList::marshal (this=0x110d5b0, 
> lad=0x75e1f7d0, buf=0x7fffec004318 "") at LogField.cc:574
> #10 0x0068b408 in LogObject::log (this=0x110d4e0, lad=0x75e1f7d0, 
> text_entry=0x0) at LogObject.cc:623
> #11 0x0068da22 in LogObjectManager::log (this=0x1116da8, 
> lad=0x75e1f7d0) at LogObject.cc:1331
> #12 0x00666d0e in Log::access (lad=0x75e1f7d0) at Log.cc:927
> #13 0x005f630d in HttpSM::kill_this (this=0x70ef1aa0) at 
> HttpSM.cc:6571
> #14 0x005e7184 in HttpSM::main_handler (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at HttpSM.cc:2567
> #15 0x00506166 in Continuation::handleEvent (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145
> #16 0x00635ad9 in HttpTunnel::main_handler (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at HttpTunnel.cc:1585
> #17 0x00506166 in Continuation::handleEvent (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at ../iocore/eventsystem/I_Continuation.h:145
> #18 0x00778bdb in write_signal_and_update (event=103, 
> vc=0x718b1f80) at UnixNetVConnection.cc:170
> #19 0x00778df3 in write_signal_done (event=103, nh=0x7622a780, 
> vc=0x718b1f80) at UnixNetVConnection.cc:212
> #20 0x00779f92 in write_to_net_io (nh=0x7622a780, 
> vc=0x718b1f80, thread=0x76227010) at UnixNetVConnection.cc:530
> #21 0x007796e9 in write_to_net (nh=0x7622a780, vc=0x718b1f80, 
> thread=0x76227010) at UnixNetVConnection.cc:384
> #22 0x0077245a in NetHandler::mainNetEvent (this=0x7622a780, 
> event=5, e=0x75a1eb40) at UnixNet.cc:562
> #23 0x00506166 in Continuation::handleEvent (this=0x7622a780, 
> event=5, data=0x75a1eb40) at ../iocore/eventsystem/I_Continuation.h:145
> #24 0x0079aa26 in EThread::process_event (this=0x76227010, 
> e=0x75a1eb40, calling_code=5) at UnixEThread.cc:128
> #25 0x0079b047 in EThread::execute (this=0x76227010) at 
> UnixEThread.cc:252
> #26 0x00799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85
> #27 0x003d15407851 in start_thread () from /lib64/libpthread.so.0
> #28 0x003d150e767d in clone () from /lib64/libc.so.6
> (gdb)
> {code}



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


[jira] [Updated] (TS-3841) LogAccess.cc assert failed when enabling custom log and stats_over_http plugin

2016-01-12 Thread Bryan Call (JIRA)

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

Bryan Call updated TS-3841:
---
Affects Version/s: 6.0.0

> LogAccess.cc assert failed when enabling custom log and stats_over_http plugin
> --
>
> Key: TS-3841
> URL: https://issues.apache.org/jira/browse/TS-3841
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Logging
>Affects Versions: 5.3.0, 6.0.0
>Reporter: taoyunxing
>Assignee: Bryan Call
> Fix For: 6.1.0
>
>
> when I enable both the custom log and stats_over_http plugin, I encounter the 
> following problem:
> {code}
> FATAL: LogAccess.cc:816: failed assert `actual_len < padded_len`
> Program received signal SIGABRT, Aborted.
> (gdb) bt
> #0  0x003d150328a5 in raise () from /lib64/libc.so.6
> #1  0x003d15034085 in abort () from /lib64/libc.so.6
> #2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
> #3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
> __va_list_tag *) (fmt=0x77dea738 "%s:%d: failed assert `%s`", 
> ap=0x75e1f430) at ink_error.cc:65
> #4  0x77dd88cd in ink_fatal (message_format=0x77dea738 "%s:%d: 
> failed assert `%s`") at ink_error.cc:73
> #5  0x77dd6272 in _ink_assert (expression=0x7e653b "actual_len < 
> padded_len", file=0x7e64c7 "LogAccess.cc", line=816) at ink_assert.cc:37
> #6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 "", 
> source=0x7e6539 "-", actual_len=1, padded_len=0) at LogAccess.cc:816
> #7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
> (this=0x75e1f7d0, buf=0x7fffec004358 "") at LogAccessHttp.cc:472
> #8  0x0067b441 in LogField::marshal (this=0x1110e80, 
> lad=0x75e1f7d0, buf=0x7fffec004358 "") at LogField.cc:276
> #9  0x0067bf5b in LogFieldList::marshal (this=0x110d5b0, 
> lad=0x75e1f7d0, buf=0x7fffec004318 "") at LogField.cc:574
> #10 0x0068b408 in LogObject::log (this=0x110d4e0, lad=0x75e1f7d0, 
> text_entry=0x0) at LogObject.cc:623
> #11 0x0068da22 in LogObjectManager::log (this=0x1116da8, 
> lad=0x75e1f7d0) at LogObject.cc:1331
> #12 0x00666d0e in Log::access (lad=0x75e1f7d0) at Log.cc:927
> #13 0x005f630d in HttpSM::kill_this (this=0x70ef1aa0) at 
> HttpSM.cc:6571
> #14 0x005e7184 in HttpSM::main_handler (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at HttpSM.cc:2567
> #15 0x00506166 in Continuation::handleEvent (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145
> #16 0x00635ad9 in HttpTunnel::main_handler (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at HttpTunnel.cc:1585
> #17 0x00506166 in Continuation::handleEvent (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at ../iocore/eventsystem/I_Continuation.h:145
> #18 0x00778bdb in write_signal_and_update (event=103, 
> vc=0x718b1f80) at UnixNetVConnection.cc:170
> #19 0x00778df3 in write_signal_done (event=103, nh=0x7622a780, 
> vc=0x718b1f80) at UnixNetVConnection.cc:212
> #20 0x00779f92 in write_to_net_io (nh=0x7622a780, 
> vc=0x718b1f80, thread=0x76227010) at UnixNetVConnection.cc:530
> #21 0x007796e9 in write_to_net (nh=0x7622a780, vc=0x718b1f80, 
> thread=0x76227010) at UnixNetVConnection.cc:384
> #22 0x0077245a in NetHandler::mainNetEvent (this=0x7622a780, 
> event=5, e=0x75a1eb40) at UnixNet.cc:562
> #23 0x00506166 in Continuation::handleEvent (this=0x7622a780, 
> event=5, data=0x75a1eb40) at ../iocore/eventsystem/I_Continuation.h:145
> #24 0x0079aa26 in EThread::process_event (this=0x76227010, 
> e=0x75a1eb40, calling_code=5) at UnixEThread.cc:128
> #25 0x0079b047 in EThread::execute (this=0x76227010) at 
> UnixEThread.cc:252
> #26 0x00799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85
> #27 0x003d15407851 in start_thread () from /lib64/libpthread.so.0
> #28 0x003d150e767d in clone () from /lib64/libc.so.6
> (gdb)
> {code}



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


[jira] [Updated] (TS-3841) LogAccess.cc assert failed when enabling custom log and stats_over_http plugin

2016-01-11 Thread Bryan Call (JIRA)

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

Bryan Call updated TS-3841:
---
Fix Version/s: (was: 6.1.0)
   6.2.0

> LogAccess.cc assert failed when enabling custom log and stats_over_http plugin
> --
>
> Key: TS-3841
> URL: https://issues.apache.org/jira/browse/TS-3841
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Logging
>Reporter: taoyunxing
>Assignee: Bryan Call
> Fix For: 6.2.0
>
>
> when I enable both the custom log and stats_over_http plugin, I encounter the 
> following problem:
> {code}
> FATAL: LogAccess.cc:816: failed assert `actual_len < padded_len`
> Program received signal SIGABRT, Aborted.
> (gdb) bt
> #0  0x003d150328a5 in raise () from /lib64/libc.so.6
> #1  0x003d15034085 in abort () from /lib64/libc.so.6
> #2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
> #3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
> __va_list_tag *) (fmt=0x77dea738 "%s:%d: failed assert `%s`", 
> ap=0x75e1f430) at ink_error.cc:65
> #4  0x77dd88cd in ink_fatal (message_format=0x77dea738 "%s:%d: 
> failed assert `%s`") at ink_error.cc:73
> #5  0x77dd6272 in _ink_assert (expression=0x7e653b "actual_len < 
> padded_len", file=0x7e64c7 "LogAccess.cc", line=816) at ink_assert.cc:37
> #6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 "", 
> source=0x7e6539 "-", actual_len=1, padded_len=0) at LogAccess.cc:816
> #7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
> (this=0x75e1f7d0, buf=0x7fffec004358 "") at LogAccessHttp.cc:472
> #8  0x0067b441 in LogField::marshal (this=0x1110e80, 
> lad=0x75e1f7d0, buf=0x7fffec004358 "") at LogField.cc:276
> #9  0x0067bf5b in LogFieldList::marshal (this=0x110d5b0, 
> lad=0x75e1f7d0, buf=0x7fffec004318 "") at LogField.cc:574
> #10 0x0068b408 in LogObject::log (this=0x110d4e0, lad=0x75e1f7d0, 
> text_entry=0x0) at LogObject.cc:623
> #11 0x0068da22 in LogObjectManager::log (this=0x1116da8, 
> lad=0x75e1f7d0) at LogObject.cc:1331
> #12 0x00666d0e in Log::access (lad=0x75e1f7d0) at Log.cc:927
> #13 0x005f630d in HttpSM::kill_this (this=0x70ef1aa0) at 
> HttpSM.cc:6571
> #14 0x005e7184 in HttpSM::main_handler (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at HttpSM.cc:2567
> #15 0x00506166 in Continuation::handleEvent (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145
> #16 0x00635ad9 in HttpTunnel::main_handler (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at HttpTunnel.cc:1585
> #17 0x00506166 in Continuation::handleEvent (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at ../iocore/eventsystem/I_Continuation.h:145
> #18 0x00778bdb in write_signal_and_update (event=103, 
> vc=0x718b1f80) at UnixNetVConnection.cc:170
> #19 0x00778df3 in write_signal_done (event=103, nh=0x7622a780, 
> vc=0x718b1f80) at UnixNetVConnection.cc:212
> #20 0x00779f92 in write_to_net_io (nh=0x7622a780, 
> vc=0x718b1f80, thread=0x76227010) at UnixNetVConnection.cc:530
> #21 0x007796e9 in write_to_net (nh=0x7622a780, vc=0x718b1f80, 
> thread=0x76227010) at UnixNetVConnection.cc:384
> #22 0x0077245a in NetHandler::mainNetEvent (this=0x7622a780, 
> event=5, e=0x75a1eb40) at UnixNet.cc:562
> #23 0x00506166 in Continuation::handleEvent (this=0x7622a780, 
> event=5, data=0x75a1eb40) at ../iocore/eventsystem/I_Continuation.h:145
> #24 0x0079aa26 in EThread::process_event (this=0x76227010, 
> e=0x75a1eb40, calling_code=5) at UnixEThread.cc:128
> #25 0x0079b047 in EThread::execute (this=0x76227010) at 
> UnixEThread.cc:252
> #26 0x00799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85
> #27 0x003d15407851 in start_thread () from /lib64/libpthread.so.0
> #28 0x003d150e767d in clone () from /lib64/libc.so.6
> (gdb)
> {code}



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


[jira] [Updated] (TS-3841) LogAccess.cc assert failed when enabling custom log and stats_over_http plugin

2015-12-16 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3841:
--
Assignee: Bryan Call  (was: Leif Hedstrom)

> LogAccess.cc assert failed when enabling custom log and stats_over_http plugin
> --
>
> Key: TS-3841
> URL: https://issues.apache.org/jira/browse/TS-3841
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Logging
>Reporter: taoyunxing
>Assignee: Bryan Call
> Fix For: 6.1.0
>
>
> when I enable both the custom log and stats_over_http plugin, I encounter the 
> following problem:
> {code}
> FATAL: LogAccess.cc:816: failed assert `actual_len < padded_len`
> Program received signal SIGABRT, Aborted.
> (gdb) bt
> #0  0x003d150328a5 in raise () from /lib64/libc.so.6
> #1  0x003d15034085 in abort () from /lib64/libc.so.6
> #2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
> #3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
> __va_list_tag *) (fmt=0x77dea738 "%s:%d: failed assert `%s`", 
> ap=0x75e1f430) at ink_error.cc:65
> #4  0x77dd88cd in ink_fatal (message_format=0x77dea738 "%s:%d: 
> failed assert `%s`") at ink_error.cc:73
> #5  0x77dd6272 in _ink_assert (expression=0x7e653b "actual_len < 
> padded_len", file=0x7e64c7 "LogAccess.cc", line=816) at ink_assert.cc:37
> #6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 "", 
> source=0x7e6539 "-", actual_len=1, padded_len=0) at LogAccess.cc:816
> #7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
> (this=0x75e1f7d0, buf=0x7fffec004358 "") at LogAccessHttp.cc:472
> #8  0x0067b441 in LogField::marshal (this=0x1110e80, 
> lad=0x75e1f7d0, buf=0x7fffec004358 "") at LogField.cc:276
> #9  0x0067bf5b in LogFieldList::marshal (this=0x110d5b0, 
> lad=0x75e1f7d0, buf=0x7fffec004318 "") at LogField.cc:574
> #10 0x0068b408 in LogObject::log (this=0x110d4e0, lad=0x75e1f7d0, 
> text_entry=0x0) at LogObject.cc:623
> #11 0x0068da22 in LogObjectManager::log (this=0x1116da8, 
> lad=0x75e1f7d0) at LogObject.cc:1331
> #12 0x00666d0e in Log::access (lad=0x75e1f7d0) at Log.cc:927
> #13 0x005f630d in HttpSM::kill_this (this=0x70ef1aa0) at 
> HttpSM.cc:6571
> #14 0x005e7184 in HttpSM::main_handler (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at HttpSM.cc:2567
> #15 0x00506166 in Continuation::handleEvent (this=0x70ef1aa0, 
> event=2301, data=0x70ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145
> #16 0x00635ad9 in HttpTunnel::main_handler (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at HttpTunnel.cc:1585
> #17 0x00506166 in Continuation::handleEvent (this=0x70ef2ef8, 
> event=103, data=0x718b2110) at ../iocore/eventsystem/I_Continuation.h:145
> #18 0x00778bdb in write_signal_and_update (event=103, 
> vc=0x718b1f80) at UnixNetVConnection.cc:170
> #19 0x00778df3 in write_signal_done (event=103, nh=0x7622a780, 
> vc=0x718b1f80) at UnixNetVConnection.cc:212
> #20 0x00779f92 in write_to_net_io (nh=0x7622a780, 
> vc=0x718b1f80, thread=0x76227010) at UnixNetVConnection.cc:530
> #21 0x007796e9 in write_to_net (nh=0x7622a780, vc=0x718b1f80, 
> thread=0x76227010) at UnixNetVConnection.cc:384
> #22 0x0077245a in NetHandler::mainNetEvent (this=0x7622a780, 
> event=5, e=0x75a1eb40) at UnixNet.cc:562
> #23 0x00506166 in Continuation::handleEvent (this=0x7622a780, 
> event=5, data=0x75a1eb40) at ../iocore/eventsystem/I_Continuation.h:145
> #24 0x0079aa26 in EThread::process_event (this=0x76227010, 
> e=0x75a1eb40, calling_code=5) at UnixEThread.cc:128
> #25 0x0079b047 in EThread::execute (this=0x76227010) at 
> UnixEThread.cc:252
> #26 0x00799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85
> #27 0x003d15407851 in start_thread () from /lib64/libpthread.so.0
> #28 0x003d150e767d in clone () from /lib64/libc.so.6
> (gdb)
> {code}



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


[jira] [Updated] (TS-3841) LogAccess.cc assert failed when enabling custom log and stats_over_http plugin

2015-09-08 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3841:
--
Description: 
when I enable both the custom log and stats_over_http plugin, I encounter the 
following problem:
{code}
FATAL: LogAccess.cc:816: failed assert `actual_len < padded_len`
Program received signal SIGABRT, Aborted.

(gdb) bt
#0  0x003d150328a5 in raise () from /lib64/libc.so.6
#1  0x003d15034085 in abort () from /lib64/libc.so.6
#2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
#3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
__va_list_tag *) (fmt=0x77dea738 "%s:%d: failed assert `%s`", 
ap=0x75e1f430) at ink_error.cc:65
#4  0x77dd88cd in ink_fatal (message_format=0x77dea738 "%s:%d: 
failed assert `%s`") at ink_error.cc:73
#5  0x77dd6272 in _ink_assert (expression=0x7e653b "actual_len < 
padded_len", file=0x7e64c7 "LogAccess.cc", line=816) at ink_assert.cc:37
#6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 "", 
source=0x7e6539 "-", actual_len=1, padded_len=0) at LogAccess.cc:816
#7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
(this=0x75e1f7d0, buf=0x7fffec004358 "") at LogAccessHttp.cc:472
#8  0x0067b441 in LogField::marshal (this=0x1110e80, 
lad=0x75e1f7d0, buf=0x7fffec004358 "") at LogField.cc:276
#9  0x0067bf5b in LogFieldList::marshal (this=0x110d5b0, 
lad=0x75e1f7d0, buf=0x7fffec004318 "") at LogField.cc:574
#10 0x0068b408 in LogObject::log (this=0x110d4e0, lad=0x75e1f7d0, 
text_entry=0x0) at LogObject.cc:623
#11 0x0068da22 in LogObjectManager::log (this=0x1116da8, 
lad=0x75e1f7d0) at LogObject.cc:1331
#12 0x00666d0e in Log::access (lad=0x75e1f7d0) at Log.cc:927
#13 0x005f630d in HttpSM::kill_this (this=0x70ef1aa0) at 
HttpSM.cc:6571
#14 0x005e7184 in HttpSM::main_handler (this=0x70ef1aa0, 
event=2301, data=0x70ef2ef8) at HttpSM.cc:2567
#15 0x00506166 in Continuation::handleEvent (this=0x70ef1aa0, 
event=2301, data=0x70ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145
#16 0x00635ad9 in HttpTunnel::main_handler (this=0x70ef2ef8, 
event=103, data=0x718b2110) at HttpTunnel.cc:1585
#17 0x00506166 in Continuation::handleEvent (this=0x70ef2ef8, 
event=103, data=0x718b2110) at ../iocore/eventsystem/I_Continuation.h:145
#18 0x00778bdb in write_signal_and_update (event=103, 
vc=0x718b1f80) at UnixNetVConnection.cc:170
#19 0x00778df3 in write_signal_done (event=103, nh=0x7622a780, 
vc=0x718b1f80) at UnixNetVConnection.cc:212
#20 0x00779f92 in write_to_net_io (nh=0x7622a780, 
vc=0x718b1f80, thread=0x76227010) at UnixNetVConnection.cc:530
#21 0x007796e9 in write_to_net (nh=0x7622a780, vc=0x718b1f80, 
thread=0x76227010) at UnixNetVConnection.cc:384
#22 0x0077245a in NetHandler::mainNetEvent (this=0x7622a780, 
event=5, e=0x75a1eb40) at UnixNet.cc:562
#23 0x00506166 in Continuation::handleEvent (this=0x7622a780, 
event=5, data=0x75a1eb40) at ../iocore/eventsystem/I_Continuation.h:145
#24 0x0079aa26 in EThread::process_event (this=0x76227010, 
e=0x75a1eb40, calling_code=5) at UnixEThread.cc:128
#25 0x0079b047 in EThread::execute (this=0x76227010) at 
UnixEThread.cc:252
#26 0x00799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85
#27 0x003d15407851 in start_thread () from /lib64/libpthread.so.0
#28 0x003d150e767d in clone () from /lib64/libc.so.6
(gdb)
{code}


  was:
when I enable both the custom log and stats_over_http plugin, I encounter the 
following problem:
FATAL: LogAccess.cc:816: failed assert `actual_len < padded_len`
Program received signal SIGABRT, Aborted.

(gdb) bt
#0  0x003d150328a5 in raise () from /lib64/libc.so.6
#1  0x003d15034085 in abort () from /lib64/libc.so.6
#2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
#3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
__va_list_tag *) (fmt=0x77dea738 "%s:%d: failed assert `%s`", 
ap=0x75e1f430) at ink_error.cc:65
#4  0x77dd88cd in ink_fatal (message_format=0x77dea738 "%s:%d: 
failed assert `%s`") at ink_error.cc:73
#5  0x77dd6272 in _ink_assert (expression=0x7e653b "actual_len < 
padded_len", file=0x7e64c7 "LogAccess.cc", line=816) at ink_assert.cc:37
#6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 "", 
source=0x7e6539 "-", actual_len=1, padded_len=0) at LogAccess.cc:816
#7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
(this=0x75e1f7d0, buf=0x7fffec004358 "") at LogAccessHttp.cc:472
#8  0x0067b441 in LogField::marshal (this=0x1110e80, 
lad=0x75e1f7d0, buf=0x7fffec004358 "") at LogField.cc:276
#9  

[jira] [Updated] (TS-3841) LogAccess.cc assert failed when enabling custom log and stats_over_http plugin

2015-08-17 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3841:
--
Assignee: Leif Hedstrom

 LogAccess.cc assert failed when enabling custom log and stats_over_http plugin
 --

 Key: TS-3841
 URL: https://issues.apache.org/jira/browse/TS-3841
 Project: Traffic Server
  Issue Type: Bug
  Components: Logging
Reporter: taoyunxing
Assignee: Leif Hedstrom
 Fix For: 6.1.0


 when I enable both the custom log and stats_over_http plugin, I encounter the 
 following problem:
 FATAL: LogAccess.cc:816: failed assert `actual_len  padded_len`
 Program received signal SIGABRT, Aborted.
 (gdb) bt
 #0  0x003d150328a5 in raise () from /lib64/libc.so.6
 #1  0x003d15034085 in abort () from /lib64/libc.so.6
 #2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
 #3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
 __va_list_tag *) (fmt=0x77dea738 %s:%d: failed assert `%s`, 
 ap=0x75e1f430) at ink_error.cc:65
 #4  0x77dd88cd in ink_fatal (message_format=0x77dea738 %s:%d: 
 failed assert `%s`) at ink_error.cc:73
 #5  0x77dd6272 in _ink_assert (expression=0x7e653b actual_len  
 padded_len, file=0x7e64c7 LogAccess.cc, line=816) at ink_assert.cc:37
 #6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 , 
 source=0x7e6539 -, actual_len=1, padded_len=0) at LogAccess.cc:816
 #7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
 (this=0x75e1f7d0, buf=0x7fffec004358 ) at LogAccessHttp.cc:472
 #8  0x0067b441 in LogField::marshal (this=0x1110e80, 
 lad=0x75e1f7d0, buf=0x7fffec004358 ) at LogField.cc:276
 #9  0x0067bf5b in LogFieldList::marshal (this=0x110d5b0, 
 lad=0x75e1f7d0, buf=0x7fffec004318 ) at LogField.cc:574
 #10 0x0068b408 in LogObject::log (this=0x110d4e0, lad=0x75e1f7d0, 
 text_entry=0x0) at LogObject.cc:623
 #11 0x0068da22 in LogObjectManager::log (this=0x1116da8, 
 lad=0x75e1f7d0) at LogObject.cc:1331
 #12 0x00666d0e in Log::access (lad=0x75e1f7d0) at Log.cc:927
 #13 0x005f630d in HttpSM::kill_this (this=0x70ef1aa0) at 
 HttpSM.cc:6571
 #14 0x005e7184 in HttpSM::main_handler (this=0x70ef1aa0, 
 event=2301, data=0x70ef2ef8) at HttpSM.cc:2567
 #15 0x00506166 in Continuation::handleEvent (this=0x70ef1aa0, 
 event=2301, data=0x70ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145
 #16 0x00635ad9 in HttpTunnel::main_handler (this=0x70ef2ef8, 
 event=103, data=0x718b2110) at HttpTunnel.cc:1585
 #17 0x00506166 in Continuation::handleEvent (this=0x70ef2ef8, 
 event=103, data=0x718b2110) at ../iocore/eventsystem/I_Continuation.h:145
 #18 0x00778bdb in write_signal_and_update (event=103, 
 vc=0x718b1f80) at UnixNetVConnection.cc:170
 #19 0x00778df3 in write_signal_done (event=103, nh=0x7622a780, 
 vc=0x718b1f80) at UnixNetVConnection.cc:212
 #20 0x00779f92 in write_to_net_io (nh=0x7622a780, 
 vc=0x718b1f80, thread=0x76227010) at UnixNetVConnection.cc:530
 #21 0x007796e9 in write_to_net (nh=0x7622a780, vc=0x718b1f80, 
 thread=0x76227010) at UnixNetVConnection.cc:384
 #22 0x0077245a in NetHandler::mainNetEvent (this=0x7622a780, 
 event=5, e=0x75a1eb40) at UnixNet.cc:562
 #23 0x00506166 in Continuation::handleEvent (this=0x7622a780, 
 event=5, data=0x75a1eb40) at ../iocore/eventsystem/I_Continuation.h:145
 #24 0x0079aa26 in EThread::process_event (this=0x76227010, 
 e=0x75a1eb40, calling_code=5) at UnixEThread.cc:128
 #25 0x0079b047 in EThread::execute (this=0x76227010) at 
 UnixEThread.cc:252
 #26 0x00799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85
 #27 0x003d15407851 in start_thread () from /lib64/libpthread.so.0
 #28 0x003d150e767d in clone () from /lib64/libc.so.6
 (gdb)



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


[jira] [Updated] (TS-3841) LogAccess.cc assert failed when enabling custom log and stats_over_http plugin

2015-08-17 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3841:
--
Fix Version/s: 6.1.0

 LogAccess.cc assert failed when enabling custom log and stats_over_http plugin
 --

 Key: TS-3841
 URL: https://issues.apache.org/jira/browse/TS-3841
 Project: Traffic Server
  Issue Type: Bug
  Components: Logging
Reporter: taoyunxing
 Fix For: 6.1.0


 when I enable both the custom log and stats_over_http plugin, I encounter the 
 following problem:
 FATAL: LogAccess.cc:816: failed assert `actual_len  padded_len`
 Program received signal SIGABRT, Aborted.
 (gdb) bt
 #0  0x003d150328a5 in raise () from /lib64/libc.so.6
 #1  0x003d15034085 in abort () from /lib64/libc.so.6
 #2  0x77dd8751 in ink_die_die_die () at ink_error.cc:43
 #3  0x77dd8808 in ink_fatal_va(const char *, typedef __va_list_tag 
 __va_list_tag *) (fmt=0x77dea738 %s:%d: failed assert `%s`, 
 ap=0x75e1f430) at ink_error.cc:65
 #4  0x77dd88cd in ink_fatal (message_format=0x77dea738 %s:%d: 
 failed assert `%s`) at ink_error.cc:73
 #5  0x77dd6272 in _ink_assert (expression=0x7e653b actual_len  
 padded_len, file=0x7e64c7 LogAccess.cc, line=816) at ink_assert.cc:37
 #6  0x0066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 , 
 source=0x7e6539 -, actual_len=1, padded_len=0) at LogAccess.cc:816
 #7  0x0066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host 
 (this=0x75e1f7d0, buf=0x7fffec004358 ) at LogAccessHttp.cc:472
 #8  0x0067b441 in LogField::marshal (this=0x1110e80, 
 lad=0x75e1f7d0, buf=0x7fffec004358 ) at LogField.cc:276
 #9  0x0067bf5b in LogFieldList::marshal (this=0x110d5b0, 
 lad=0x75e1f7d0, buf=0x7fffec004318 ) at LogField.cc:574
 #10 0x0068b408 in LogObject::log (this=0x110d4e0, lad=0x75e1f7d0, 
 text_entry=0x0) at LogObject.cc:623
 #11 0x0068da22 in LogObjectManager::log (this=0x1116da8, 
 lad=0x75e1f7d0) at LogObject.cc:1331
 #12 0x00666d0e in Log::access (lad=0x75e1f7d0) at Log.cc:927
 #13 0x005f630d in HttpSM::kill_this (this=0x70ef1aa0) at 
 HttpSM.cc:6571
 #14 0x005e7184 in HttpSM::main_handler (this=0x70ef1aa0, 
 event=2301, data=0x70ef2ef8) at HttpSM.cc:2567
 #15 0x00506166 in Continuation::handleEvent (this=0x70ef1aa0, 
 event=2301, data=0x70ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145
 #16 0x00635ad9 in HttpTunnel::main_handler (this=0x70ef2ef8, 
 event=103, data=0x718b2110) at HttpTunnel.cc:1585
 #17 0x00506166 in Continuation::handleEvent (this=0x70ef2ef8, 
 event=103, data=0x718b2110) at ../iocore/eventsystem/I_Continuation.h:145
 #18 0x00778bdb in write_signal_and_update (event=103, 
 vc=0x718b1f80) at UnixNetVConnection.cc:170
 #19 0x00778df3 in write_signal_done (event=103, nh=0x7622a780, 
 vc=0x718b1f80) at UnixNetVConnection.cc:212
 #20 0x00779f92 in write_to_net_io (nh=0x7622a780, 
 vc=0x718b1f80, thread=0x76227010) at UnixNetVConnection.cc:530
 #21 0x007796e9 in write_to_net (nh=0x7622a780, vc=0x718b1f80, 
 thread=0x76227010) at UnixNetVConnection.cc:384
 #22 0x0077245a in NetHandler::mainNetEvent (this=0x7622a780, 
 event=5, e=0x75a1eb40) at UnixNet.cc:562
 #23 0x00506166 in Continuation::handleEvent (this=0x7622a780, 
 event=5, data=0x75a1eb40) at ../iocore/eventsystem/I_Continuation.h:145
 #24 0x0079aa26 in EThread::process_event (this=0x76227010, 
 e=0x75a1eb40, calling_code=5) at UnixEThread.cc:128
 #25 0x0079b047 in EThread::execute (this=0x76227010) at 
 UnixEThread.cc:252
 #26 0x00799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85
 #27 0x003d15407851 in start_thread () from /lib64/libpthread.so.0
 #28 0x003d150e767d in clone () from /lib64/libc.so.6
 (gdb)



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