Getting Segmentation fault

2008-05-31 Thread Rajnikant
Hello everyone, I'm trying to call 'C' routine from perl script. I have static library (libFile.a) where I can get object code of this routine and I have linked it with my perl script. This perl script get compile but after running it I'm getting segmentation fault. See code

Re: Getting Segmentation fault

2008-05-28 Thread Chas. Owens
On Wed, May 28, 2008 at 2:58 AM, Rajnikant <[EMAIL PROTECTED]> wrote: snip > Could someone please help me out finding whats wrong in code? > Thanks in advance. snip Without looking at the code in detail I would bet that the module is not thread safe. Try creating the Net::SFTP objects inside the

Getting Segmentation fault

2008-05-27 Thread Rajnikant
Hello everyone, I want to connect my client to multiple servers and download files using SFTP. So as to connect and download file from server I'm using seperate thread. I'm getting segmentation fault while creating the SFTP connection/Object in SFTP::New method. Following is the c