lanl / clp

Go language bindings for the COIN-OR Linear Programming library
BSD 3-Clause "New" or "Revised" License
44 stars 3 forks source link

signal arrived during cgo execution #16

Open wangriyu opened 2 months ago

wangriyu commented 2 months ago
ClpSimplex.cpp:3702: bool ClpSimplex::createRim(int, bool, int): Assertion `fabs(obj[i]) < 1.0e25' failed.
SIGABRT: abort
PC=0x7f0499a5be2c m=8 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1317 [syscall]:
runtime.cgocall(0xc0d57f0, 0xc006e0d668)
        /usr/local/go/src/runtime/cgocall.go:157 +0x5c fp=0xc006e0d640 sp=0xc006e0d608 pc=0x43553dc
github.com/lanl/clp._Cfunc_simplex_primal(0x7f044c001030, 0x0, 0x0)
        _cgo_gotypes.go:516 +0x4c fp=0xc006e0d668 sp=0xc006e0d640 pc=0xbd4d72c
github.com/lanl/clp.(*Simplex).Primal(...)
        /opt/tiger/compile_path/pkg/mod/github.com/lanl/clp@v1.2.0/simplex.go:236

What's the problem?

wangriyu commented 2 months ago

Coin LP version 1.17.6, build Nov 27 2022

spakin commented 2 months ago

Could you please attach a small program that triggers the problem? I'll use that to diagnose and debug clp.