-----BEGIN PGP SIGNED MESSAGE-----

On Samstag, 1. November 2003 21:10, Alfredo Braunstein wrote:
> Kornel Benko wrote:
> 
> > 6.)   Find text in collapsed ERT --> cursor moves there, but it stays
> > collapsed
> 
> I see it.
> 
> > 7.)   could not find text in collapsed box
> 
> A collapsed minipage? I cannot reproduce for some reason; can you give more
> precise instruccions?

1.) Select a paragraph
2.) Insert->box->framed
3.) collapse it
4.) position cursor before it
5.) search

BTW, I cannot reproduce it anymore. 

> > 5.)   undo on this freshly created box crashed lyx
> 
> Is it related to search? I see a crash before searching. <new doc>,insert a
> minipage, close it, undo -> crash. Is that what you mean?

As of now, I do not believe this anymore.
But wait, I still have a core dump ...
The backtrace is heavy!

(gdb) bt
#0  0x408ae471 in kill () from /lib/libc.so.6
#1  0x40aff521 in pthread_kill () from /lib/libpthread.so.0
#2  0x40aff83b in raise () from /lib/libpthread.so.0
#3  0x408ae204 in raise () from /lib/libc.so.6
#4  0x408af830 in abort () from /lib/libc.so.6
#5  0x0838835f in lyx::support::abort() () at abort.C:19
#6  0x08103bb3 in error_handler (err_sig=11) at lyx_main.C:304
#7  0x40b021ec in __pthread_sighandler () from /lib/libpthread.so.0
#8  <signal handler called>
#9  0x0812cfe0 in Row::pos() const (this=0xbfffde0c) at lyxrow.C:47
#10 0x08141422 in Paragraph::getRow(int) (this=0x8cc94e0, pos=0) at paragraph.C:1805
#11 0x080d489e in bv_funcs::currentState(BufferView*) (bv=0x870f390) at 
bufferview_funcs.C:368
#12 0x08119b58 in LyXFunc::view_status_message() (this=0x870d628) at lyxfunc.C:1990
#13 0x082a1f32 in QtView::update_view_state_qt() (this=0x86c8ab8) at QtView.C:119
#14 0x082a1ed3 in QtView::clearMessage() (this=0x86c8ab8) at QtView.C:106
#15 0x0806f0cd in BufferView::Pimpl::workAreaDispatch(FuncRequest const&) 
(this=0x870f3f0, [EMAIL PROTECTED]) at BufferView_pimpl.C:957
#16 0x08078474 in boost::_mfi::mf1<bool, BufferView::Pimpl, FuncRequest 
const&>::operator()(BufferView::Pimpl*, FuncRequest const&) const (this=0xbfffe258, 
p=0x870f3f0, [EMAIL PROTECTED])
    at ../boost/boost/bind/mem_fn_template.hpp:130
#17 0x08077a73 in operator()<bool, boost::_mfi::mf1<bool, BufferView::Pimpl, const 
FuncRequest&>, boost::_bi::list1<FuncRequest&> > (this=0x86fe4c0, f=
        {f_ = {__pfn = 0x806f006 <BufferView::Pimpl::workAreaDispatch(FuncRequest 
const&)>, __delta = 0}}, [EMAIL PROTECTED]) at ../boost/boost/bind.hpp:234
#18 0x0807698a in operator()<FuncRequest> (this=0x86fe4b8, [EMAIL PROTECTED]) at 
../boost/boost/bind/bind_template.hpp:33
- -


up ... until #9
#9  0x0812cfe0 in Row::pos() const (this=0xbfffde0c) at lyxrow.C:47
47              return pos_;
(gdb) p pos_
$1 = -52
(gdb) p *this
$2 = {
  pos_ = -52,
  end_ = 147618972,
  fill_ = -1073750360,
  height_ = 3221216872,
  width_ = 1082263659,
  y_offset_ = 144154444,
  ascent_of_text_ = 56896,
  top_of_text_ = 3221216840,
  baseline_ = 147622728,
  x_ = 1.23070989e-33,
  fill_separator_ = -1.99901628,
  fill_hfill_ = 0,
  fill_label_hfill_ = 4.48118019
}
(gdb) up
#10 0x08141422 in Paragraph::getRow(int) (this=0x8cc94e0, pos=0) at paragraph.C:1805
1805            for (--rit; rit != begin && rit->pos() > pos; --rit)
(gdb) p pos
$3 = 0
(gdb) p rit
$4 = {
  <iterator<std::random_access_iterator_tag,Row,int,Row*,Row&>> = {<No data fields>},
  members of __normal_iterator<Row*,std::vector<Row, std::allocator<Row> > >:
  _M_current = 0xbfffde0c
}
(gdb) up
#11 0x080d489e in bv_funcs::currentState(BufferView*) (bv=0x870f390) at 
bufferview_funcs.C:368
368             RowList::iterator rit = pit->getRow(text->cursor.pos());
(gdb) ...

Is there something interesting for you?

        Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBP6QeIrewfbDGmeqhAQH04wQAhuLtcVWVvzvBEGYHv0E1kPrLK7M+xcNi
Ggd87zzCRNJ72vqmKfy94fWcCtJkw2M1tLFB2opUwOeqI9y+PV3jFOCuuwhvEoay
F3ucQxDQBQoGhd6FxCHCfv3ViDWxTpJyIMSGOQ/E+O5oN1AxchgNa8fRu67al2B1
TRDay513qaI=
=t8jY
-----END PGP SIGNATURE-----

Reply via email to