Issue 40775 - crash in lingucomponent Thesaurus
Summary: crash in lingucomponent Thesaurus
Status: CLOSED DUPLICATE of issue 42219
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Website general issues (show other issues)
Version: current
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: khendricks
QA Contact: issues@lingucomponent
URL:
Keywords:
Depends on:
Blocks: 42861
  Show dependency tree
 
Reported: 2005-01-17 09:49 UTC by thomas.lange
Modified: 2013-02-24 20:34 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 2005-01-17 09:49:42 UTC
This is from the crashrteporter:

00e2ee18 64c94e5e lnth680mi!MyThes::binsearch(char* sw = 05dec698 "", char**
list = 00000000 , int nlst = 0) 0xb
[o:\src680\src.m65\lingucomponent\source\thesaurus\mythes\mythes.cxx @ 309]
00e2ef10 64c933c9 lnth680mi!MyThes::Lookup(char* pText = 09bc7dc8 "", int len =
0x5dec698, mentry** pme = 00e2ef68 ) 0x57
[o:\src680\src.m65\lingucomponent\source\thesaurus\mythes\mythes.cxx @ 151]
00e2efa8 64d930ce lnth680mi!Thesaurus::queryMeanings(rtl::OUString* rTerm =
00e2f000 , com::sun::star::lang::Locale* rLocale = 00e2f0b0 ,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>* rProperties
= 00e2f0c0 ) 0x333
[o:\src680\src.m65\lingucomponent\source\thesaurus\libnth\nthesimp.cxx @ 407]
00e2f01c 62bd31e2 lng680mi!ThesaurusDispatcher::queryMeanings(rtl::OUString*
rTerm = 084ae95c , com::sun::star::lang::Locale* rLocale = 00e2f0b0 ,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>* rProperties
= 00e2f0c0 ) 0x280 [o:\src680\src.m65\linguistic\source\thesdsp.cxx @ 261]
00e2f04c 62bfbe32 svx680mi!ThesDummy_Impl::queryMeanings(rtl::OUString* rTerm =
084ae95c , com::sun::star::lang::Locale* rLocale = 00e2f0b0 ,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>* rProperties
= 00e2f0c0 ) 0x43 [o:\src680\src.m65\svx\source\editeng\unolingu.cxx @ 525]
00e2f08c 62bfc22c svx680mi!SvxThesaurusDialog::queryMeanings_Impl(rtl::OUString*
rTerm = 084ae95c , com::sun::star::lang::Locale* rLocale = 00e2f0b0 ,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>* rProperties
= 00e2f0c0 ) 0x34 [o:\src680\src.m65\svx\source\dialog\thesdlg.cxx @ 312]
00e2f0dc 62bfc41d
svx680mi!SvxThesaurusDialog::UpdateMeaningBox_Impl(com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::linguistic2::XMeaning>
>* pMeaningSeq = 00000000 ) 0x6a
[o:\src680\src.m65\svx\source\dialog\thesdlg.cxx @ 350]
00e2f104 62bfcc7c svx680mi!SvxThesaurusDialog::Init_Impl(short nLanguage =
0x20c8) 0xa8 [o:\src680\src.m65\svx\source\dialog\thesdlg.cxx @ 422]
00e2f160 626379d3 svx680mi!SvxThesaurusDialog::SvxThesaurusDialog(Window*
pParent = 080976f8 ,
com::sun::star::uno::Reference<com::sun::star::linguistic2::XThesaurus> xThes =
com::sun::star::uno::Reference<com::sun::star::linguistic2::XThesaurus>, String*
rWord = 09c74600 , short nLanguage = 0x409) 0x490
[o:\src680\src.m65\svx\source\dialog\thesdlg.cxx @ 289]
00e2f214 62637d53 sw680mi!SwView::StartThesaurus( void ) 0x1f8
[o:\src680\src.m65\sw\source\ui\uiview\viewling.cxx @ 699]
00e2f2e4 62600a7f sw680mi!SwView::ExecLingu(SfxRequest* rReq = 00e2f688 ) 0x52
[o:\src680\src.m65\sw\source\ui\uiview\viewling.cxx @ 212]
00e2f2f0 6374e940 sw680mi!SfxStubSwViewExecLingu(SfxShell* pShell = 0231a4e8 ,
SfxRequest* rReq = 00e2f688 ) 0xe
[o:\src680\src.m65\sw\wntmsci10.pro\inc\swslots.hxx @ 10871]
00e2f3b8 6374fe8a sfx680mi!SfxDispatcher::Call_Impl(SfxShell* rShell = 0231a4e8
, SfxSlot* rSlot = 62a6c68c , SfxRequest* rReq = 00e2f688 , unsigned char
bRecord = 0x1 '') 0x3c6 [o:\src680\src.m65\sfx2\source\control\dispatch.cxx @ 359]
00e2f410 636f1ac6 sfx680mi!SfxDispatcher::_Execute(SfxShell* rShell = 0231a4e8 ,
SfxSlot* rSlot = 62a6c68c , SfxRequest* rReq = 00e2f688 , unsigned short
eCallMode = 5) 0x1a5 [o:\src680\src.m65\sfx2\source\control\dispatch.cxx @ 1089]

====================================================

There are 43 reoprts of this one. The platform is wntmsci10.pro

====================================================

The source code is:

int MyThes::binsearch(char * sw, char* list[], int nlst) 
{
    int lp, up, mp, j, indx;
    lp = 0;
    up = nlst-1;
    indx = -1;
>>>>>>    if (strcmp(sw,list[lp]) < 0) return -1;
    if (strcmp(sw,list[up]) > 0) return -1;
    while (indx < 0 ) {
        mp = (int)((lp+up) >> 1);
        j = strcmp(sw,list[mp]);
        if ( j > 0) {
            lp = mp + 1;
        } else if (j < 0 ) {
            up = mp - 1;
        } else {
            indx = mp;
        }
        if (lp > up) return -1;      
    }
    return indx;
}
Comment 1 thomas.lange 2005-01-17 09:51:37 UTC
.
Comment 2 thomas.lange 2005-01-17 09:55:35 UTC
There is also another internal duplicate of thuis one #118902#.
There are another 36 reports for that one.
Comment 3 pavel 2005-01-30 20:22:58 UTC
crash -> raising prio.
Comment 4 stefan.baltzer 2005-02-18 14:23:56 UTC
SBA: Can someone please add a description on how to reproduce this? The crash
report database did not give any hints. When QA tries to verify a fix, a
developer note like "code was promoted, looks better now" is not exactly
trustworthy :-)  
Reassigned to Kevin.

Comment 5 pavel 2005-02-18 16:03:57 UTC
sba: in m65, just run thesaurus (ctrl+F7 on any word) and it will crash.
in should not in pj19.
Comment 6 pavel 2005-02-18 16:05:58 UTC
This is duplicate to 42219 aka missing en-US thesaurus data files.


*** This issue has been marked as a duplicate of 42219 ***
Comment 7 milek_pl 2007-10-11 18:03:00 UTC
closing.