[10241] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Any glib/gtk app dies in g_hook_free()

daemon@ATHENA.MIT.EDU (Dan Newcombe)
Wed Nov 18 10:08:12 1998

Date: Wed, 18 Nov 1998 09:58:03 -0500 (EST)
From: Dan Newcombe <Newcombe@mordor.clayton.edu>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Everytime I try to run any gnome or gtk program, the following happens:

(gdb) run
Starting program: /opt/gnome/bin/gfontsel 

Program received signal SIGILL, Illegal instruction.
0x4207ece8 in ?? ()
(gdb) bt
#0  0x4207ece8 in ?? ()
#1  0x7ae6bd6c in g_hook_free (hook_list=0x7aafae98, hook=0x4207ece8)
    at ghook.c:111
#2  0x6c697374 in ?? ()
#3  0x7ae6bd6c in g_hook_free (hook_list=0x67746b5f, hook=0x697a6f6e)
    at ghook.c:111
Cannot access memory at address 0x67746acb.
(gdb) quit

I have found that by commenting out the following code in ghook.c in the
g_hook_free function:
 if (hook_list->hook_free)
    hook_list->hook_free (hook_list, hook);

Everything works (heaven only knows what commenting that out affects :)

I am running the lastest pull from CVS (ie, this morning, 12pm GMT) though
this problem has been happening for a couple of weeks now.

This is on an HPUX 10.20 machine, with GCC 2.8.1.

Any ideas?
	-Dan

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post