You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Phil Sorber (JIRA)" <ji...@apache.org> on 2013/07/18 22:16:50 UTC

[jira] [Updated] (TS-2047) RamCacheCLFUSCompressor scheduled before RamCacheCLFUS initialization can cause seg fault if compressor runs before RamCacheCLFUS::init

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

Phil Sorber updated TS-2047:
----------------------------

    Fix Version/s: 3.3.5
    
> RamCacheCLFUSCompressor scheduled before RamCacheCLFUS initialization can cause seg fault if compressor runs before RamCacheCLFUS::init
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-2047
>                 URL: https://issues.apache.org/jira/browse/TS-2047
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Phil Sorber
>             Fix For: 3.3.5
>
>
> The RamCacheCLFUSCompressor is scheduled in the new_RamCacheCLFUS function instead of the init. If Vol init (and subsequently RamCacheCLFUS::init) takes too long the compressor may run before a vol is assigned to the RamCache and causes a segfault.
> I was able to reproduce this with --enable-debug and 18 volumes. This delayed the RamCache init long enough for this to hit.
> This may be the cause of TS-1612 as well, but it isn't clear from that bug report.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira