in reply to Re: Tcl module in perl segmentation fault for perl executable and not for perl script
in thread Tcl module in perl segmentation fault for perl executable and not for perl script

I have written a perl script which uses tcl data for calculation. ( Tcl module )

If I execute the script by setting env variable it wont give segmentation fault.

#!/usr/bin/perl BEGIN { $ENV{PERL_DL_NONLAZY} = 1; } use strict; use Tcl;

It is breaking at use Tcl syntax if I unhash this it will run.

If I convert the script to executable it is throwing segmentation fault

error info segmentation fault core dumped

perl version 5.8.8

Tcl module version 1.05

Tcl version installed in the system 8.5

  • Comment on Re^2: Tcl module in perl segmentation fault for perl executable and not for perl script
  • Download Code

Replies are listed 'Best First'.
Re^3: Tcl module in perl segmentation fault for perl executable and not for perl script
by marto (Cardinal) on Oct 18, 2016 at 08:07 UTC
Re^3: Tcl module in perl segmentation fault for perl executable and not for perl script
by Anonymous Monk on Oct 18, 2016 at 07:01 UTC

    Hi, I suggested more specific