On Thu, Jan 10, 2002 at 11:26:20AM +0200, Martin Vermeer wrote:

> On Thu, Jan 10, 2002 at 07:24:00PM +1300, Michael Koziarski wrote:
>  
> > Bug_id: 134
> > Keywords: crash 
> > 
> > Crash clicking on old-graphics in float
> > 
> > 
> > 
> > 
> > - Open new document; insert->float->figure; insert->minipage;
> >   insert->old graphics; insert->tabular material next to the graphics;
> >   place the cursor anywhere in the table (dummy position or table cell
> >   doesn't matter).  Now click on the picture -> crash
> > 
> > =======================================================================
> > 
> > Anything to say about this one?
 
... 

> Martin
> 

Hmmm, I have reduced the problem now to insettext.C:1728. Where it says

void InsetText::fitInsetCursor(BufferView * bv) const
{
    if (the_locking_inset) {
        the_locking_inset->fitInsetCursor(bv);            <--- here I was
        return;
    }

...and if I ask gdb what *the_locking_inset is, I get

(gdb) print *the_locking_inset
$4 = {<Inset> = {top_x = 0, topx_set = false, top_baseline = 0, scx = 0, 
    id_ = 406, static inset_id = 465, owner_ = 0x84436d4, 
    par_owner_ = 0x8439c00, name_ = {static npos = 4294967295, 
      static nilRep = {len = 0, res = 0, ref = 1024, selfish = false}, 
      dat = 0x8379e58 "Lÿÿÿlb)\bä[)\b"}, background_color_ = inherit, 
    _vptr. = 0x837e9a0}, cursor_visible_ = 144, block_drawing_ = 166}

...and then:

(gdb) print the_locking_inset->fitInsetCursor(bv)
Cannot resolve method UpdatableInset::fitInsetCursor to any overloaded instance

(Dunno if this is meaningful)

...and then, typing 'step': BOOM!!

How from here?

Martin
-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq

Attachment: msg31272/pgp00000.pgp
Description: PGP signature

Reply via email to