I am facing a typical problem on the Linux box. I have a perl script which contacts the "C" code through Perl-XS. In Solaris box the script is running fine, but in Linux box the same script generates segmentation fault. I debug the code and found that in "C" code it gets an address which is out of scope and that's why it is generated segmentation fault. To crack the problem I am thinking to track which address is passed from perl code to "C" code. Can anyone please help me how can I track which address Perl code is passing to "C" code? Or, how can I track the problem?
Any help really appreciated.
Thanks in advance.
-Pijush
In reply to Can I track which address Perl code is using? by pijush
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |