Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 17:50:08 -0700 (PDT)
From:      Steve Coltrin <spcoltri@omcl.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/37497: gtk+-2.0 crashes with certain locale settings
Message-ID:  <200204270050.g3R0o8c78644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37497
>Category:       ports
>Synopsis:       gtk+-2.0 crashes with certain locale settings
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 26 18:00:08 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Steve Coltrin
>Release:        4.5-STABLE
>Organization:
Orbital Mind Control Lasers
>Environment:
FreeBSD hrothgar.omcl.org 4.5-STABLE FreeBSD 4.5-STABLE #9: Thu Apr 25 02:08:21 MDT 2002     spcoltri@hrothgar.omcl.org:/usr/obj/usr/src/sys/HROTHGAR  i386
>Description:
Due to an impedance mismatch between libiconv and FreeBSD's recently adopted locale naming scheme, calling g_print() in a gtk20 program dumps core under certain values of LANG, LC_CTYPE or LC_ALL.
>How-To-Repeat:
% cat > test.c
#include <gtk/gtk.h>

int main (int argc, char ** rgv) {
  gtk_init(&argc, &argv);
  g_print("Hi!\n");
}
^D
% gcc test.c -o test `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`
% LANG=en_US.ISO_8859-1 ./test
segmentation fault (core dumped)  ./test1
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204270050.g3R0o8c78644>