[jira] [Updated] (TS-3392) Static initialization order fiasco

2015-05-01 Thread Bin (JIRA)

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

Bin updated TS-3392:

Attachment: static_init_fiasco_4.diff

The fix has been updated. It should be able to be applied cleanly. 

> 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, static_init_fiasco_4.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)


[jira] [Updated] (TS-3392) Static initialization order fiasco

2015-02-16 Thread Bin (JIRA)

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

Bin updated TS-3392:

Attachment: (was: static_init_fiasco.diff)

> 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
> Fix For: 5.3.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)


[jira] [Updated] (TS-3392) Static initialization order fiasco

2015-02-16 Thread Bin (JIRA)

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

Bin updated TS-3392:

Attachment: static_init_fiasco_2.diff

Updated the patch according to the comments by Leif.

> 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
> Fix For: 5.3.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)


[jira] [Updated] (TS-3392) Static initialization order fiasco

2015-02-16 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3392:
--
Fix Version/s: 5.3.0

> 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
> Fix For: 5.3.0
>
> Attachments: static_init_fiasco.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)


[jira] [Updated] (TS-3392) Static initialization order fiasco

2015-02-16 Thread Bin (JIRA)

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

Bin updated TS-3392:

Attachment: static_init_fiasco.diff

The variable SVC_PROP_FLAGS in file WccpConfig.cc is never used. Thus it should 
be removed.

> 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
> Attachments: static_init_fiasco.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)