[Coin-lpsolver] Clp crashes in netlib test

John J Forrest jjforre at us.ibm.com
Tue Oct 2 04:34:49 EDT 2007


Kim,

I can't help with debugging on Solaris but I have three suggestions -

1) If this has only recently started then the only culprit I can think of
is at line 1530 of ClpSimplexDual.cpp

      if ((specialOptions_&16384)==0)
              objective_ = new ClpLinearObjective(NULL,numberColumns_);

Try commenting out these two lines.

2) Try taking out -DNDEBUG from Makefiles.  I can see that all numbers are
far too bug and that might trigger an assert earlier.

3) Use "clp -log 63 -miplib".  This will produce a lot of output.  Send the
log file to me.

John Forrest


                                                                           
             "Kim Hansen"                                                  
             <kimhanse at gmail.c                                             
             om>                                                        To 
             Sent by:                  coin-lpsolver at list.coin-or.org      
             coin-lpsolver-bou                                          cc 
             nces at list.coin-or                                             
             .org                                                  Subject 
                                       [Coin-lpsolver] Clp crashes in      
                                       netlib test                         
             10/01/2007 04:58                                              
             PM                                                            
                                                                           
                                                                           
                                                                           
                                                                           




Hi,

I have tried to build clp a lot of different ways with Sun Studio 12
on Solaris 10 i386, but clp crashes in the netlib test. The only
working clp program I have build with Suns compiler was build totally
without optimization.

I don't know much about working with Solaris and Studio, the log I
have pasted in below is the first time I ran dbx. Can anyone suggest
where I should start debugging?


kim at maia:~/coin-clp/g0/Clp/src$
LD_LIBRARY_PATH="/export/home/kim/coin-clp/g0/Clp/src/.libs:/export/home/kim/coin-clp/g/Clp/../CoinUtils/src/.libs:$LD_LIBRARY_PATH"

kim at maia:~/coin-clp/g0/Clp/src$ dbx -r .libs/clp -netlib
Running: clp -netlib
(process id 11589)
Coin LP version 1.06.00, build Oct  1 2007
command line - /export/home/kim/coin-clp/g0/Clp/src/.libs/clp -netlib
Doing netlib with dual or primal algorithm
Testing ClpSimplex
[...]
Clp0006I 149  Obj 5.30315e+63 Primal inf 4.278e+32 (52) Dual inf
2.97313e+34 (27)
Clp0006I 151  Obj 1.57093e+64 Primal inf 2.21353e+33 (53) Dual inf
1.48573e+34 (33)
Clp0006I 154  Obj -1.66943e+63 Primal inf 5.93629e+33 (49) Dual inf
1.22451e+34 (25)
dbx: no symbol table loaded yet -- use "prog -readsyms" to load them
signal SEGV (no mapping at the fault address) at 0xfece4efd at 0xfece4efd
0x00000000fece4efd:     fstpl    (%edi,%eax,8)
Entering debugger ...
(dbx) prog -readsyms
Reading clp
[...]
Reading libm9x.so.0
(dbx) where
=>[1] CoinFactorization::updateColumnTranspose(this = ???,
regionSparse = ???, regionSparse2 = ???) (optimized), at 0xfece4efd
(line ~856) in "CoinFactorization3.cpp"
  [2] ClpFactorization::updateColumnTranspose(this = ???, regionSparse
= ???, regionSparse2 = ???) (optimized), at 0xfee5a66c (line ~863) in
"ClpFactorization.cpp"
  [3] ClpSimplexNonlinear::pivotColumn(this = ???, longArray = ???,
rowArray = ???, columnArray = ???, spare = ???, pivotMode = ???,
solutionError = ???, dArray = ???) (optimized), at 0xfef42514 (line
~2104) in "ClpSimplexNonlinear.cpp"
  [4] ClpSimplexNonlinear::whileIterating(this = ???, pivotMode = ???)
(optimized), at 0xfef3f917 (line ~658) in "ClpSimplexNonlinear.cpp"
  [5] ClpSimplexNonlinear::primal(this = ???) (optimized), at
0xfef3e546 (line ~162) in "ClpSimplexNonlinear.cpp"
  [6] ClpSimplex::reducedGradient(this = ???, phase = ???)
(optimized), at 0xfef12d6b (line ~4938) in "ClpSimplex.cpp"
  [7] ClpSimplex::primal(this = ???, ifValuesPass = ???,
startFinishOptions = ???) (optimized), at 0xfef12339 (line ~4722) in
"ClpSimplex.cpp"
  [8] ClpSimplexUnitTest(dirSample = CLASS) (optimized), at 0x809e8bc
(line ~1846) in "unitTest.cpp"
  [9] mainTest(argc = ???, argv = ???, algorithm = ???, empty = CLASS,
doPresolve = ???, switchOffValue = ???, doVector = ???) (optimized),
at 0x8087afc (line ~311) in "unitTest.cpp"
  [10] main(argc = ???, argv = ???) (optimized), at 0x80629f9 (line
~1513) in "ClpMain.cpp"
(dbx)

--
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Fastnet: 3956 2437  --  Mobil: 3091 2437

_______________________________________________
Coin-lpsolver mailing list
Coin-lpsolver at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-lpsolver






More information about the Clp mailing list