Comment 5 for bug 518512

Revision history for this message
Wilton (risenhoover) wrote :

I went back to the code and made another modification in the hopes that this might fix it. Just below one of the asserts I added an if/then block as such:

            //assert(client->task != NULL);

            if ( client->task != NULL ) {
              client->task->recv= &(client->con->packet);
            }

This, unfortunately, hasn't changed anything. I still get a failure when I try to execute my script. Here's a detailed debug log for what it's worth...

pauly@papa:~$ /usr/local/sbin/gearmand -vvvv
 INFO Starting up
DEBUG Initializing libevent for main thread
DEBUG Method for libevent: epoll
DEBUG Trying to listen on :::4730
 INFO Listening on :::4730 (6)
DEBUG Trying to listen on 0.0.0.0:4730
 INFO Creating wakeup pipe
DEBUG Creating 0 threads
 INFO Creating IO thread wakeup pipe
 INFO Adding event for listening socket (6)
 INFO Adding event for wakeup pipe
 INFO Entering main event loop
 INFO Accepted connection from ::%4294949696:46207
 INFO [ 0] ::%4294949696:46207 Connected
DEBUG [ 0] ::%4294949696:46207 Received SET_CLIENT_ID
DEBUG [ 0] ::%4294949696:46207 Received GRAB_JOB
DEBUG [ 0] ::%4294949696:46207 Sent NO_JOB
DEBUG [ 0] ::%4294949696:46207 Received CAN_DO
DEBUG [ 0] ::%4294949696:46207 Received CAN_DO
DEBUG [ 0] ::%4294949696:46207 Received CAN_DO
DEBUG [ 0] ::%4294949696:46207 Received CAN_DO
DEBUG [ 0] ::%4294949696:46207 Received PRE_SLEEP
 INFO Accepted connection from ::%4294949696:46208
 INFO [ 0] ::%4294949696:46208 Connected
DEBUG [ 0] ::%4294949696:46208 Received SUBMIT_JOB
DEBUG [ 0] ::%4294949696:46208 Sent JOB_CREATED
DEBUG [ 0] ::%4294949696:46207 Sent NOOP
DEBUG [ 0] ::%4294949696:46207 Received GRAB_JOB
DEBUG [ 0] ::%4294949696:46207 Sent JOB_ASSIGN
DEBUG [ 0] ::%4294949696:46207 Received WORK_EXCEPTION
DEBUG [ 0] ::%4294949696:46207 Received WORK_FAIL
DEBUG [ 0] ::%4294949696:46207 Received GRAB_JOB
DEBUG [ 0] ::%4294949696:46207 Sent NO_JOB
DEBUG [ 0] ::%4294949696:46208 Sent WORK_FAIL
 INFO [ 0] ::%4294949696:46208 Disconnected
DEBUG [ 0] ::%4294949696:46207 Received PRE_SLEEP