B
bruno
I have a script that goes over an alphabetical list of symbols.
To speed things up I fork.
In each thread I load a list of symbols. When the last symbol is done,
I get a GPF: "Attempt to free unreferenced scalar"
system win2000, activeperl 5.8
The script runs OK when not forking.
Basically it looks like this:
sub loadTables {
open (DATEI, "< $infile") or die "Kann Datei $infile nicht öffnen";
my @symbols = <DATEI>;
close (DATEI);
foreach (@symbols) { <-- thats the line where the GPF occurs
......
}
}
Thanks, Bruno
To speed things up I fork.
In each thread I load a list of symbols. When the last symbol is done,
I get a GPF: "Attempt to free unreferenced scalar"
system win2000, activeperl 5.8
The script runs OK when not forking.
Basically it looks like this:
sub loadTables {
open (DATEI, "< $infile") or die "Kann Datei $infile nicht öffnen";
my @symbols = <DATEI>;
close (DATEI);
foreach (@symbols) { <-- thats the line where the GPF occurs
......
}
}
Thanks, Bruno