pijush has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can I track which address Perl code is using?
by mugwumpjism (Hermit) on Feb 16, 2004 at 21:14 UTC | |
|
Re: Can I track which address Perl code is using?
by samtregar (Abbot) on Feb 17, 2004 at 18:05 UTC |