You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my use, I find a segment error which is the same as #155. And I try to upgrade to 1.1.20, this will not happen agian but we get a new segment error, the core dump stack can be seems as below:
After I add reset_recv_packet , my program will not report segfault with gearman .
I don't know if my modification is a robust way to resolve this problem as I know very little about the actual mechanism of gearman. This seems that _recv_packet is ofen set to the address of Job::asssigned, and connection.cc should have no permission to free __recv_packet as this __recv_packet is always borrowed from Job in my option.