octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base_graphics_backend


From: Ryan Rusaw
Subject: Re: base_graphics_backend
Date: Wed, 10 Sep 2008 02:39:32 -0600

On Wed, Sep 10, 2008 at 2:00 AM, Michael Goffioul
<address@hidden> wrote:
> There's something strange in this backtrace: when delete_children()
> is called from axes::properties::set_defaults(), normally the title
> and labels contains invalid handles, such that the call to free()
> (from delete_children()) should not trigger any object_destroyed()
> in the backend. It seems that between "title = graphics_handle ()"
> and "delete_children ()" (in axes::properties::set_defaults), the handle
> for the title is recreated. Ryan, could you track this down?
>
> Michael.
>

#0  octave_eclipse_backend::object_created (this=0x84634c0, address@hidden)
    at octave_eclipse_backend.cc:578
#1  0xb7542571 in gh_manager::do_make_graphics_handle (this=0x81c9c08,
    address@hidden, address@hidden, do_createfcn=true) at ./graphics.h:1519
#2  0xb7546f43 in axes::properties::get_title (this=0x84de100)
    at ./graphics.h:8584
#3  0xb754be6e in axes::properties::get (this=0x84de100, address@hidden)
    at ./graphics-props.cc:1390
#4  0xb51dce2b in octave_eclipse_backend::property_changed (this=0x84634c0,
    address@hidden, id=3001) at octave_eclipse_backend.cc:525
#5  0xb7526946 in base_property::set (this=0x84de720, address@hidden,
    do_run=true) at ./graphics.h:1512
#6  0xb754705d in axes::properties::set_defaults (this=0x84de100,
    address@hidden, address@hidden) at ./graphics.h:1125
#7  0xb759b63b in axes::set_defaults (this=0x84de0f8, address@hidden)
    at ./graphics.h:5288
#8  0xb7562b07 in F__go_axes_init__ (address@hidden) at ./graphics.h:2209

It looks like when set_defaults assigns a graphics handle to the title
property, it calls property_changed on the title. My backend then
attempts to get the property value from the object which results in
another text object being created.

And now to sleep.

Ryan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]