After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 2598 - Gtk+1.2.5 out of bounds hash key in gtk_type_create() and SEGV results
Gtk+1.2.5 out of bounds hash key in gtk_type_create() and SEGV results
Status: RESOLVED DUPLICATE of bug 1502
Product: gtk+
Classification: Platform
Component: .General
1.2.x
Other other
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 1999-10-05 22:00 UTC by mwelmor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mwelmor 2001-01-27 19:46:50 UTC
Package:  Gtk+
Version:  1.2.5



I grabbed glib-1.2.5 and gtk+-1.2.5 off the ftp site and compiled
on a development Sun Enterprise 450 here.

'uname -a' reveals:
SunOS wireless1 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-4

I wrote a simple test program that is nothing more than:
--
#include	<gtk/gtk.h>

int main( int argc, char **argv ) {

	gtk_init( &argc, &argv );

return 0;
}
--
----------------------------
It gets SEGV and dumps core.
----------------------------
The gdb output with backtrace is below:
---
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /home/melmore/apps/lib/libgtk-1.2.so.0...done.
Reading symbols from /home/melmore/apps/lib/libgdk-1.2.so.0...done.
Reading symbols from /home/melmore/apps/lib/libgmodule-1.2.so.0...done.
Reading symbols from /home/melmore/apps/lib/libglib-1.2.so.0...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libXext.so.0...done.
Reading symbols from /usr/lib/libX11.so.4...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...done.
  • #0 gtk_type_name_hash
    at gtktypeutils.c line 917
  • #0 gtk_type_name_hash
    at gtktypeutils.c line 917
  • #1 g_hash_table_lookup
    at ghash.c line 114
  • #2 gtk_type_create
    at gtktypeutils.c line 178
  • #3 gtk_type_init_builtin_types
    at gtktypeutils.c line 825
  • #4 gtk_type_init
    at gtktypeutils.c line 142
  • #5 gtk_init_check
    at gtkmain.c line 389
  • #6 gtk_init
    at gtkmain.c line 423
  • #7 main
    at gtktest-main.c line 10


Any ideas?  Anyone else having this problem on Solaris 2.7?



-- 
___________
Thanks,
Mike Elmore
kre8tive
mwelmor@enteract.com
http://www.enteract.com/~mwelmor/

It's not "Where do you want to go today?"
...It's more like "What did I do to deserve this today?"




------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 14:46 -------
This bug was previously known as bug 2598 at http://bugs.gnome.org/
http://bugs.gnome.org/show_bug.cgi?id=2598
Originally filed under the gtk+ product and general component.

The original reporter (mwelmor@enteract.com) of this bug does not have an account here.
Reassigning to the exporter, debbugs-export@bugzilla.gnome.org.
Reassigning to the default owner of the component, gtk-bugs@gtk.org.

Comment 1 Owen Taylor 2001-02-01 00:57:52 UTC

*** This bug has been marked as a duplicate of 1502 ***