Closed bennibbelink closed 10 months ago
The fact that /home/conda/feedstock_root/
doesn't exist is a red herring. It's because that particular header is not in the same location on your machine as on the build machine.
This issue should most likely be reported over in the Cbc repo, not here. It seems unlikely to be related to conda. The seg fault is happening right away, as soon as Cbc is called, so if I had to guess, I would say it's most like some kind of user error (passing in an invalid argument or something).
I would suggest building Cbc with debugging enabled (this is easy in Linux, see the README) and just running it through a debugger (or even valgrind). At the very least, this will give you a backtrace with line numbers. Even if you can't find the problem yourself, this is the kind of information we would need to debug anything on our side. It would be difficult to figure anything out just from what's posted here. If we can't help you find the error yourself, then we'll eventually need a way to replicate the error easily.
Thanks for the quick response! I will do as you suggest and build Cbc with debugging to try to track down the real source of the segfault.
Closing this issue and will report in the Cbc repo if necessary.
Solution to issue cannot be found in the documentation.
Issue
I have installed libCbcSolver using
mamba install coincbc
, however when I run my program that I experience a segfault - gdb output below:The backtrace points to files in
/home/conda/feedstock_root/...
, but this directory does not exist (my base env is at/opt/conda
. Is there something I need to do to configure my environment with this conda package, or does this look like a problem with the feedstock? I'm running this in a docker container built using this Dockerfile.Installed packages
Environment info