meld segfaults on -CURRENT

Joe Marcus Clarke marcus at marcuscom.com
Sat Apr 19 13:47:39 PDT 2003


On Sat, 2003-04-19 at 15:13, Mezz bsdforums.org wrote:
> >>On Sat, 2003-04-19 at 06:14, Pav Lucistnik wrote:
> >> > Hi,
> >> >
> >> > my port textproc/meld 0.7.0 no longer works after I upgraded from
> >> > 5.0-RELEASE to yesterday's -CURRENT. I rebuild everything related
> >> > (everything referenced in backtrace) with debug symbols, bt follows.
> >> > Please help me, I have update to 0.7.1 ready and I can't test it.
> >>
> >>Without really digging into this, try doing ln -s aj /etc/malloc.conf as
> >>root.  In the meantime, I'll install meld on my -CURRENT machine.
> >
> >Hey, it's same as with straw. Do you remember, Joe? But, I haven't tried 
> >with malloc.conf, so let me try it as what it's fixed to Pav Lucistnik's 
> >problem.
> 
> Yes! It's fixed! So, can you bug a PR to get it fixes?

I've fixed this in libgnomeui by making sure icons will be NULL if no
default-icon property exists.  Please update to the latest libgnomeui,
remove /etc/malloc.conf, and see if the crash persists.  Thanks.

Joe

> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=50802
> 
> >Cheers,
> >Mezz
> >
> >>Joe
> >>
> >> >
> >> > $ meld
> >> >
> >> > (Meld:27739): GLib-GObject-WARNING **: gobject.c:946: object class
> >> > `GnomeProgram' has no property named `default-icon'
> >> > Segmentation fault (core dumped)
> >> >
> >> > $ gdb python python.core
> >> > [...]
> >> > #0  0x28d170d1 in gnome_app_instance_init (app=0x83c2500) at
> >> > gnome-app.c:223
> >> > 223             if (icons && *icons) {
> >> >
> >> > (gdb) print icons
> >> > $1 = 0x760 <Address 0x760 out of bounds>
> >> >
> >> > (gdb) bt
> >> > #0  0x28d170d1 in gnome_app_instance_init (app=0x83c2500) at
> >> > gnome-app.c:223
> >> > #1  0x282c3762 in g_type_create_instance (type=0) at gtype.c:1419
> >> > #2  0x282b20a1 in g_object_constructor (type=137607104,
> >> > n_construct_properties=2, construct_params=0x83aef40) at gobject.c:827
> >> > #3  0x282b1b07 in g_object_newv (object_type=137607104, n_parameters=8,
> >> > parameters=0x83c2200) at gobject.c:725
> >> > #4  0x28a61ed6 in glade_standard_build_widget (xml=0x83251c0,
> >> > widget_type=137607104, info=0x83abb00) at glade-xml.c:1645
> >> > #5  0x28f092a6 in app_build (xml=0x83251c0, widget_type=137607104,
> >> > info=0x83abb00) at glade-gnome.c:374
> >> > #6  0x28a622d5 in glade_xml_build_widget (self=0x83251c0,
> >> > info=0x83abb00) at glade-xml.c:1849
> >> > #7  0x28a61374 in glade_xml_build_interface (self=0x83251c0,
> >> > iface=0x83a9d20, root=0x8162514 "meldapp") at glade-xml.c:1173
> >> > #8  0x28a5fce8 in glade_xml_construct (self=0x83251c0, fname=0x8111114
> >> > "/usr/local/lib/python2.2/site-packages/meldapp/glade2/meld-app.glade",
> >> >     root=0x8162514 "meldapp", domain=0x0) at glade-xml.c:192
> >> > #9  0x28a5fbf3 in glade_xml_new (fname=0x8111114
> >> > "/usr/local/lib/python2.2/site-packages/meldapp/glade2/meld-app.glade",
> >> >     root=0x8162514 "meldapp", domain=0x0) at glade-xml.c:155
> >> > #10 0x28a567a7 in _wrap_glade_xml_new (self=0x839b84c, args=0x816290c,
> >> > kwargs=0x0) at libglade.c:40
> >> > #11 0x0805e62b in PyTuple_Fini ()
> >> > #12 0x080a36e9 in PyObject_Call ()
> >> > #13 0x0807713d in PyEval_GetFuncDesc ()
> >> > #14 0x08075074 in PyEval_EvalCode ()
> >> > #15 0x08075faf in PyEval_EvalCodeEx ()
> >> > #16 0x080b2b13 in PyFunction_SetClosure ()
> >> > [...]
> >>--
> >>PGP Key : http://www.marcuscom.com/pgp.asc
> >
> >_________________________________________________________________
> >The new MSN 8: smart spam protection and 2 months FREE*  
> >http://join.msn.com/?page=features/junkmail
> >
> >_______________________________________________
> >freebsd-gnome at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> >To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> 
> 
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030419/d3f4cdb3/attachment.bin


More information about the freebsd-gnome mailing list