ports/143999: On FreeBSD/amd64, the software crash if the environment variable LANG is defined.

Katsuyoshi Ohara ohara at air.s.kanazawa-u.ac.jp
Tue Feb 16 16:43:21 UTC 2010


Dear ports maintainer.

I apologise for inconvinience.
I resend a patch file for ports/japanese/ack/files/patch-ab
and show a log in LANG=C with no options for ack.
(If LANG=ja_JP.eucJP then the message "core dumped" is written in Japanese)

$ uname -a
FreeBSD air.s.kanazawa-u.ac.jp 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
$ LANG=C
$ export LANG
$ echo $LANG
C
$ /usr/local/bin/ack
Segmentation fault (core dumped)
$ gdb /usr/local/bin/ack
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/local/bin/ack
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x00000008007383e0 in strchr () from /lib/libc.so.7
(gdb)

Thanks.

Katsuyoshi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ab
Type: application/octet-stream
Size: 256 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20100216/1293ae14/attachment.obj>


More information about the freebsd-ports-bugs mailing list