Skip to content

Segfault while using ColPack coloring method #59

@Saelyos

Description

@Saelyos

Hello,

I'm experiencing random segfaults when using the ColPack coloring method to compute a sparse jacobian. I can reproduce them with sparse_exemple. To make them occur more frequently I've changed the line of sparse.cpp:

Run( colpack_jacobian, "colpack_jacobian" );

with

for (int i = 0; i < 10000; i++) {
    Run( colpack_jacobian, "colpack_jacobian" );
}

This problem might be related to this issue: coin-or/Adol-C/19, and in that case the problem could come from ColPack. I'm not completely convinced it's the same issue, because the bug in Adol-C only appears with column coloring and not with row coloring, and CppAD uses row coloring.

Additional information

OS: Debian 10
CppAD version: 20200000.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions