Bug#508304: Segmentation fault at startup
Deng Xiyue
manphiz-guest at users.alioth.debian.org
Thu Dec 11 09:08:39 UTC 2008
Oops, forgot to CC upstream maintainer.
On Thu, Dec 11, 2008 at 02:02:48AM +0800, Deng Xiyue wrote:
> On Wed, Dec 10, 2008 at 12:48:21AM +0100, Cyril Brulebois wrote:
> > reassign 508304 libgtkmm-2.4-1c2a
> > severity 508304 important
> > found 508304 1:2.14.3-1
> > thanks
> >
> > David Paleino <d.paleino at gmail.com> (10/12/2008):
> > > Eheh, I did not post it before because it's a bit... err.. messy.
> > > […]
> >
> > OK, got the crash on amd64 as well when upgrading to libgtkmm-2.4-1c2a
> > from experimental (which is already David's case).
> >
> > Downgrading severity as a regression (I guess?) in set_tip() for an
> > experimental package doesn't look as release-critical as synfigstudio
> > not starting at all; and reassigning (Maintainer/Uploaders Cc'd).
> >
>
> Thanks for the report.
>
> The "tootips" API has been deprecated in GTK+ since 2007-07-09, and in
> gtkmm as well with the following changelog:
>
> > 2008-07-03 Murray Cumming <murrayc {at} murrayc.com>
>
> > * gtk/src/toolbar.hg: Mark set/get_tooltips() as deprecated
> > (because it is in GTK+ now).
> > * gtk/src/toolbar.ccg: Remove the define of GTK_DISABLE_DEPRECATED
> > so the deprecated gtkmm methods still build.
> > get_tooltip_object(): Just return 0 because the implementation
> > requires GTK_DISABLE_DEPRECATED, to get the odd alternative GTK+
> > API, and that is now too complicated. It is broken anyway -
> > the fault of GTK+, not us.
>
> and with the following patch (edited to get rid of comment part):
>
> > --- trunk/gtk/src/toolbar.ccg 2007/07/12 12:41:04 869
> > +++ trunk/gtk/src/toolbar.ccg 2008/07/03 15:09:41 999
> > @@ -96,7 +89,7 @@
> > Tooltips* Toolbar::get_tooltips_object() const
> > {
> > //Note that the _tooltips field is deprecated and broken since GTK+
> > #2.12:
> > - return Glib::wrap((GtkTooltips*)gobj()->_tooltips);
> > + return 0; //Glib::wrap((GtkTooltips*)gobj()->_tooltips);
> > }
> > #endif //GTKMM_DISABLE_DEPRECATED
>
> So it looks weird the following if-statement still get passed in.
>
> > if (toolbar_->get_tooltips_object())
> > toolbar_->get_tooltips_object()->set_tip(*ret,tooltip);
>
> As noted in changelog, this problem doesn't look like to get fixed any
> more. Synfigstudio upstream may consider migrate to the new API of
> Gtk::Tooltip (note without 's').
>
> I'll contact gtkmm upstream for further information.
>
> > Mraw,
> > KiBi.
>
>
More information about the pkg-gnome-maintainers
mailing list