Issue 24307 - Crash in lingucomponent thesaurus
Summary: Crash in lingucomponent thesaurus
Status: CLOSED DUPLICATE of issue 24308
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Website general issues (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: issues@lingucomponent
QA Contact: issues@lingucomponent
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 10:41 UTC by thomas.lange
Modified: 2013-02-24 20:34 UTC (History)
1 user (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-01-12 10:41:36 UTC
This one is created from a crashreport:

libpthread.so.0 + 0xb5ce -- not found
libc.so.6 + 0x283b8 -- not found
ThesLookup::Lookup(char const*, long, char***)
/net/grande.germany/develop4/update/SRX645/src.m19/lingucomponent/source/thesaurus/libth/thlookup.cxx:167
Thesaurus::queryMeanings(rtl::OUString const&, com::sun::star::lang::Locale
const&, com::sun::star::uno::Sequence const&)
/develop4/update/SRX645/unxlngi5.pro/inc.m19/rtl/string.hxx:270
ThesaurusDispatcher::queryMeanings(rtl::OUString const&,
com::sun::star::lang::Locale const&, com::sun::star::uno::Sequence const&)
/develop4/update/SRX645/unxlngi5.pro/inc.m19/com/sun/star/uno/Reference.h:334
ThesDummy_Impl::queryMeanings(rtl::OUString const&, com::sun::star::lang::Locale
const&, com::sun::star::uno::Sequence const&)
/develop4/update/SRX645/unxlngi5.pro/inc.m19/com/sun/star/uno/Reference.h:334
SvxThesaurusDialog::UpdateMeaningBox_Impl(com::sun::star::uno::Sequence >*)
/develop4/update/SRX645/unxlngi5.pro/inc.m19/com/sun/star/uno/Reference.h:334
SvxThesaurusDialog::Init_Impl(short)
/net/grande.germany/develop4/update/SRX645/src.m19/svx/source/dialog/thesdlg.cxx:385
SvxThesaurusDialog::SvxThesaurusDialog(Window*, com::sun::star::uno::Reference,
String const&, short)
/develop4/update/SRX645/unxlngi5.pro/inc.m19/com/sun/star/uno/Reference.h:138
SwView::StartThesaurus()
../inc/view.hxx:457
SwView::ExecLingu(SfxRequest&)
/net/grande.germany/develop4/update/SRX645/src.m19/sw/source/ui/uiview/viewling.cxx:201
SfxStubSwViewExecLingu(SfxShell*, SfxRequest&)
../../../unxlngi5.pro/inc/swslots.hxx:10114
SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char)
/net/grande.germany/develop4/update/SRX645/src.m19/sfx2/source/control/dispatch.cxx:350
SfxDispatcher::PostMsgHandler(SfxRequest*)
/net/grande.germany/develop4/update/SRX645/src.m19/sfx2/source/control/dispatch.cxx:1557
SfxDispatcher::LinkStubPostMsgHandler(void*, void*)
/net/grande.germany/develop4/update/SRX645/src.m19/sfx2/source/control/dispatch.cxx:1524
SfxHintPoster::Event(SfxHint*)
/net/grande.germany/develop4/update/SRX645/src.m19/sfx2/source/notify/hintpost.cxx:121
SfxHintPoster::LinkStubDoEvent_Impl(void*, void*)
/develop4/update/SRX645/unxlngi5.pro/inc.m19/tools/ref.hxx:423
ImplHandleUserEvent
/develop4/update/SRX645/unxlngi5.pro/inc.m19/tools/link.hxx:159


There were 8 reports of this issue and 4 users left their e-mail address:
	lduperval@videotron.ca
	nusselder@zonnet.nl
	j.wlodarczak@wanadoo.be
	hugo@softwarelibre.com.ve
All reporst were from the unxlngi5.pro platform.

TL->Kevin: Please have a look.
Comment 1 khendricks 2004-01-12 16:03:18 UTC
Hi Thomas,

I think this is the same error as in 24308 sice line 167 of thlookup.cxx is:

    /* find it in the list */
    sal_Int32 idx = binsearch(wrd,list,nw);


So my guess is that the list data that is read in from the thesaurus data is corrupt.
If this is not from the th_en_US.dat and th_en_US.dic files, then the issue belongs with 
that thesaurus author.

I will double check the th_en_US.dat and th_en_US.dic file to make sure no null
strings are present and then try to make the code more robust to corrupt data input.

As I said, hopefully this entire problem will go away with the new Thesaurus code in OOo 2.0

Thanks,

Kevin
Comment 2 ooolist2007 2005-08-15 12:53:23 UTC
duplicate 

*** This issue has been marked as a duplicate of 24308 ***
Comment 3 milek_pl 2007-10-11 17:44:54 UTC
closing.