Opened 9 years ago

Closed 8 months ago

#40 closed defect (migrated)

Clp crushes in resize on some big tasks with some options

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

Description

To reproduce:

  1. get clp (the problem was noticed on some svn version, then verified on https://projects.coin-or.org/svn/Clp/stable/1.12)
  1. prepare artifical test task (please use perl script attached):
     ./makeTask.pl >task.lp
    
  2. start command-line clp solver with options:
     ./clp task.lp presolve off primalS
    
  3. get error:
    *** buffer overflow detected ***: /tmp/coin-Clp/Clp/src/.libs/lt-clp terminated
    

(detailed error message obtained on 64-bit Linux system will be attached)

At the first glance, it seems like buffer is overflown in ClpModel::resize() in

char name[9];
sprintf(name, "C%7.7d", iColumn);

Attachments (2)

makeTask.pl (430 bytes) - added by alexsaa 9 years ago.
Perl script to generate test task (warning: clp will need ~5 Gb RAM to handle that)
error.txt (6.3 KB) - added by alexsaa 9 years ago.
console output

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by alexsaa

Perl script to generate test task (warning: clp will need ~5 Gb RAM to handle that)

Changed 9 years ago by alexsaa

console output

comment:1 Changed 8 months ago by stefan

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

This ticket has been migrated to GitHub and will be resolved there: ​https://github.com/coin-or/Clp/issues/40

Note: See TracTickets for help on using tickets.