From owner-freebsd-ports Sun Mar 31 3:30:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 607AD37B405 for ; Sun, 31 Mar 2002 03:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2VBU3560780; Sun, 31 Mar 2002 03:30:03 -0800 (PST) (envelope-from gnats) Date: Sun, 31 Mar 2002 03:30:03 -0800 (PST) Message-Id: <200203311130.g2VBU3560780@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Simon 'corecode' Schubert" Subject: Re: ports/36565: x11/XFree86-4-libraries doesn't install en_US.ISO8859-15 locale Reply-To: "Simon 'corecode' Schubert" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/36565; it has been noted by GNATS. From: "Simon 'corecode' Schubert" To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: ports/36565: x11/XFree86-4-libraries doesn't install en_US.ISO8859-15 locale Date: Sun, 31 Mar 2002 12:59:31 +0200 somebody please test this, i'm getting strange segfaults with gtk apps: #include int main(int argc, char *argv[]) { gtk_set_locale(); gtk_init(&argc, &argv); return 0; } this will segfault with LANG=en_US.ISO8859-15 and LC_*="" and the patch applied. if one comments out the first line (gtk_set_locale()) everything works ok. does somebody have a clue about that? i'm sorry but i'm not into X coding; i can't tell where the problem is: GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... Core was generated by `gtktest'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/X11R6/lib/libgtk12.so.2...done. Reading symbols from /usr/X11R6/lib/libgdk12.so.2...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/local/lib/libgmodule12.so.3...done. Reading symbols from /usr/local/lib/libglib12.so.3...done. Reading symbols from /usr/local/lib/libintl.so.1...done. Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...done. Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x2838c85c in ?? () (gdb) #0 0x2838c85c in ?? () No symbol table info available. #1 0x28302169 in _XDynamicRegisterIMInstantiateCallback () from /usr/X11R6/lib/libX11.so.6 No symbol table info available. #2 0x282e511e in XRegisterIMInstantiateCallback () from /usr/X11R6/lib/libX11.so.6 No symbol table info available. #3 0x281ae35a in gdk_im_open () from /usr/X11R6/lib/libgdk12.so.2 No symbol table info available. #4 0x2819e0e5 in gdk_init_check () from /usr/X11R6/lib/libgdk12.so.2 No symbol table info available. #5 0x804a392 in gtk_init_check () No symbol table info available. #6 0x804a792 in gtk_init () No symbol table info available. #7 0x804bb37 in main (argc=0, argv=0x0) at gtktest.c:5 No locals. (gdb) perhaps somebody can confirm that. perhaps this should be directed to xfree86.org? cheerz simon ps: happy easter! -- /"\ http://corecode.ath.cx/ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message