Hi, Thanks for your reply. Here are the answers for your question:
-$ echo $? 139
- i am not aware of debugging perl core using GDB.
- i have written two small programs one using 32 bit perl and another the 64 bit perl . The 32 bit version core dumped where as the 64 bit did not.
-$ perl -v This is perl, v5.8.0 built for aix
-not yet. but installing a new version in professional env is very difficult as i need to get sign off from lot of people.
-no please help me how to do that.(debug build of perl)
using 32bit perl #!/usr/local/perl-5.6.1/bin/perl open FILE, "20100317131946.cmb11cd8.60054.jcl.cmp.sent" or die $!; my $line; my @lines; my $self = {}; my $i; while (<FILE>) { $line = $_; @lines= split("~",$line); #@{ $self->{lines} } = split("~",$line); print "Line copied into the data structure successfully\n"; #foreach $i(@lines) #{ # print $i; #} }
using 64bit perl
#!/usr/opt/perl5/bin/perl5.8.2_64bit open FILE, "20100317131946.cmb11cd8.60054.jcl.cmp.sent" or die $!; my $line; #my @lines; my $self = {}; my $i; while (<FILE>) { $line = $_; # @lines= split("~",$line); @{ $self->{lines} } = split("~",$line); print "Lines copied into the data structure successfully\n"; # foreach $i(@lines) #{ # print $i; # } }
In reply to Re^2: 32 Bit Perl causing segmentation fault if data is big
by peacelover1976
in thread 32 Bit Perl causing segmentation fault if data is big
by peacelover1976
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |