Since Iam not sure from where the error arises, I am not able to provide code.Actually it uses inline CPP. the cpp program has memory allocations and deallocations done properly in a thread environment.(I create threads in a loop.When I create many threads, seg fault comes. if I create few threads no error).help me out pls.
okay.I will try that .Thanks. meanwhile, I tried using GDB(since perl is written in c too),But gdb requires a program in executable form.How will I put that .pl there ? :(.It naturally says not exe format.How do I come out of this?