Opened 3 years ago

Last modified 4 months ago

#166 new defect

Random CBC 2.9.6 crashes

Reported by: dindy Owned by: tkr
Priority: major Component: Cbc
Version: Keywords:
Cc:

Description

Hello,

I'm experiencing random crashes with CBC 2.9.6. The problem is difficult to reproduce. Most of the times by running the same model many times it crashes just once. Looks like an uninitialized variable or something like that.

I already tried on different computers, with different operating systems (Win XP, Windows Server 2012, Linux) with CBC built with different compilers (mingw32 with gcc 4.8.1, mingw64 with gcc 4.9.2, an old Linux server with gcc 4.4.4).

I have been able to get a reproducible crash only under Linux, but if I recompile CBC with debug symbols enabled it doesn't crash anymore. So I'm able to provide only a call stack of the crash, no detailed informations, I hope it's enough.

I attach the model used to get the crash, an execution log and the call stack provided by gdb. Let me know if there's something more I could do.

Thanks in advance for any help.

Bye,

Attachments (5)

oct-34.mrop.5496.lp.gz (1.5 MB) - added by dindy 3 years ago.
Sample model
callstack.txt (2.4 KB) - added by dindy 3 years ago.
Call stack
executionlog.txt (5.7 KB) - added by dindy 3 years ago.
Execution log
oct-5001.mrop.3908.lp.gz (1.7 MB) - added by dindy 3 years ago.
Model with reproducible crash.
AssertionBacktrace.txt (2.0 KB) - added by dindy 3 years ago.
Backtrace on failed assertion.

Change History (9)

Changed 3 years ago by dindy

Sample model

Changed 3 years ago by dindy

Call stack

Changed 3 years ago by dindy

Execution log

comment:1 Changed 3 years ago by dindy

Hello,

after many attempts I've been able to get a reproducible crash with CBC compiled with debug enabled. An assertion fails:

Assertion failed: !cVector->getNumElements(), file ClpSimplex?.cpp, line 1374

I attached the failed problem. Let me know if I can further help in any way.

Bye,

Changed 3 years ago by dindy

Model with reproducible crash.

Changed 3 years ago by dindy

Backtrace on failed assertion.

comment:2 Changed 3 years ago by dindy

Added the backtrace on the failed assertion.

comment:3 Changed 3 years ago by dindy

Hello,

this is just to let you know that the crash still happens with 2.9.7. I'm trying again to get a reproducible crash and see if the problem is still the same or if it is something different now.

Bye,

comment:4 Changed 4 months ago by andrewwald

Hi dindy,

I've copied this issue to the project repository here: https://github.com/coin-or/Cbc/issues/44

Thanks, Andrew

Note: See TracTickets for help on using tickets.