[torquedev] [Bug 75] Double free's and touches of freed memory inside pbs_server

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Tue Aug 10 10:07:24 MDT 2010


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=75

--- Comment #4 from Ken Nielson <knielson at adaptivecomputing.com> 2010-08-10 10:07:24 MDT ---
(In reply to comment #3)
> It will work for a single relayed request.  But what about req_modifyarray()? 
> It will use the single struct batch_request for calling modify_job() via
> modify_whole_array()/modify_array_range(), so again, single batch_request will
> end up freed up a number of times.

There is only one place in req_deletearray where the batch_request buffer is
passed as a parameter to a task. The task is set to run array_delete_wt.
However, req_deletearray does not do a reply_ack for this case and returns as
it is suppose to. 

There is a problem in that the code does not check for a successful return from
set_task. I will fix that and check it in.

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list