Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 664
    • Issues 664
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #563
Closed
Open
Issue created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

Eigen crash for SparseMatrix when using conservativeResize and block expressions

Submitted by Clemens Hofreither

Assigned to Nobody

Link to original bugzilla bug (#563)
Version: 3.2

Description

The following code segfaults on the latest Eigen development branch:

////////////////////////////////////////////////////////

#include <Eigen/Sparse>

using namespace Eigen;

int main()
{
SparseMatrix<double> A(3, 3);
for (int i = 0; i < 3; ++i)
A.insert(i,i) = 1.0;

A.conservativeResize(3, 4);  

A.col(3) = A.col(2);  

}

////////////////////////////////////////////////////////

I understand this is still beta-level functionality, so take this bug report as you will.

Blocking

#387 (closed)

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking