On 05-Mar-2001 Edwin Leuven wrote:
> 
> Whatever you want, I can also add "itive" to make it "casesensitive". You 
> want a new patch, or is it ok as is for the moment? Ed.

Well I tried the patch here and got a segfault on search.
Here is the backtrace:

(gdb) bt
#0  0x401b2a21 in __kill () from /lib/libc.so.6
#1  0x401b2799 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x401b3e04 in abort () at ../sysdeps/generic/abort.c:88
#3  0x817d4e7 in lyx::abort () at abort.C:9
#4  0x817fdb3 in lyxstring::operator[] (this=0xbffff548, pos=4) at LAssert.h:24
#5  0x80aed90 in IsStringInText (par=0x82eaba0, pos=7, str=@0xbffff548, 
    cs=@0xbffff546, mw=@0xbffff547) at /usr/include/ctype.h:176
#6  0x80aef7c in SearchForward (bv=0x828da78, str=@0xbffff548, cs=@0xbffff546, 
    mw=@0xbffff547) at lyxfind.C:154
#7  0x80aecb9 in LyXFind (bv=0x828da78, searchstr=@0xbffff548, 
    casesens=@0xbffff546, matchwrd=@0xbffff547, forward=@0xbffff57c)
    at lyxfind.C:93
#8  0x816a1ae in FormSearch::Find (this=0x8293b70, next=true)
    at FormSearch.C:93
#9  0x816a0db in FormSearch::input (this=0x8293b70, obj=0x82cb5d0)
    at FormSearch.C:80
#10 0x8178810 in FormBase::InputCB (ob=0x82cb5d0, data=0) at FormBase.C:181
#11 0x8178065 in C_FormBaseInputCB (ob=0x82cb5d0, d=0) at FormBase.C:44
#12 0x819224f in fl_object_qread () at ../sigc++/slot.h:111
#13 0x8190ee9 in fl_check_forms () at ../sigc++/slot.h:111
#14 0x8137f18 in GUIRunTime::runTime () at GUIRunTime.C:79
#15 0x80a7570 in LyXGUI::runTime (this=0x8261d80) at lyx_gui.C:312
#16 0x80a873c in LyX::LyX (this=0xbffff730, argc=0xbffff770, argv=0xbffff7d4)
    at ../src/lyx_main.C:168
#17 0x80c0558 in main (argc=1, argv=0xbffff7d4) at ../src/main.C:40
#18 0x401a1b5c in __libc_start_main (main=0x80c0488 <main>, argc=1, 
    ubp_av=0xbffff7d4, init=0x804d564 <_init>, fini=0x8200e38 <_fini>, 
    rtld_fini=0x4000d634 <_dl_fini>, stack_end=0xbffff7cc)
    at ../sysdeps/generic/libc-start.c:129


I can reproduce this as often as I want. I just have to press 2 or 3
times the ">" button with the same searchstring then I'll get this!

       Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

The San Diego Freeway.  Official Parking Lot of the 1984 Olympics!

Reply via email to