in reply to segmentation fault on HTML::TokeParser
If a pure Perl module is segfaulting as well as one dependent on the C in HTML::Parser I think you have to assume it is a perl problem as that is the only common C code. It could however be that your code runs on your laptop because it has enough resources (memory) but not on the host because you have some sort of resource limited virtual environment. Anyway the quickest way to test/fix is probably to make a brand new 5.8.8 install in your home directory (which assumes you have shell access) and then just use that
#!/home/you/perl5.8.8/bin/perl
I presume you are running the same data locally as on the server so you can exclude any weirdness in the data (I think this is highly unlikely to be the cause).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: segmentation fault on HTML::TokeParser
by punkish (Priest) on Mar 28, 2008 at 16:24 UTC | |
by Anonymous Monk on Mar 31, 2008 at 11:11 UTC | |
by tachyon-II (Chaplain) on Mar 28, 2008 at 17:23 UTC | |
by punkish (Priest) on Mar 28, 2008 at 17:58 UTC | |
by tachyon-II (Chaplain) on Mar 31, 2008 at 10:19 UTC |