Opened 12 years ago

Closed 12 years ago

#16 closed defect (fixed)

Crash in CglProbing

Reported by: esben Owned by: somebody
Priority: major Component: component1
Version: Keywords:
Cc:

Description

The attached mps crash cbc both the devel and trunk branches. The attached problem fixes this, but I do worry that I will be spoiling some obscure corner case. Essentially, it CglProbing? uses numberCliques_==0 to signify "inactive", but the patched line instead sets it to -9999. Then it laters attempts to allocation -9999 integers, which unsurprisingly crashes with a bad_alloc.

The patch is licensed under the GPL, CPL and LGPL :o)

Attachments (2)

coin-cbc-cglprobing.patch (418 bytes) - added by esben 12 years ago.
Patch to fix this crash
memory.mps.bz2 (7.0 KB) - added by esben 12 years ago.
Problem that crashes cbc

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by esben

Patch to fix this crash

Changed 12 years ago by esben

Problem that crashes cbc

comment:1 Changed 12 years ago by forrest

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by trapping infeasibility earlier in CglPreProcess?

Note: See TracTickets for help on using tickets.