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

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Sat Aug 14 16:05:26 MDT 2010


--- Comment #6 from Ken Nielson <knielson at adaptivecomputing.com> 2010-08-14 16:05:25 MDT ---

> I am talking about req_modifyarray() that will call modify_job() multiple
> times, so a single batch_request will be subscribed multiple times into the
> task_list_event with post_modify_req() as the event handler.  So again,
> batch_request will be freed multiple times.  Am I missing something?

I checked in a fix for the req_modifyarray. It required considerable more work.
I had to do a deep copy of the batch request structure for each array element
that had a running job and needed to contact the mom. I also needed to create
an new callback function post_modify_arrayreq to handle the array

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