Binder on client side randomly fails subscription

Description

Hi,

 

I find the afb-binder on client side ignores subscription randomly, so could you see the code?

I input the error log in afb-proto-ws.c, then found the place of error.

 

 

 

 

Then,  "static struct client_call *client_call_search_locked" function(line 453) fails to find  struct client_call in mutex_lock

 

 

Note: I would like to get strace log but I couldn't because I couldn't reproduce when I execute with strace( write in service file like below). And I tried execute gdb with afb-daemon but GUI application couldn't find API , so couldn't try to call subscribe.... so sorry , I have only the place of error currently.

 

 

When I changed the code of server side from using afb_event_push to using afb_event_broadcast, then success to notify client of events.

 

Environment

GG 7.0.2

Attachments

1

Activity

Walt Miner 
July 30, 2019 at 9:38 PM

Close for HH 8.0.0 release

jose bollo 
July 15, 2019 at 9:20 AM
(edited)

Thank you for the feedback and the closing.

And yes, just replacing the binder is fine.

knimitz 
July 15, 2019 at 6:08 AM
(edited)

I tested on guppy, then it seems to be solved. ( I don't change image. Just I replaced afb-daemon and libafbwsc.so.1.1 only, but I think it's enough)

Stephane Desneux 
July 12, 2019 at 4:54 PM
(edited)

Pb seems to be solved with the proposed serie of patches (tested on master only) .

Jan-Simon Moeller 
July 12, 2019 at 3:43 PM

Submit them - we can have ci builds running in parallel.

Plan is to get things merged and tagged before leaving for ALS.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created July 4, 2019 at 4:12 AM
Updated September 19, 2019 at 12:06 PM
Resolved July 15, 2019 at 6:08 AM