eigen3-dev crashes because unstable

Bug #1750794 reported by Marco Camurri
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
eigen3 (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 16.04.3 LTS
Release: 16.04

libeigen3-dev:
  Installed: 3.3~beta1-2
  Candidate: 3.3~beta1-2
  Version table:
 *** 3.3~beta1-2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
        100 /var/lib/dpkg/status

The official version shipped with Ubuntu 16.04 LTS is an unstable branch of Eigen 3.3 (i.e. Eigen 3.3-beta1)

This is very inconvenient for a LTS version of Ubuntu, considering that even the following simple code gives SEGFAULT:

#include <iostream>
#include <Eigen/Dense>

using namespace std;
using namespace Eigen;

int main()
{
    Eigen::Vector3d b = Eigen::Vector3d::Random();
    Eigen::MatrixXd A = Eigen::MatrixXd::Random(3,3);

    std::cout << "The following code crashes from Eigen 3.3-beta1 to Eigen 3.3-RC1" << std::endl;
    std::cout << -A*b << std::endl;

    return 0;
}

I strongly suggest either to upgrade to the stable branch of 3.3 (i.e. 3.3.4) or the stable branch of the 3.2 (i.e., 3.2.10), for which the problem doesn't hold.

Note that I'd rather prefer not to install one of these stable versions myself, because lots of other packages for this release are built on top on the libeigen3-dev.

If I link those packages against my custom libraries, I would have two different versions of Eigen to co-exist in the same binary.

Marco Camurri (mcamurri)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eigen3 (Ubuntu):
status: New → Confirmed
Revision history for this message
Marco Camurri (mcamurri) wrote :

Is there any chance this bug can be at least considered?

Dylan Aïssi (daissi)
Changed in eigen3 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.