We have done some further investigation.
During device pairing bluez is crashing.
From debugging I can see the 2 hog services with the correct attributes, then one of the 2 hog services is reaching ref_count 0, hence it is getting freed, but on the next read bluez is trying to use a corrupted hog service and during reading its attributes we are receiving the segfault.
With normal behavior the next step would be "Report characteristic descriptor written: notifications enabled", but crashes right before that.
Hello,
We have done some further investigation.
During device pairing bluez is crashing.
From debugging I can see the 2 hog services with the correct attributes, then one of the 2 hog services is reaching ref_count 0, hence it is getting freed, but on the next read bluez is trying to use a corrupted hog service and during reading its attributes we are receiving the segfault.
With normal behavior the next step would be "Report characteristic descriptor written: notifications enabled", but crashes right before that.