Hi, my log file is causing InitializeFromLog to segfault. The log in question
is attached, and it consists of one line that creates a View and another that
deletes it.
I looked through some source code and found the line where the segfault occurs.
It is in collectionBase.C (line 313); it and the surrounding lines are
reproduced here:
case ClassAdCollOp_DeleteView:
case ClassAdCollOp_SetViewInfo: {
bool rval = PlayViewOp( opType, logRec );
delete logRec;
return( rval );
}
The statement 'delete logRec;' causes the segmentation fault. When it is
commented out, the code works fine, though maybe with a memory leak.
John B.
[ Requirements = ( ( other.Machine == "foo6" ) ) && ( other.ReservedBy == "nobody" ) && ( other.Machine == "foo4" || other.Machine == "foo5" || other.Machine == "foo6" || other.Machine == "foo7" || other.Machine == "foo8" ); PartitionExprs = { }; Rank = undefined; ParentViewName = "root"; ViewName = "current_request"; OpType = 10001 ]
[ ViewName = "current_request"; OpType = 10003 ]
|