Date: Fri, 17 Sep 2004 15:56:19 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Sean McNeil <sean@mcneil.com> Cc: freebsd-gnome@freebsd.org Subject: Re: seahorse crashes immediately Message-ID: <414B4163.2040306@marcuscom.com> In-Reply-To: <1095413153.57476.4.camel@server.mcneil.com> References: <1095267108.86712.2.camel@server.mcneil.com> <4148757E.8000101@marcuscom.com> <1095293014.76661.2.camel@server.mcneil.com> <1095299723.62093.18.camel@shumai.marcuscom.com> <1095305657.7380.10.camel@server.mcneil.com> <1095385263.19148.9.camel@shumai.marcuscom.com> <1095413153.57476.4.camel@server.mcneil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020803070307080105000203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sean McNeil wrote: | On Thu, 2004-09-16 at 18:41, Joe Marcus Clarke wrote: | |>On Wed, 2004-09-15 at 23:34, Sean McNeil wrote: |> |>>On Wed, 2004-09-15 at 18:55, Joe Marcus Clarke wrote: |>> |>>>On Wed, 2004-09-15 at 20:03, Sean McNeil wrote: |>>> |>>>>On Wed, 2004-09-15 at 10:01, Joe Marcus Clarke wrote: |>>>> |>>>>>Please rebuild seahorse and libgnomeui with debugging symbols, and get |>>>>>the full backtrace again. |>>>>> |>>>> |>>>>With symbols for seahorse and libgnomeui: |>>>> |>>>>Backtrace was generated from '/usr/X11R6/bin/seahorse' |>>> |>>>Can you run this from gdb, and get the output of "bt full"? I don't see |>>>the problem, and I can't reproduce it. |>>> |>> |>>sure thing. The seg 11 is in glib, so I recompiled it with symbols: |> |>Try this patch. | | | I get the following error with this patch: | | cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -D_REENTRANT | -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/libart-2.0 | -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include | -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0 | -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0 | -I/usr/local/include/libxml2 -I/usr/local/include | -I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0 | -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0 | -I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0 | -I/usr/X11R6/include/gnome-vfs-2.0 | -I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0 | -I/usr/X11R6/include -I/usr/local/include/freetype2 | -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0 | -I/usr/X11R6/include/eel-2 -I/usr/X11R6/include/gail-1.0 | -I/usr/local/include -DDATA_DIR=\""/usr/X11R6/share/gnome"\" | -DSEAHORSE_GLADEDIR=\""/usr/X11R6/share/gnome/seahorse/glade/"\" | -DLOCALEDIR=\"/usr/X11R6/share/locale\" | -DPIXMAPSDIR=\""/usr/X11R6/share/gnome/pixmaps/"\" | -I/usr/local/include -O -pipe -c `test -f seahorse-context.c || echo | './'`seahorse-context.c | seahorse-context.c: In function `seahorse_context_class_init': | seahorse-context.c:109: error: `object_class' undeclared (first use in | this function) | seahorse-context.c:109: error: (Each undeclared identifier is reported | only onceseahorse-context.c:109: error: for each function it appears | in.) | gmake[3]: *** [seahorse-context.o] Error 1 | | Changing it from object_class to gobject_class and it makes no | difference. Same crash. Try this patch instead. Joe | | Sean | | | - -- PGP Key : http://www.marcuscom.com/pgp.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBS0Fib2iPiv4Uz4cRAijJAJ9tvco2h+abl1uLtKLGbqZUoxZJJACgipiG x8fUnIfugwbyx4JY5IEdqR8= =skhn -----END PGP SIGNATURE----- --------------020803070307080105000203 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="patch-libseahorse_seahorse-context.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-libseahorse_seahorse-context.c" --- libseahorse/seahorse-context.c.orig Thu Sep 16 21:37:05 2004 +++ libseahorse/seahorse-context.c Fri Sep 17 15:34:10 2004 @@ -96,22 +96,21 @@ static void seahorse_context_class_init (SeahorseContextClass *klass) { - GObjectClass *gobject_class; - + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + parent_class = g_type_class_peek_parent (klass); - gobject_class = G_OBJECT_CLASS (klass); - + gobject_class->finalize = seahorse_context_finalize; - - klass->add = NULL; - klass->progress = NULL; - + context_signals[ADD] = g_signal_new ("add", G_OBJECT_CLASS_TYPE (gobject_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (SeahorseContextClass, add), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, SEAHORSE_TYPE_KEY); context_signals[PROGRESS] = g_signal_new ("progress", G_OBJECT_CLASS_TYPE (gobject_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (SeahorseContextClass, progress), NULL, NULL, seahorse_marshal_VOID__STRING_DOUBLE, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_DOUBLE); + + klass->add = NULL; + klass->progress = NULL; } static GpgmeError --------------020803070307080105000203--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?414B4163.2040306>