The mypid loadable in the examples directory sets a dynamic variable.
Bash segfaults if you reference it after using enable -d enable_mypid.

$ enable -f ./mypid enable_mypid
$ enable_mypid
$ enable -d enable_mypid
$ echo $MYPID
Segmentation fault (core dumped)

enable should keep track of the dynamic variables it sets and unset them
when using dlclose().



---
xoxo iza

Reply via email to