Closed AndrewFasano closed 3 years ago
@AndrewFasano Is it just unnamed hooks?
It looks like this code here doesn't save a reference to the hook if it doesn't have a name, which would lead to ffi garbage collecting and eventual segfaulting.
Reasonable patch would be generating a uid for the function as a name.
Given that we use hooks all the time, I'm assuming this is fixed by now.
From pypanda, the hooks plugin segfaults unless you include
extra_args=['-s']
to yourpandare.panda
constructor.Looks to be caused because panda hasn't initialized a gdbserver object but it's trying to use one anyway.