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 1087 - GTK+ 1.2.2 - AIX 4.3.2 core dump
GTK+ 1.2.2 - AIX 4.3.2 core dump
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
1.2.x
Other other
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 1526 4566 4976 17834 30134 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 1999-04-20 20:30 UTC by Exported from Debbugs
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Exported from Debbugs 2001-01-27 19:46:18 UTC
Package: gtk+
Version: 1.2.2

GTK+ 1.2.2, compiled under AIX 4.3.2 with gcc 2.8.1, dumps core upon
startup of any program compiled with it.

tss1crs:~/gtk+-1.2.2/gtk$ dbx .libs/testgtk
[...]
(dbx) run

Segmentation fault in glink.exit at 0xd12de738 ($t1)
0xd12de738 (exit+0x58) 800c0000        lwz   r0,0x0(r12)
(dbx) where
glink.exit() at 0xd12de738
gtk_set_locale(), line 443 in "gtkmain.c"
main(argc = 1, argv = 0x2ff22ab8), line 8349 in "testgtk.c"

I get the same result whether LANG is set to C, or set to en_US, or unset.




------- Additional Comments From otaylor@redhat.com 1999-08-19 15:09:56 ----

From: Owen Taylor <otaylor@redhat.com>
To: 1087@bugs.gnome.org
Message-Id: <199908191909.PAA01685@fresnel.labs.redhat.com>
Date: Thu, 19 Aug 1999 15:09:56 -0400

This might be the same as bug #1526?




------- Additional Comments From carlson@workingcode.com 2000-04-07 23:10:11 ----

Subject: The problem and a horrible fix for bug #1087 on AIX
From: James Carlson <carlson@workingcode.com>
To: 1087@bugs.gnome.org
Message-Id: <200004080310.XAA13662@h006008986325.ne.mediaone.net>
Date: Fri, 7 Apr 2000 23:10:11 -0400

AIX shared library support doesn't permit unresolved symbols in a
shared library.  The problem here is that libgtk-1.2.so.0.5.2 depends
on libgdk, but it doesn't have -lgdk when it's built.

I'm not sure what the right fix is, since it looks like
gtk/Makefile.am and configure.in will need to be altered to support
this quirk.  However, here's what I did to get gtk+-1.2.7 to work with
gcc-2.95.2 on AIX 4.1.5:

	./configure --with-locale=C
	make
	make install
	rm -f gdk/libgdk.la gtk/libgtk.la
	# Add "-lgdk " before "-lgmodule" in libgtk_la_LDFLAGS defined
	# in gtk/Makefile
	make
	make install

Ignore the "_GLOBAL__DI" and "_GLOBAL_DD" warnings.  The
gtk/test{dnd,gtk,input,rgb,selection} programs appear to function
correctly.  For what it's worth, here's the output of the testrgb
program:

Visual 0x22, type = pseudo color, depth = 8, 0:0:0 (system); score=4111
Visual 0x29, type = direct color, depth = 8, e0:1c:3; score=4100
Visual 0x2a, type = direct color, depth = 8, e0:1c:3; score=4100
Visual 0x2b, type = direct color, depth = 8, e0:1c:3; score=4100
Visual 0x26, type = true color, depth = 8, e0:1c:3; score=4101
Visual 0x27, type = true color, depth = 8, e0:1c:3; score=4101
Visual 0x28, type = true color, depth = 8, e0:1c:3; score=4101
Visual 0x24, type = static color, depth = 8, 0:0:0; score=4100
Visual 0x23, type = grayscale, depth = 8, 0:0:0; score=4100
Visual 0x25, type = static gray, depth = 8, 0:0:0; score=4100
color cube: 5 x 5 x 5
Chose visual 0x22, image bpp=8, msb first
Color test time elapsed: 1.35s, 73.9 fps, 4.73 megapixels/s
Color test (dithered) time elapsed: 1.93s, 51.7 fps, 3.31 megapixels/s
Grayscale test time elapsed: 0.96s, 104.0 fps, 6.65 megapixels/s
Grayscale test (dithered) time elapsed: 2.44s, 41.0 fps, 2.63 megapixels/s
Please submit these results to http://www.levien.com/gdkrgb/survey.html

I can put my libraries up for ftp if anyone is interested ...

-- 
James Carlson                                  <carlson@workingcode.com>
"PPP Design and Debugging" --- http://people.ne.mediaone.net/carlson/ppp




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

The original reporter (ic5035%tss1crs.amgreetings.com@rose.amgreetings.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 Havoc Pennington 2001-01-28 00:52:15 UTC
*** Bug 1526 has been marked as a duplicate of this bug. ***
Comment 2 Havoc Pennington 2001-01-28 00:53:04 UTC
*** Bug 4566 has been marked as a duplicate of this bug. ***
Comment 3 Havoc Pennington 2001-01-28 00:54:07 UTC
*** Bug 4976 has been marked as a duplicate of this bug. ***
Comment 4 Havoc Pennington 2001-01-28 00:55:52 UTC
This seems to be the most popular bug to report against GTK, second
only to 'menus don't scroll' ;-)
Comment 5 Havoc Pennington 2001-01-28 04:51:37 UTC
*** Bug 17834 has been marked as a duplicate of this bug. ***
Comment 6 Owen Taylor 2001-02-02 20:42:11 UTC
*** Bug 30134 has been marked as a duplicate of this bug. ***
Comment 7 Owen Taylor 2001-02-02 23:47:31 UTC
Basically, the fix here requires upgrading to a newer version
of libtool than any that has been released at this point,
since current versions of libtool don't allow linking libraries
against other uninstalled libraries.

I don't want to go with a CVS version of libtool for the GTK+-1.2.x
branch, so this will be fixed whenever libtool-1.4 comes out.
Comment 8 Owen Taylor 2001-05-29 21:39:17 UTC
Fixed for GTK+-2.0, moving to 1.2.11 milestone for consideration
of whether to upgrade libtool when/if we make that release.
Comment 9 Marius Andreiana 2003-08-13 16:10:09 UTC
closing, as gtk 1.2 it's not used anymore and this is fixed in gtk 2.0