Issue 29630 - Crash in lingucomponent thesaurus
Summary: Crash in lingucomponent thesaurus
Status: CLOSED DUPLICATE of issue 49779
Alias: None
Product: General
Classification: Code
Component: thesaurus (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: khendricks
QA Contact: issues@lingucomponent
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 10:00 UTC by thomas.lange
Modified: 2013-02-24 20:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description thomas.lange 2004-05-28 10:00:18 UTC
This one is created from a crash report.

Version found: 645m19(Build:8693)

0013c140 1e7b4646 lth645mi!ThesLookup::binsearch(char* sw = 023ed508 "", char**
list = 025f0008 , int nlst = 0) 0xb
[o:\srx645\src.m19\lingucomponent\source\thesaurus\libth\thlookup.cxx @ 271]
0013c174 1e7b3f8a lth645mi!ThesLookup::Lookup(char* pText = 023ed740 "", long
len = 0xa, char*** lsyn = 0013c1c4 ) 0x56
[o:\srx645\src.m19\lingucomponent\source\thesaurus\libth\thlookup.cxx @ 168]
0013c1e4 1e5e2923 lth645mi!Thesaurus::queryMeanings(rtl::OUString* rTerm =
0013c23c , com::sun::star::lang::Locale* rLocale = 0013c2ac ,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>* rProperties
= 0013c2e0 ) 0x22a
[o:\srx645\src.m19\lingucomponent\source\thesaurus\libth\thesimp.cxx @ 346]
0013c250 2028436a lng645mi!ThesaurusDispatcher::queryMeanings(rtl::OUString*
rTerm = 021f7a7c , com::sun::star::lang::Locale* rLocale = 0013c2ac ,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>* rProperties
= 0013c2e0 ) 0x2b3 [o:\srx645\src.m19\linguistic\source\thesdsp.cxx @ 261]
0013c284 202e7861 svx645mi!ThesDummy_Impl::queryMeanings(rtl::OUString* rTerm =
021f7a7c , com::sun::star::lang::Locale* rLocale = 0013c2ac ,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>* rProperties
= 0013c2e0 ) 0x5a [o:\srx645\src.m19\svx\source\editeng\unolingu.cxx @ 513]
0013c2d8 202e7a6e
svx645mi!SvxThesaurusDialog::UpdateMeaningBox_Impl(com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::linguistic2::XMeaning>
>* pMeaningSeq = 1c48d664 ) 0x81
[o:\srx645\src.m19\svx\source\dialog\thesdlg.cxx @ 317]
0013c2fc 202e8443 svx645mi!SvxThesaurusDialog::Init_Impl(short nLanguage =
0x81b0) 0xbe [o:\srx645\src.m19\svx\source\dialog\thesdlg.cxx @ 386]
0013c35c 202c72f6 svx645mi!SvxThesaurusDialog::SvxThesaurusDialog(Window*
pParent = 0013c344 ,
com::sun::star::uno::Reference<com::sun::star::linguistic2::XThesaurus> xThes =
com::sun::star::uno::Reference<com::sun::star::linguistic2::XThesaurus>, String*
rWord = 023ec810 , short nLanguage = 0x41d) 0x4f3
[o:\srx645\src.m19\svx\source\dialog\thesdlg.cxx @ 285]
0013ec60 2044cd23 svx645mi!SvxSpellWrapper::StartThesaurus(String* rWord =
0013ef78 , unsigned short nLanguage = 0xc368) 0xe6
[o:\srx645\src.m19\svx\source\dialog\splwrap.cxx @ 471]
0013ef70 2044f8cb svx645mi!SvxSpellCheckDialog::StartThesaurus_Impl(unsigned
char bInter = 0x10 '') 0xd3 [o:\srx645\src.m19\svx\source\dialog\spldlg.cxx @ 489]

There are 6 reports of this.

The descriptions look like this:

-Vérification orthographique (F7) et chargement du Français
-Rechtschreibprüfung
-Pressed synonym word list in the spellchecking dialog. The highlighted word do
not exist.

One contact address was provided:
	jonasvb@hotmail.com
Comment 1 khendricks 2004-05-28 12:54:58 UTC
Hi,

This is not a bug since the nlst=0 indicates they never loaded a thesaurus which means they probably 
incorrectly installed their own thesaurus and are not using the en_US one.

I will try to "harden" the thesaurus code against bad user installations.

The onther problem is that this is a quite OLD build 1.1RC5 does not have the current Thesaurus fixes 
in place.

Kevin
Comment 2 thomas.lange 2005-02-10 10:33:47 UTC
TL->Kevin: Does that also apply when the 'list' pointer is 0? (see below)

00e2eda0 64bd4e5e lnth680mi!MyThes::binsearch(char* sw = 0993e590  "", char**
list = 00000000 , int nlst = 0) 

I've another crashreport for the Thesaurus which from the stack looks exactly
the same
but for the value of the 'list' pointer.
If that one has a different reason drop me a note and I'll make you a copy of
that crash report. For now I'm setting that one (internal number 119251) to
duplicate.
Comment 3 thomas.lange 2005-02-11 13:56:41 UTC
Two new crashreport for the case with 'list' and 'nlst' both equal to 0 reported:

ChildEBP RetAddr
00e2f2c0 64e94e5e lnth680mi!MyThes::binsearch(char* sw = 078fe990 "", char**
list = 00000000 , int nlst = 0) 0xb
[o:\src680\src.m74\lingucomponent\source\thesaurus\mythes\mythes.cxx @ 309]

That adds about 70 reports to this case.
Comment 4 thomas.lange 2005-02-17 09:26:26 UTC
Yet another crashreport (internal ID 119519) with 'list' and 'nlst' both equal to 0.

00e2f2ac 64e94e5e lnth680mi!MyThes::binsearch(char* sw = 08820a48 "", char**
list = 00000000 , int nlst = 0) 0xb
[o:\src680\src.m77\lingucomponent\source\thesaurus\mythes\mythes.cxx @ 309]

The number of reports is 40. Thus the total now is about 110.
Comment 5 thomas.lange 2005-04-20 14:05:16 UTC
And yet another crashreport (internal ID 119920) with 'list' and 'nlst' both
equal to 0.

00e2f2f8 64e64e5e lnth680mi!MyThes::binsearch(char* sw = 082bca00 "", char**
list = 00000000 , int nlst = 0) 0xb
[o:\src680\src.m79\lingucomponent\source\thesaurus\mythes\mythes.cxx @ 309]

The number of reports for this is more than 50.
Comment 6 ooolist2007 2005-11-05 23:25:20 UTC
duplicate 

*** This issue has been marked as a duplicate of 49779 ***
Comment 7 thomas.lange 2005-11-14 09:06:55 UTC
Duplicate -> closing.