Bug#360513: libgtk2.0-0: gtk application crashes eventually after upgrade on testing

Sjoerd Simons sjoerd at spring.luon.net
Tue Apr 4 18:54:47 UTC 2006


On Tue, Apr 04, 2006 at 03:41:29PM -0300, Alexandre Pereira Nunes wrote:
> Sjoerd Simons escreveu:
> 
> >On Sun, Apr 02, 2006 at 05:23:23PM -0300, Alexandre wrote:
> > 
> >
> >>Package: libgtk2.0-0
> >>Version: 2.8.13-1
> >>Severity: grave
> >>Justification: renders package unusable
> >>
> >>
> >>After a while, I upgraded the distro. Now my application crashes 
> >>eventually
> >>when idle. The only thing running is a timer which replaces a gtk tree 
> >>model
> >>associated with an gtktreeview; It used to work "forever". The backtrace 
> >>is
> >>below. The problem seems to be at gtk_notebook_get_tab_label somehow. 
> >>Please
> >>forward this to gtk maintainers if it's not on your scope, thanks.
> >>   
> >>
> >
> >Could you try running your program with G_SLICE=always-malloc ? This could 
> >very
> >well be a bug in your program, which is triggered by the new glib.
> 
> I'll later on, on the meanwhile can you please point me to a change 
> description so that I can fix my program if it's eventually outdated?

Glib uses a new memory allocate (slice allocator), you don't have to change
your  program for it. But as a consequence of this change, crashes as a result
of allocation bugs are triggered a lot easier. Some bugs we've have seen is
using g_free instead of g_object_unref and referencing a Glist  data pointer
after the element has been removed.

  Sjoerd
-- 
"Consider a spherical bear, in simple harmonic motion..."
		-- Professor in the UCB physics department





More information about the Pkg-gnome-maintainers mailing list