See e-mail from David at bottom. 5-31-2013. WaterAccount.cpp: method okstat WaterAccount::computeDemandForWRA() _temp_min_bypass.spanRunDates(); // Slot name: "Temp Min Bypass Constraint" STACK (In an interactive run, at the end of the run: not a crash or assertion failure; just stopping in the debugger): riverware.exe!SplitSeriesImpl::p_setStartDate(const SeriesSlot* slot, const Date_Time* date) Line 350 riverware.exe!SeriesSlot::p_setStartDate(const Date_Time* newStartDate) Line 7930 + 0x30 bytes riverware.exe!SeriesSlot::setStartDate(const Date_Time* newStartDate) Line 7948 + 0x1a bytes riverware.exe!SeriesSlot::spanDates(const Date_Time* newStartDate, const Date_Time* newEndDate) Line 8146 + 0x1a bytes riverware.exe!SeriesSlot::spanRunDatesPlusExtensionIncrement(bool atfront2, bool atend) Line 8099 + 0x2b bytes riverware.exe!SeriesSlot::spanRunDates() Line 8083 + 0x1e bytes riverware.exe!WaterAccount::computeDemandForWRA(const Date_Time* when, int timestepoffset, const RunInfo* runInfo, const double & phys, const double & diversions, unsigned int & reason, CompObj* co, void* localInfo, const Account* apoint, int __formal, const cwHashMap* cloneMap) Line 1767 + 0x3e bytes riverware.exe!CompObj::computeDemandFor(const Date_Time* curr, const RunInfo* runInfo, WaterAccount* wa, CompObj::wraArguments* localInfo) Line 6163 + 0xbd bytes riverware.exe!CompObj::wraPurePriorMainLoop2(const Date_Time* curr, const RunInfo* runInfo, void* li) Line 1224 + 0x3c bytes riverware.exe!CompObj::_priorAppropriation(RunInfo* runInfo, void* li) Line 846 + 0x1c bytes riverware.exe!CompObj::wraPurePriorAppropriation(RunInfo* runInfo, void* li) Line 790 riverware.exe!ObjectMethod::execute(RunInfo* ri, void* callData) Line 74 riverware.exe!Category::executeSelectedMethod(RunInfo* ri, void* callData) Line 176 + 0x1a bytes riverware.exe!MethodTable::_executeSelectedMethod(const Category* category, RunInfo* ri, void* callData) Line 557 + 0x14 bytes riverware.exe!MethodTableRef::executeSelectedMethod(const Category* category, RunInfo* ri, void* callData) Line 382 riverware.exe!SimObj::executeSelectedMethod(const Category* cat, void* clientData) Line 2874 + 0x22 bytes riverware.exe!SimObj::executeSelectedMethod(const QString & category, void* clientData) Line 2844 riverware.exe!CompObj::_solveWaterRights_helper(CompObj::wraArguments & localInfo, bool allchains, const WaterType* chain, const __int64 _controllingDate) Line 442 + 0x1c bytes riverware.exe!CompObj::solveWaterRightsWithLags(std::vector > & results, std::set,std::allocator >* __formal, bool allchains, const WaterType* chain, const __int64 _controllingDate) Line 217 + 0x37 bytes riverware.exe!_predefinedSolveWaterRights(bool withLags, PredefinedFunction* caller, const ListValue & args, RplValue* & result, std::set,std::allocator >* seriesSlotsAccessed, QString & explanation) Line 5489 + 0x4d bytes riverware.exe!predefinedSolveWaterRightsWithLags(PredefinedFunction* caller, const ListValue & args, RplValue* & result, std::set,std::allocator >* seriesSlotsAccessed, QString & explanation) Line 5548 riverware.exe!PredefinedFunction::evaluate(const ListValue & args, RplResult & result, std::set,std::allocator >* slotsAccessed) Line 342 + 0x35 bytes riverware.exe!FuncCallExpr::evaluate(RplResult & result, std::set,std::allocator >* slotsAccessed) Line 303 riverware.exe!ForStmt::execute(ValueCache & valueCache) Line 644 riverware.exe!RplBlock::execute(ValueCache & valueCache) Line 680 + 0x21 bytes riverware.exe!RplSet::execute(RplBlock* & lastBlockExecuted, ValueCache & valueCache, RplObj* & executedBlock) Line 1458 + 0x21 bytes riverware.exe!RuleSetMgr::executeRuleset(const Date_Time* when, RplObj* & executedRule) Line 236 + 0x29 bytes riverware.exe!RuleControl::executeBlock() Line 428 + 0x33 bytes riverware.exe!MetaControl::executeBlock() Line 509 riverware.exe!RunInfo::executeBlock() Line 905 riverware.exe!RunInfo::doRun() Line 770 riverware.exe!RunInfo::processEvents() Line 608 riverware.exe!RunInfo::requestEvent(int e) Line 545 riverware.exe!QtRunControlDlg::startHandler() Line 923 -------------- -------- Original Message -------- Subject: Regression test crash on close Date: Fri, 31 May 2013 11:36:15 -0600 From: David Neumann To: software Hi all, On Scuba, RiverWare is crashing during the WaterRightsTest when RiverWare is shutting down. This only happens during batch mode using the release executable. The good news is that the model runs fine and even saves fine. If I do the modelcomp manually, there are no differences. The problem is that it crashes at shutdown and halts the reg tests and they can't continue. Just to thicken the plot even more, it gives a different error on spurwink (Release only): Assertion failed in file SplitSeriesImpl.cpp at line 350: "!e.err()" Related? Who knows? Any thoughts? David