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 21:46:48 UTC

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

Phil Sorber created TS-2047:
-------------------------------

             Summary: 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


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