Opened 7 years ago

Closed 3 years ago

#113 closed defect (migrated)

SegFault in OsiSpxSolverInterface::clone()

Reported by: kibaekkim Owned by: mjs
Priority: major Milestone:
Component: OsiSpx Version: trunk
Keywords: Cc:


The following simple snippet gives a segfault:

int main()
	OsiSpxSolverInterface * si = new OsiSpxSolverInterface;


	printf("-> objective value: %f\n", si->getObjValue());

	OsiSolverInterface * si2 = si->clone();

	printf("-> objective value: %f\n", si2->getObjValue());

	delete si;
	si = NULL;
	delete si2;
	si2 = NULL;

	return 0;

Change History (1)

comment:1 Changed 3 years 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:

Note: See TracTickets for help on using tickets.