vishi has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am using the module Expect.pm to automate tasks by sending commands to a remote host. All these days, expect was behaving normally, but all of a sudden, my programs have started to throw a "Memory fault" error.
When I ran the code in debugging mode, I found out that as soon as I do a
my $sshAuth = Expect->spawn("ssh $User\@$source_DB");
The program terminates with a Memory fault. I am not sure what's causing the issue. How do I go about figuring out whether:
Is there some way I can "trap" this to find the root cause?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Expect.pm causing Memory fault?
by i5513 (Pilgrim) on Aug 04, 2011 at 14:26 UTC | |
by vishi (Beadle) on Aug 09, 2011 at 12:55 UTC |