Subject: | Segmentation fault on number |
Date: | Wed, 20 May 2009 11:25:07 +0200 |
To: | <bug-Text-Aspell [...] rt.cpan.org> |
From: | Henrik Hald Nørgaard <hhn [...] jobindex.dk> |
The following code gives a segmentation fault:
#!/usr/bin/perl
use strict;
use warnings;
use Text::Aspell;
my $speller = Text::Aspell->new();
$speller->set_option('lang', 'da_dk'); # Or fi_fi, nl_nl, no_no, sv_se
$speller->suggest(1);
As I have have not been able to reproduce the error using aspell directly, I
suspect the error is in the perl-module. I have tried e.g. this:
echo "1" | aspell -a -l da_dk -encoding=iso8859-1
Perl: This is perl, v5.8.8 built for x86_64-linux-thread-multi
Aspell: @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.3)
Text::Aspell: Version 0.09
Kind regards
Henrik Hald Nørgaard, Programmør
Jobindex A/S, Holger Danskes Vej 91, 2000 Frederiksberg
Tlf.: +45 38 32 33 55, dir.: +45 38 32 33 81
<http://www.jobindex.dk/> www.jobindex.dk