perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Gunton <neil.embp...@home.nilspace.com>
Subject Re: 2.x Execute crash in startup.pl
Date Wed, 13 Nov 2002 23:14:02 GMT
Hi Gerald,

I think I have a minimal case for you which causes this crash.
The following script segfaults (when run from /root, and test.html is also in
/root):

  #!/usr/local/bin/perl
  use Embperl ();
  Embperl::Execute ({inputfile => 'test.html', path => '/root/'});

... but the following change makes it run ok:

  Embperl::Execute ({inputfile => 'test.html'});

So, something about specifying the path makes the segfault happen.

Also, the following works:

  Embperl::Execute ({inputfile => '/root/test.html', path => '/root/'});

But this one segfaults:

  Embperl::Execute ({inputfile => './test.html', path => '/root/'});

I hope this is some help... let me know if there's anything else I can do to
help nail this down.

Thanks,

-Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message