1. aspell --version
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.2)
2. ldd /opt/sfw/bin/aspell
libaspell.so.15 => /opt/sfw/lib/libaspell.so.15
libncurses.so.5 => /opt/sfw/lib/libncurses.so.5
libdl.so.1 => /usr/lib/libdl.so.1
libstdc++.so.2.10.0 => /opt/sfw/lib/libstdc++.so.2.10.0
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
(/usr/local is a symbolic link to /opt/sfw on this Solaris 8/SPARC
system.)
3. I _think_ aspell was downloaded from sunfreeware.com and the Finnish
dictionary was downloaded from ftp.gnu.org (aspell6-fi-0.7-0.tar.bz2).
4. gdb /opt/sfw/bin/aspell
Current directory is /opt/sfw/bin/
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) core ~/core
Core was generated by `aspell -a --encoding=utf-8 --lang=fi'.
Program terminated with signal 10, Bus Error.
Reading symbols from /opt/sfw/lib/libaspell.so.15...done.
Loaded symbols for /opt/sfw/lib/libaspell.so.15
Reading symbols from /opt/sfw/lib/libncurses.so.5...done.
Loaded symbols for /opt/sfw/lib/libncurses.so.5
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /opt/sfw/lib/libstdc++.so.2.10.0...done.
Loaded symbols for /opt/sfw/lib/libstdc++.so.2.10.0
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
Reading symbols from /usr/local/lib/aspell-0.60/nroff-filter.so...done.
Loaded symbols for /usr/local/lib/aspell-0.60/nroff-filter.so
Reading symbols from /opt/sfw/lib/libstdc++.so.5...done.
Loaded symbols for /opt/sfw/lib/libstdc++.so.5
Reading symbols from /opt/sfw/lib/libgcc_s.so.1...done.
Loaded symbols for /opt/sfw/lib/libgcc_s.so.1
#0 aspeller::LookupInfo::lookup (this=0xffbeeca0, word={
str_ = 0xffbeeb38 "fova", size_ = 4294967295}, c=0x1fc, achar=87 'W',
[EMAIL PROTECTED], gi=0xffbeed48) at
modules/speller/default/check_list.hpp:32
(gdb) bt
#0 aspeller::LookupInfo::lookup (this=0xffbeeca0, word={
str_ = 0xffbeeb38 "fova", size_ = 4294967295}, c=0x1fc, achar=87 'W',
[EMAIL PROTECTED], gi=0xffbeed48) at
modules/speller/default/check_list.hpp:32
#1 0xff29e918 in aspeller::SfxEntry::check (this=0x14bef8, [EMAIL PROTECTED],
word=Cannot access memory at address 0xffffffff
) at modules/speller/default/affix.cpp:1254
#2 0xff29d2a8 in aspeller::AffixMgr::suffix_check (this=0x14bef8,
[EMAIL PROTECTED], word={str_ = 0x65b30 "foo", size_ = 3}, [EMAIL
PROTECTED],
gi=0xffbeed48, sfxopts=0, ppfx=0x0)
at modules/speller/default/affix.cpp:806
#3 0xff29d66c in aspeller::AffixMgr::munch (this=0x6b060, word={
str_ = 0x65b30 "foo", size_ = 3}, gi=0xffbeed48, cross=true)
at modules/speller/default/affix.cpp:855
#4 0xff26c19c in {anonymous}::Working::try_scan_root (this=0xffbeeea0)
at modules/speller/default/language.hpp:293
#5 0xff269e94 in {anonymous}::Working::get_suggestions (this=0xffbeeea0,
[EMAIL PROTECTED]) at modules/speller/default/suggest.cpp:352
#6 0xff2706c4 in {anonymous}::SuggestImpl::suggest (this=0x5f518,
word=0x65ae8 "foo") at modules/speller/default/suggest.cpp:1321
#7 0xff2815fc in aspeller::SpellerImpl::suggest (this=0xffbef170, word={
str = 0x65ae8 "foo", size = 3})
at modules/speller/default/speller_impl.cpp:123
#8 0xff2baa00 in aspell_speller_suggest (ths=0x5f518, word=0x65980 "foo",
word_size=-14150188) at lib/speller-c.cpp:145
#9 0x1d6f4 in pipe () at prog/aspell.cpp:883
#10 0x18a4c in main (argc=4, argv=0xffbef4a4) at prog/aspell.cpp:408
(gdb) quit
Debugger finished
5. What next? I just noticed that the aspell manual says this about the
--encoding option:
Valid values include, but not limited to, iso-8859-*, utf-8,
ucs-2, ucs-4.
But check out the variation in these /opt/sfw/lib/aspell-0.60/*.dat
files:
da.dat:charset iso8859-1
de.dat:charset iso-8859-1
en.dat:charset iso8859-1
es.dat:charset iso8859-1
fi.dat:charset iso-8859-1
fr.dat:charset iso8859-1
it.dat:charset iso8859-15
nb.dat:charset iso8859-1
nn.dat:charset iso8859-1
no.dat:charset iso8859-1
pt.dat:charset iso8859-1
ru.dat:charset koi8-r
sv.dat:charset iso8859-1
Thanks,
--
Kevin
_______________________________________________
Aspell-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/aspell-user