[Cbc] Cbc: examples segfault on master

ycollette.nospam at free.fr ycollette.nospam at free.fr
Mon Jan 29 09:18:41 EST 2018


Hello,

I identified two examples which are segfaulting on the current trunk:

 * sample1.cpp

Starting program: /home/crystal/repositories/coin/Cbc/build_debug/bin/sample1 /home/crystal/repositories/coin/Cbc/Data/Sample/exmip1.5.mps
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.26-24.fc27.x86_64
Coin0001I At line 30 NAME          EXAMPLE
Coin0001I At line 31 ROWS
Coin0001I At line 39 COLUMNS
Coin0001I At line 60 RHS
Coin0001I At line 67 RANGES
Coin0001I At line 70 BOUNDS
Coin0001I At line 77 ENDATA
Coin0002I Problem EXAMPLE has 6 rows, 8 columns and 17 elements
Clp0027I Model was imported from /home/crystal/repositories/coin/Cbc/Data/Sample/exmip1.5.mps in 0.000304 seconds
Input took 0.000376 seconds
Coin0507I Presolve determined that the problem was infeasible with tolerance of 1e-08
Presolve took 0.000148 seconds

Program received signal SIGSEGV, Segmentation fault.
0x000000000056e51c in OsiClpSolverInterface::OsiClpSolverInterface (this=0x7fffffffc450, rhs=0x0, reallyOwn=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /home/crystal/repositories/coin/Cbc/Clp/src/OsiClp/OsiClpSolverInterface.cpp:4946
4946      basis_.resize(modelPtr_->numberRows(),modelPtr_->numberColumns());
Missing separate debuginfos, use: dnf debuginfo-install libgcc-7.2.1-2.fc27.x86_64 libstdc++-7.2.1-2.fc27.x86_64
(gdb) where$
Undefined command: "where$".  Try "help".
(gdb) where
#0  0x000000000056e51c in OsiClpSolverInterface::OsiClpSolverInterface (this=0x7fffffffc450, rhs=0x0, reallyOwn=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /home/crystal/repositories/coin/Cbc/Clp/src/OsiClp/OsiClpSolverInterface.cpp:4946
#1  0x0000000000470920 in main (argc=<optimized out>, argv=<optimized out>) at /home/crystal/repositories/coin/Cbc/Cbc/examples/sample1.cpp:108

 * pdco.cpp

tarting program: /home/crystal/repositories/coin/Cbc/build_debug/bin/pdco /home/crystal/repositories/coin/Cbc/Data/Sample/afiro.mps
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.26-24.fc27.x86_64

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff71636dd in __GI__IO_vfscanf () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install libgcc-7.2.1-2.fc27.x86_64 libstdc++-7.2.1-2.fc27.x86_64
(gdb) where
#0  0x00007ffff71636dd in __GI__IO_vfscanf () from /lib64/libc.so.6
#1  0x00007ffff7173424 in fscanf () from /lib64/libc.so.6
#2  0x000000000043d7cd in myPdco::myPdco (this=0x7fffffffced0, model=..., fpData=0x0, fpParam=0x0) at /home/crystal/repositories/coin/Cbc/Clp/examples/myPdco.cpp:207
#3  0x000000000043bd0a in main (argc=<optimized out>, argv=<optimized out>) at /home/crystal/repositories/coin/Cbc/Clp/examples/pdco.cpp:35

Best regards,

YC


More information about the Cbc mailing list