You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/07/18 03:26:00 UTC

[jira] [Commented] (TS-882) traffic_logstats dies when printing log

    [ https://issues.apache.org/jira/browse/TS-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066760#comment-13066760 ] 

Leif Hedstrom commented on TS-882:
----------------------------------

{code}
gdb) bt
#0  0x00007fff838b50b6 in __kill ()
#1  0x00007fff839559f6 in abort ()
#2  0x00000001000cdc8c in ink_fatal_va (return_code=<value temporarily unavailable, due to optimizations>, message_format=<value temporarily unavailable, due to optimizations>, ap=<value temporarily unavailable, due to optimizations>) at ink_error.cc:43
#3  0x00000001000cdddb in ink_fatal (return_code=<value temporarily unavailable, due to optimizations>, message_format=<value temporarily unavailable, due to optimizations>) at ink_error.cc:73
#4  0x00000001000cc5ff in _ink_assert (a=0x10004aea8 "setrlimit((RLIMCAST) which, &rl) >= 0", f=<value temporarily unavailable, due to optimizations>, l=96) at ink_assert.cc:44
#5  0x0000000100001dbe in max_out_limit (which=8, max_it=true) at LogStandalone.cc:96
#6  0x0000000100001e85 in init_system [inlined] () at /Users/leifh/apache/trafficserver.svn/proxy/logging/LogStandalone.cc:113
#7  0x0000000100001e85 in init_log_standalone_basic (pgm_name=<value temporarily unavailable, due to optimizations>) at LogStandalone.cc:300
#8  0x0000000100002026 in main (argc=<value temporarily unavailable, due to optimizations>, argv=0x7fff5fbffa80) at logcat.cc:276
{code}

> traffic_logstats dies when printing log
> ---------------------------------------
>
>                 Key: TS-882
>                 URL: https://issues.apache.org/jira/browse/TS-882
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 3.0.0
>         Environment: Mac OSX 10.6.8
>            Reporter: Alan Cabrera
>              Labels: crash
>             Fix For: 3.1.0
>
>
> {code}
> [daruma:trafficserver 598]$ ./bin/traffic_logstats  -l var/log/trafficserver/squid.blog 
> FATAL: ./logging/LogStandalone.cc:96: failed assert `setrlimit((RLIMCAST) which, &rl) >= 0`
> ./bin/traffic_logstats - STACK TRACE: 
> 0   libtsutil.3.dylib                   0x00000001000cbb6b ink_fatal + 123
> 1   libtsutil.3.dylib                   0x00000001000ca571 _ink_assert + 145
> 2   traffic_logstats                    0x00000001000052f4 _Z11init_systemv + 100
> 3   traffic_logstats                    0x000000010000538b _Z25init_log_standalone_basicPKc + 27
> 4   traffic_logstats                    0x00000001000055ab main + 411
> 5   traffic_logstats                    0x0000000100001484 start + 52
> 6   ???                                 0x0000000000000003 0x0 + 3
> Abort trap
> [daruma:trafficserver 599]$ ./bin/traffic_logstats  -f var/log/trafficserver/squid.blog 
> FATAL: ./logging/LogStandalone.cc:96: failed assert `setrlimit((RLIMCAST) which, &rl) >= 0`
> ./bin/traffic_logstats - STACK TRACE: 
> 0   libtsutil.3.dylib                   0x00000001000cbb6b ink_fatal + 123
> 1   libtsutil.3.dylib                   0x00000001000ca571 _ink_assert + 145
> 2   traffic_logstats                    0x00000001000052f4 _Z11init_systemv + 100
> 3   traffic_logstats                    0x000000010000538b _Z25init_log_standalone_basicPKc + 27
> 4   traffic_logstats                    0x00000001000055ab main + 411
> 5   traffic_logstats                    0x0000000100001484 start + 52
> 6   ???                                 0x0000000000000003 0x0 + 3
> Abort trap
> [daruma:trafficserver 600]$ ./bin/traffic_logstats
> FATAL: ./logging/LogStandalone.cc:96: failed assert `setrlimit((RLIMCAST) which, &rl) >= 0`
> ./bin/traffic_logstats - STACK TRACE: 
> 0   libtsutil.3.dylib                   0x00000001000cbb6b ink_fatal + 123
> 1   libtsutil.3.dylib                   0x00000001000ca571 _ink_assert + 145
> 2   traffic_logstats                    0x00000001000052f4 _Z11init_systemv + 100
> 3   traffic_logstats                    0x000000010000538b _Z25init_log_standalone_basicPKc + 27
> 4   traffic_logstats                    0x00000001000055ab main + 411
> 5   traffic_logstats                    0x0000000100001484 start + 52
> 6   ???                                 0x0000000000000001 0x0 + 1
> Abort trap
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira