To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90604
                 Issue #|90604
                 Summary|crash in hunspell when loading config
               Component|lingucomponent
                 Version|OOo 2.4.0
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|spell checking
             Assigned to|[EMAIL PROTECTED]
             Reported by|evoci





------- Additional comments from [EMAIL PROTECTED] Wed Jun 11 09:24:12 +0000 
2008 -------
I went through the numerous reports on hunspell, and believe that this bug is
different from the other ones.
Opening the attached file causes a crash if spellcheck is enabled.

Stack trace:
----------------------------------------------------------------------
$ gdb /usr/lib/openoffice/program/soffice.bin 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run -writer 
Starting program: /usr/lib/openoffice/program/soffice.bin -writer
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000b4
[New Thread 0xb5005720 (LWP 14472)]
[New Thread 0xaa46cb90 (LWP 14476)]
[New Thread 0xa9c6bb90 (LWP 14477)]
[New Thread 0xa9348b90 (LWP 14478)]
[New Thread 0xa8609b90 (LWP 14486)]
[New Thread 0xa60fdb90 (LWP 14488)]
[New Thread 0xa52f9b90 (LWP 14491)]
[Thread 0xa52f9b90 (LWP 14491) exited]
[New Thread 0xa52f9b90 (LWP 14492)]
[Thread 0xa52f9b90 (LWP 14492) exited]
[New Thread 0xa52f9b90 (LWP 14501)]
[New Thread 0xa4727b90 (LWP 14502)]
[Thread 0xa52f9b90 (LWP 14501) exited]
[Thread 0xa4727b90 (LWP 14502) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5005720 (LWP 14472)]
0xb66da3f4 in strncmp () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb66da3f4 in strncmp () from /lib/i686/cmov/libc.so.6
#1  0xa39d4c45 in get_lang_num () from /usr/lib/libhunspell-1.2.so.0
#2  0xa39d888a in HashMgr::load_config () from /usr/lib/libhunspell-1.2.so.0
#3  0xa39d8cb8 in HashMgr::HashMgr () from /usr/lib/libhunspell-1.2.so.0
#4  0xa39da563 in Hunspell::Hunspell () from /usr/lib/libhunspell-1.2.so.0
#5  0xa38ae516 in SpellChecker::GetSpellFailure ()
   from /usr/lib/openoffice/program/libspell680li.so
#6  0xa38afb33 in SpellChecker::isValid ()
   from /usr/lib/openoffice/program/libspell680li.so
#7  0xa616866c in SpellCheckerDispatcher::isValid_Impl ()
   from /usr/lib/openoffice/program/liblng680li.so
#8  0xa6168ff4 in SpellCheckerDispatcher::isValid ()
   from /usr/lib/openoffice/program/liblng680li.so
#9  0xa6c068c1 in SpellDummy_Impl::isValid ()
   from /usr/lib/openoffice/program/libsvx680li.so
#10 0xa76e41da in SwTxtFrm::_AutoSpell ()
   from /usr/lib/openoffice/program/libsw680li.so
#11 0xa755b0e6 in SwLayIdle::_DoIdleJob ()
   from /usr/lib/openoffice/program/libsw680li.so
#12 0xa755b1e8 in SwLayIdle::DoIdleJob ()
   from /usr/lib/openoffice/program/libsw680li.so
#13 0xa755baa9 in SwLayIdle () from /usr/lib/openoffice/program/libsw680li.so
#14 0xa74e9c46 in ViewShell::LayoutIdle ()
   from /usr/lib/openoffice/program/libsw680li.so
#15 0xa7629eab in SwDoc::DoIdleJobs () from
/usr/lib/openoffice/program/libsw680li.so
#16 0xb7c61fdc in Timer::Timeout () from 
/usr/lib/openoffice/program/libvcl680li.so
#17 0xb7c621cb in Timer::ImplTimerCallbackProc ()
   from /usr/lib/openoffice/program/libvcl680li.so
#18 0xb4e9b9da in X11SalData::Timeout ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#19 0xb4e99b32 in SalXLib::CheckTimeout ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#20 0xb4e9a2cb in SalXLib::Yield ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#21 0xb4eaa047 in X11SalInstance::Yield ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#22 0xb7c5bf29 in Application::Yield ()
   from /usr/lib/openoffice/program/libvcl680li.so
#23 0xb7c5c03c in Application::Execute ()
   from /usr/lib/openoffice/program/libvcl680li.so
#24 0x08078439 in desktop::Desktop::Main ()
#25 0xb7c61b05 in ImplSVMain () from /usr/lib/openoffice/program/libvcl680li.so
#26 0xb7c61c05 in SVMain () from /usr/lib/openoffice/program/libvcl680li.so
#27 0x0806823e in main ()
(gdb) 
----------------------------------------------------------------------

configuration files:
----------------------------------------------------------------------
$ ls /usr/lib/openoffice/share/dict/ooo
DicOOo.sxw      en_GB.aff  en_GB.dic  it_IT.aff  it_IT.dic
dictionary.lst  en-GB.aff  en-GB.dic  it-IT.aff  it-IT.dic

$ ls /usr/lib/openoffice/share/wordbook
en-GB  en-US

$ cat /usr/lib/openoffice/share/dict/ooo/dictionary.lst
## List of All Dictionaries to be Loaded by OpenOffice.org
## ---------------------------------------------------
## Each Entry in the list have the following space delimited fields
##
## Field 1: Entry Type "DICT" - spellchecking dictionary
##                     "HYPH" - hyphenation dictionary
##                     "THES" - thesaurus files
##
## Field 2: Language code from Locale "en" or "de" or "pt" ...
##
## Field 3: Country Code from Locale "US" or "GB" or "PT"
##
## Field 4: Root name of file(s) "en_US" or "hyph_de" or "th_en_US"
##          (do not add extensions to the name)
##
## This file is automatically updated by update-openoffice-dicts script
##

## !!! BEGIN AUTOMATIC SECTION -- DO NOT CHANGE !!!
## !!! ADD YOUR ADDITIONAL ENTRIES BELOW THIS SECTION !!!
DICT en GB en_GB
DICT it IT it_IT
## !!! END AUTOMATIC SECTION -- DO NOT CHANGE !!!


$ 
----------------------------------------------------------------------

system information:
----------------------------------------------------------------------
$ uname -a
Linux prometeion 2.6.24-elio-4 #2 Fri Apr 4 10:10:15 CEST 2008 i686 GNU/Linux

libc6 version 2.7-11
----------------------------------------------------------------------

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to