Commit (Was Re: PSpell crash)


Subject: Commit (Was Re: PSpell crash)
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Thu Apr 12 2001 - 12:02:02 CDT


I've fixed this and a few other problems. I (stupidly) wasn't initializing a
member variable to 0.

This only conceals a larger problem, though - pspell isn't finding a
suitable word list for en. I can't be of too much help there, unfortunately,
as it doesn't have to do with any of our pspell-using code.

The problem might be as simple as you not having any dictionaries installed.
I know that RH ships a bunch. I got en-US, en-GB, and de-DE from them:
ftp://ftp.redhat.com/

Dom

>Hello,
>
>I have updated my source tree and compiled Abiword with pspell support.
>
>I have this version of pspell installed
>$pspell-config version
>.12.1
>$
>
>When I start Abiword under gbd, I get this error:
>
>
>DEBUG: SpellCheckInit: Pspell error: I'm sorry I can't find any suitable
>word lists for the language-tag "en".
>
>Program received signal SIGSEGV, Segmentation fault.
>0xfaff0001 in ?? ()
>Current language: auto; currently c
>(gdb) where
>#0 0xfaff0001 in ?? ()
>#1 0x80fd708 in PSpellChecker::~PSpellChecker (this=0x84b4658,
>__in_chrg=3)
>at pspell_checker.cpp:74
>#2 0x80fd53f in SpellManager::requestDictionary (this=0x84b4210,
>szLang=0x82f5771 "en") at spell_manager.cpp:119
>#3 0x80bb935 in AP_UnixApp::initialize (this=0x8410640) at
>ap_UnixApp.cpp:189
>#4 0x80b99ff in AP_UnixGnomeApp::initialize (this=0x8410640) at
>ap_UnixGnomeApp.cpp:108
>#5 0x80b9d0b in AP_UnixGnomeApp::main (szAppName=0x82c41f7 "AbiWord
>Personal", argc=1, argv=0xbffff8ec) at ap_UnixGnomeApp.cpp:188
>#6 0x80b9945 in main (argc=1, argv=0xbffff8ec) at UnixGnomeMain.cpp:24
>#7 0x406349cb in __libc_start_main (main=0x80b9930 <main>, argc=1,
>argv=0xbffff8ec, init=0x80b7028 <_init>, fini=0x82c4150 <_fini>,
> rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffff8e4) at
>../sysdeps/generic/libc-start.c:92
>
>
>$LANG is unset.
>
>Is it a known problem ?
>
>Note that I cannot use ispell version with sam's preliminary code.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Thu Apr 12 2001 - 12:02:49 CDT