[
https://issues.apache.org/jira/browse/TS-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524116#comment-14524116
]
ASF GitHub Bot commented on TS-3392:
------------------------------------
GitHub user zeb209 opened a pull request:
https://github.com/apache/trafficserver/pull/197
Fix for the static init fiasco bug TS-3392
This fix is rebased for the bug TS-3392.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zeb209/trafficserver static_init_fiasco
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/197.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #197
----
commit bcb692f33fdc8bfdd75c89f700d4ac3f90f90913
Author: Bin Zeng <[email protected]>
Date: 2015-04-23T18:22:20Z
Fix the header file missing error for out-of-tree build for cppapi.
commit 28fe444a1ce1a950291e299ae56605f36d670acd
Author: zeb209 <[email protected]>
Date: 2015-05-01T20:42:08Z
Merge branch 'master' of git://git.apache.org/trafficserver into
cppapi-out-of-tree-build
commit b6bfdf3d77e8365d04bb0082ed4abb55421c81d8
Author: zeb209 <[email protected]>
Date: 2015-05-01T22:13:54Z
Fix the static initialization fiasco bug TS-3392.
----
> Static initialization order fiasco
> ----------------------------------
>
> Key: TS-3392
> URL: https://issues.apache.org/jira/browse/TS-3392
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Bin
> Assignee: Leif Hedstrom
> Fix For: 6.0.0
>
> Attachments: static_init_fiasco_2.diff
>
>
> There is a static initialization order bug in ATS core on Mac OS X when it is
> configured with --enable-reclaimable-freelist. The static variable declared
> in file Arena.cc
> static Allocator defaultSizeArenaBlock("ArenaBlock", DEFAULT_ALLOC_SIZE);
> uses another static variable x_pthread_mutexattr_t _g_mattr declared in file
> ink_mutex.cc, which have not been initialized. It causes ATS to abort early.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)