Date: 21 Jan 2014 14:28:06 +0100 From: Manuel Mausz <manuel-freebsd@mausz.at> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/185964: Codeset conversion to Chinese Simplified (HZ) is broken / segfaults Message-ID: <20140121132806.55392.qmail@shell.clan-server.at> Resent-Message-ID: <201401211330.s0LDU0ki000694@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185964
>Category: kern
>Synopsis: Codeset conversion to Chinese Simplified (HZ) is broken / segfaults
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 21 13:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Manuel Mausz
>Release: FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Codeset conversion to Chinese Simplified (HZ) is broken and just segfaults
>How-To-Repeat:
$ echo "foo" | /usr/bin/iconv -f UTF-8 -t HZ
... or ...
$ echo "foo" | /usr/bin/iconv -f UTF-8 -t HZ8
... or ...
$ echo "foo" | /usr/bin/iconv -f UTF-8 -t HZ-GB-2312
gdb backtrace:
#0 0x0000000801a034af in _citrus_HZ_stdenc_getops () from /usr/lib/i18n/libHZ.so.4
#1 0x0000000800a931a9 in _citrus_prop_parse_variable () from /lib/libc.so.7
#2 0x0000000801a02abf in ?? () from /usr/lib/i18n/libHZ.so.4
#3 0x0000000800a92db9 in _citrus_stdenc_open () from /lib/libc.so.7
#4 0x0000000800dd69ef in ?? () from /usr/lib/i18n/libiconv_std.so.4
#5 0x0000000800a94832 in _citrus_lookup_factory_convert () from /lib/libc.so.7
#6 0x0000000800a926db in __bsd_iconv_open () from /lib/libc.so.7#
>Fix:
none known
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140121132806.55392.qmail>
