http://qs1969.pair.com?node_id=519345

jithoosin has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks
i am getting "segmentation fault" when ever i use "dprofpp" in a linux machine. So to find where the error is i copied the "tmon.out" to another linux machine and ran it over there and found out that it was running properly.Could any of the monks tell me what could be the possible reason or help me in correcting the problem. One difference i found out between the 2 linux machines was the perl versions.It was 5.8.0(not working) in one and 5.8.5(working) in another

One more thing noticed was that ther segmentation fault comes when i use "use " in the perl function.But if it was the problem of some libraries then the generated "tmon.out" would not have worked in another linux machine.If i remove the "use" then then "dprofpp" doesnot generate "segFault" but it doesnot give any output.Please help me.

Thanks
Kiran

2005-12-27 Retitled by davido, as per Monastery guidelines
Original title: 'dprofpp'



After reading the first 2 replies i have given a sample code
use strict; print "hello\n";
Now i mean that "use strict" causes the problem. If i remove it out then there is no seg fault. If i use "use AnyModule" that is creating the problem. If i take out "use " then dprofpp will not give any output but doesnot result in seg fault