You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Yunkai Zhang (JIRA)" <ji...@apache.org> on 2013/05/07 04:05:16 UTC
[jira] [Comment Edited] (TS-1735) reclaimable freelist causes core
in osx
[ https://issues.apache.org/jira/browse/TS-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650364#comment-13650364 ]
Yunkai Zhang edited comment on TS-1735 at 5/7/13 2:04 AM:
----------------------------------------------------------
According the mmap() manual on Darwin: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/mmap.2.html
It seems that we should use 'MAP_ANON' macro.
was (Author: yunkai):
According the mmap() manual on Darwin: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/mmap.2.html
It seems that we should use 'MAP_ANON' macro.
> reclaimable freelist causes core in osx
> ---------------------------------------
>
> Key: TS-1735
> URL: https://issues.apache.org/jira/browse/TS-1735
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Bryan Call
> Assignee: Bryan Call
> Fix For: 3.3.3
>
> Attachments: 0001-TS-1735-fix-initialization-of-_g_mattr.attr-V2.patch
>
>
> Global variable dependency and ininitialtion order can cause reclaimable freelist to core. Reclaimable freelist depends on a global mutex attribute.
> (gdb) bt
> #0 0x00007fff8fa17d46 in __kill ()
> #1 0x00007fff84824df0 in abort ()
> #2 0x00000001009ce697 in reclaimable_freelist_init (fl=<value temporarily unavailable, due to optimizations>, name=<value temporarily unavailable, due to optimizations>, type_size=<value temporarily unavailable, due to optimizations>, chunk_size=<value temporarily unavailable, due to optimizations>, alignment=<value temporarily unavailable, due to optimizations>) at ink_mutex.h:80
> #3 0x00007fff5fc13378 in __dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE ()
> #4 0x00007fff5fc13762 in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE ()
> #5 0x00007fff5fc1006e in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
> #6 0x00007fff5fc0ffc4 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
> #7 0x00007fff5fc0feba in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE ()
> #8 0x00007fff5fc01fc0 in __dyld__ZN4dyld24initializeMainExecutableEv ()
> #9 0x00007fff5fc05b04 in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_Pm ()
> #10 0x00007fff5fc01397 in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKclS2_Pm ()
> #11 0x00007fff5fc0105e in __dyld__dyld_start ()
--
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