Export to GitHub

europa-pso - issue #62

Assert fails with new resource speedups


Posted on Oct 15, 2009 by Swift Ox

To reproduce: 1. Unpack the attached CrewPlanning example 2. Run make 3. After a while (around 1000 steps), the following assert should fire: {{{ Resource/base/Transaction.cc:26: Error: m_time.isValid() is false }}}

I tracked it down, and the problem was introduced when Mike merged Paul's performance improvements: http://code.google.com/p/europa-pso/source/detail?r=5814#

I have a hunch this may be the same problem we had a LONG discussion about a while ago, which is described in this ticket: http://code.google.com/p/europa-pso/issues/detail?id=16

The difference is that the toString() method now seems to be called even if we're not outputting any debug statements and the above ticket was something occurring ONLY if debug output was turned on.

Attachments

Comment #1

Posted on Oct 28, 2009 by Swift Hippo

Fixed in r5883

Comment #2

Posted on Oct 29, 2009 by Swift Ox

I'm verifying this, since there is now a new ticket open instead.

Status: Verified

Labels:
Type-Defect Priority-Critical Component-Resource