I am using swig so that i can call my so library from perl. But when perl exits i am getting the following error.
the symbol buffer.17598 is present in on of the so file i am loading. but no reference is passed in or out of c. But still some how perl is getting this reference and trying to free it. How can i stop perl from doing this?==644== Warning: bad signal number 0 in sigaction() ==644== Invalid free() / delete / delete[] ==644== at 0x40057F6: free (vg_replace_malloc.c:325) ==644== by 0x8072E7F: perl_destruct (in /opt/perl/bin/perl-static) ==644== by 0x8060D6F: main (in /opt/perl/bin/perl-static) ==644== Address 0xab79180 is 0 bytes inside data symbol "buffer.17598 +"
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |