This bugzilla service is closed. All entries have been migrated to

Bug 795

Summary: use of allocate_shared should be added to notes on alignment
Product: Eigen Reporter: Phil <philip.miller>
Component: DocumentationAssignee: Nobody <eigen.nobody>
Severity: Documentation CC: chtz, gael.guennebaud, jacob.benoit.1, jitseniesen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 558    

Description Phil 2014-04-18 02:33:50 UTC
A note should be added to the alignment notes regarding use of allocate_shared.

One needs to use allocate_shared with the eigen aligned allocator when making shared_ptr objects. Use of make_shared may result in alignment errors similar to not using the aligned new allocator.
Comment 1 Christoph Hertzberg 2014-11-02 17:20:21 UTC
Similar issues can arise with boost::bind.
We also have notes about alignment on lots of different places, maybe we should join them to one single place and reference from everywhere to that.

Partially, links to non-existing sites exist:
These should be forwarded to an existing page (Maybe backporting bug 804 to 3.2 does the trick)
Comment 2 Gael Guennebaud 2016-02-12 21:22:48 UTC (3.2)
Summary:     Bug 795: mention allocate_shared as a candidate for aligned_allocator. (3.2)
Summary:     Import wiki's paragraph: "I disabled vectorization, but I'm still getting annoyed about alignment issues"

I've also fixed the broken links.
Comment 3 Nobody 2019-12-04 13:14:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: