DECAF icon indicating copy to clipboard operation
DECAF copied to clipboard

Loading plugin causes crash

Open dkfulp opened this issue 6 years ago • 1 comments

I can load my plugin fine a few times, but when I unload the plugin and then reload it a couple of times, decaf seg faults.

The full process goes:

  1. load_plugin A
  2. .... use plugin ....
  3. unload_plugin
  4. Go back to step 1 and repeat

Any ideas why it is seg_faulting?

dkfulp avatar Feb 12 '19 19:02 dkfulp

There might be a bug that a callback created by the plugin is not removed properly when the plugin is unloaded. A gdb backtrace would help.

Heng

On Tue, Feb 12, 2019 at 11:37 AM Dakota Fulp [email protected] wrote:

I can load my plugin fine a few times, but when I unload the plugin and then reload it a couple of times, decaf seg faults.

The full process goes:

  1. load_plugin A
  2. .... use plugin ....
  3. unload_plugin
  4. Go back to step 1 and repeat

Any ideas why it is seg_faulting?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sycurelab/DECAF/issues/59, or mute the thread https://github.com/notifications/unsubscribe-auth/ACydRl_OfVFeWKkYGl0Ab2eNHNuOrFNPks5vMxfcgaJpZM4a352g .

hengyin avatar Feb 12 '19 20:02 hengyin