[Coin-discuss] Errors when compiling new version

Francois Margot fmargot at andrew.cmu.edu
Wed Aug 10 05:53:37 EDT 2005


I have downloaded the new version of COIN on Monday. 
When evrything (and I mean everything) is compiled with -O, Bcp 
(not often, but sometimes) aborts with a message like

1 elements, first 286 - checkClear

I traced this to CoinIndexedVector::checkClear, called from Clp.
The stack of calls looks like:

#0  0x081b2f90 in CoinIndexedVector::checkClear ()
#1  0x081438d8 in ClpSimplex::createRim ()
#2  0x0814d7a8 in ClpSimplex::startup ()
#3  0x08155d37 in ClpSimplexDual::startupSolve ()
#4  0x08156585 in ClpSimplexDual::dual ()
#5  0x08147b7d in ClpSimplex::dual ()
#6  0x080f782d in OsiClpSolverInterface::initialSolve ()
#7  0x0807fab9 in BCP_lp_select_branching_object ()
#8  0x0807f0f3 in BCP_lp_branch ()
#9  0x08075553 in BCP_lp_main_loop ()
#10 0x0808420e in BCP_lp_prob::process_message ()
#11 0x0809b961 in BCP_single_environment::send ()
#12 0x080938ea in BCP_tm_send_node ()
#13 0x08092648 in BCP_tm_start_one_node ()
#14 0x08091df8 in BCP_tm_start_new_nodes ()
#15 0x0809b493 in BCP_single_environment::register_process ()
#16 0x0808b5d7 in main ()

This looks like a debugging check that fails. When everything is
compiled with -g, the error does not show up. I can not give a driver for
this, as the only examples I have where this happens are quite
complex (but valgrind does not see anything weirder than usual on these
examples).

Francois




More information about the Coin-discuss mailing list