Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault running Symphony example after building from sources #185

Open
bug-catcher opened this issue Jan 25, 2022 Discussed in #184 · 0 comments
Open

Segfault running Symphony example after building from sources #185

bug-catcher opened this issue Jan 25, 2022 Discussed in #184 · 0 comments

Comments

@bug-catcher
Copy link

Discussed in #184

Originally posted by bug-catcher January 24, 2022
I'm trying to follow the instructions in the README to install the Coin-OR Symphony solver on my RHEL Linux machine. I cloned the latest master (72a92d7).
I believe the prebuilt binaries don't come with sensitivity analysis features enabled, so I'm trying to compile from source.
I tried installing the dependencies listed - Osi, Cgl, Clp, CoinUtils, Data, Osi ,ThirdParty Glpk - by fetching and building them using coinbrew. I had to run the configure command with the following options to get it to link:

/configure --enable-sensitivity-analysis=yes --with-osi-cflags="-I/home/opc/dist/include/coin/" --with-osi-lflags="/home/opc/build/Osi/0.108.7/src/Osi/libOsi.la" --with-cgl-cflags="-I/home/opc/dist/include/coin/" --with-cgl-lflags="/home/opc/build/Cgl/0.60.4/src/libCgl.la" --with-clp-cflags="-I/home/opc/dist/include/coin/" --with-clp-lflags="/home/opc/build/Clp/1.17/src/libClpSolver.la /home/opc/build/Clp/1.17/src/libClp.la" --with-coinutils-cflags="-I/home/opc/dist/include/coin/" --with-coinutils-lflags="/home/opc/build/CoinUtils/master/CoinUtils/src/libCoinUtils.la"
`
Then I ran

make && make install && cd Examples && make sensitivity

However I'm getting a segmentation fault when I run the sensitivity example with the sample MPS file in Datasets:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5bc28e4 in CoinMessageHandler::~CoinMessageHandler() () from /usr/local/lib/libCoinUtils.so.0
(gdb) bt
#0 0x00007ffff5bc28e4 in CoinMessageHandler::~CoinMessageHandler() () from /usr/local/lib/libCoinUtils.so.0
#1 0x00007ffff5bc2909 in CoinMessageHandler::~CoinMessageHandler() () from /usr/local/lib/libCoinUtils.so.0
#2 0x00007ffff6175f25 in ClpModel::borrowModel(ClpModel&) () from /home/opc/dist/lib/libClp.so.0
#3 0x00007ffff61dd551 in ClpSimplex::borrowModel(ClpSimplex&) () from /home/opc/dist/lib/libClp.so.0
#4 0x00007ffff673d436 in OsiClpSolverInterface::initialSolve() () from /home/opc/dist/lib/libOsiClp.so.0
#5 0x00007ffff7b913c1 in initial_lp_solve(LPDATA*, int*) () from /usr/local/lib/libSym.so.0
#6 0x00007ffff7b9bebb in fathom_branch(LP_PROB*) () from /usr/local/lib/libSym.so.0
#7 0x00007ffff7b9caa6 in process_chain(LP_PROB*) () from /usr/local/lib/libSym.so.0
#8 0x00007ffff7b8c933 in solve(TM_PROB*) () from /usr/local/lib/libSym.so.0
#9 0x00007ffff7b5f93d in sym_solve () from /usr/local/lib/libSym.so.0
#10 0x0000000000400914 in main ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant