You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2011/07/12 15:54:59 UTC

[jira] [Commented] (TS-858) traffic_server segmentation_fault when cache storage value is below 65M

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

Igor Galić commented on TS-858:
-------------------------------

Debug build:
{noformat}
igalic@tynix ~ % sudo  /opt/bw/bin/traffic_server  2>&1 | c++filt
[TrafficServer] using root directory '/opt/bw'
[Jul 12 15:52:28.286] {140242143131456} STATUS: opened /var/bwlog/trafficserver/logs/diags.log
[Jul 12 15:52:28.286] {140242143131456} NOTE: updated diags config
[Jul 12 15:52:28.289] Server {140242143131456} NOTE: cache clustering disabled
[Jul 12 15:52:28.304] Server {140242143131456} NOTE: cache clustering disabled
/opt/bw/bin/traffic_server - STACK TRACE: 
/opt/bw/lib/x86_64-linux-gnu/libtsutil.so.3(ink_malloc+0x3e)[0x7f8caadf0fbe]
/opt/bw/bin/traffic_server(CacheDisk::open(char*, long, long, int, int, bool)+0x158)[0x7f8cab4c6fa8]
/opt/bw/bin/traffic_server(CacheProcessor::start_internal(int)+0x5ce)[0x7f8cab4acdae]
/opt/bw/bin/traffic_server(main+0x176c)[0x7f8cab3155fc]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f8ca8b41eff]
/opt/bw/bin/traffic_server(+0xa2ab9)[0x7f8cab2cfab9]
FATAL: ink_malloc: couldn't allocate 0 bytes
/opt/bw/bin/traffic_server - STACK TRACE: 
/opt/bw/lib/x86_64-linux-gnu/libtsutil.so.3(ink_fatal_va+0xbb)[0x7f8caadeef9b]
/opt/bw/lib/x86_64-linux-gnu/libtsutil.so.3(ink_fatal+0x8c)[0x7f8caadef05c]
/opt/bw/lib/x86_64-linux-gnu/libtsutil.so.3(ink_malloc+0x54)[0x7f8caadf0fd4]
/opt/bw/bin/traffic_server(CacheDisk::open(char*, long, long, int, int, bool)+0x158)[0x7f8cab4c6fa8]
/opt/bw/bin/traffic_server(CacheProcessor::start_internal(int)+0x5ce)[0x7f8cab4acdae]
/opt/bw/bin/traffic_server(main+0x176c)[0x7f8cab3155fc]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f8ca8b41eff]
/opt/bw/bin/traffic_server(+0xa2ab9)[0x7f8cab2cfab9]
igalic@tynix ~ %
{noformat}

> traffic_server segmentation_fault when cache storage value is below 65M
> -----------------------------------------------------------------------
>
>                 Key: TS-858
>                 URL: https://issues.apache.org/jira/browse/TS-858
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 3.0.0
>         Environment: Fedora 14
>            Reporter: Kevin Giles
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> specify the storage as var/trafficserver 64M in the storage.conf, traffic_server will core dump upon launch, the following is the stack trace:
> {noformat}
> FATAL: Cache.cc:2293: failed assert `dpb && dpb->len == (uint64_t)b`
> traffic_server - STACK TRACE: 
> traffic_server(ink_fatal_va+0x8e)[0x82ef221]
> traffic_server(ink_fatal+0x1e)[0x82ef252]
> traffic_server(_ink_assert+0x90)[0x82eeb6c]
> traffic_server(cplist_reconfigure()+0x2fd)[0x8283054]
> traffic_server(CacheProcessor::diskInitialized()+0x19b)[0x827b7d1]
> traffic_server(CacheDisk::openDone(int, void*)+0x40)[0x8291142]
> traffic_server(CacheDisk::clearDone(int, void*)+0xcc)[0x8290eb2]
> traffic_server(Continuation::handleEvent(int, void*)+0x47)[0x810d871]
> traffic_server(AIOCallbackInternal::io_complete(int, void*)+0x2c)[0x82862c8]
> traffic_server(Continuation::handleEvent(int, void*)+0x47)[0x810d871]
> traffic_server(EThread::process_event(Event*, int)+0x10e)[0x82e83f2]
> traffic_server(EThread::execute()+0xa6)[0x82e862a]
> traffic_server[0x82e74b1]
> /lib/libpthread.so.0[0x658e99]
> /lib/libc.so.6(clone+0x5e)[0x59ed2e]
> {noformat}
> It will core dump everytime, if the cache size is set to 65M, traffic_server will launch  fine.

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