From owner-freebsd-ports@freebsd.org Sat Sep 16 13:19:41 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58BE9E161E6 for ; Sat, 16 Sep 2017 13:19:41 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 02F7D75DF2; Sat, 16 Sep 2017 13:19:40 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v8GDJYAv003100 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Sep 2017 15:19:34 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-ports@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v8GDJTE4093040 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 16 Sep 2017 20:19:30 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: slrn from ports segfaults when running To: freebsd-ports@freebsd.org References: <20170915130055.GD20223@v007.zyxst.net> <59BBD0AA.60804@grosbein.net> <20170915135734.GE20223@v007.zyxst.net> <59BBDFE9.4010902@grosbein.net> <20170915145629.GA18434@v007.zyxst.net> <59BC2C0C.1040701@grosbein.net> <20170915232417.GA80190@v007.zyxst.net> <20170916004216.GA62484@rdtc.ru> <20170916014603.GA61637@v007.zyxst.net> Cc: johans@FreeBSD.org From: Eugene Grosbein Message-ID: <59BD24DF.7000209@grosbein.net> Date: Sat, 16 Sep 2017 20:19:27 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20170916014603.GA61637@v007.zyxst.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2017 13:19:41 -0000 16.09.2017 8:46, tech-lists wrote: > # gdb ./slrn ./slrn.core > 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"... > Core was generated by ./slrn'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /usr/local/lib/libslang.so.2...done. > Loaded symbols for /usr/local/lib/libslang.so.2 > Reading symbols from /usr/local/lib/libuu.so.3...done. > Loaded symbols for /usr/local/lib/libuu.so.3 > Reading symbols from /usr/local/lib/libssl.so.43...done. > Loaded symbols for /usr/local/lib/libssl.so.43 > Reading symbols from /usr/local/lib/libcrypto.so.41...done. > Loaded symbols for /usr/local/lib/libcrypto.so.41 > Reading symbols from /usr/local/lib/libintl.so.8...done. > Loaded symbols for /usr/local/lib/libintl.so.8 > Reading symbols from /lib/libncurses.so.8...Reading symbols from > /usr/lib/debug//lib/libncurses.so.8.debug...done. > done. > Loaded symbols for /lib/libncurses.so.8 > Reading symbols from /lib/libc.so.7...Reading symbols from > /usr/lib/debug//lib/libc.so.7.debug...done. > done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /lib/libm.so.5...Reading symbols from > /usr/lib/debug//lib/libm.so.5.debug...done. > done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /usr/lib/i18n/libiconv_std.so.4...Reading symbols > from /usr/lib/debug//usr/lib/i18n/libiconv_std.so.4.debug...done. > done. > Loaded symbols for /usr/lib/i18n/libiconv_std.so.4 > Reading symbols from /usr/lib/i18n/libmapper_serial.so.4...Reading > symbols from > /usr/lib/debug//usr/lib/i18n/libmapper_serial.so.4.debug...done. > done. > Loaded symbols for /usr/lib/i18n/libmapper_serial.so.4 > Reading symbols from /usr/lib/i18n/libmapper_none.so.4...Reading > symbols from > /usr/lib/debug//usr/lib/i18n/libmapper_none.so.4.debug...done. > done. > Loaded symbols for /usr/lib/i18n/libmapper_none.so.4 > Reading symbols from /usr/lib/i18n/libmapper_646.so.4...Reading > symbols from > /usr/lib/debug//usr/lib/i18n/libmapper_646.so.4.debug...done. > done. > Loaded symbols for /usr/lib/i18n/libmapper_646.so.4 > Reading symbols from /libexec/ld-elf.so.1...Reading symbols from > /usr/lib/debug//libexec/ld-elf.so.1.debug...done. > done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 _citrus_NONE_stdenc_mbtocs (ce=, csid=, idx=0x7fffffffe870, s=0x7fffffffe868, n=, ps=0x0, nresult=0x7fffffffe860, > hooks=0x0) > at /storage/usr/src/lib/libc/iconv/citrus_none.c:96 > 96*idx = (_index_t)(unsigned char)*(*s)++; > (gdb) > backtrace: > > (gdb) bt > #0 _citrus_NONE_stdenc_mbtocs (ce=, csid=, idx=0x7fffffffe870, s=0x7fffffffe868, n=, ps=0x0, nresult=0x7fffffffe860, > hooks=0x0) > at /storage/usr/src/lib/libc/iconv/citrus_none.c:96 You could try to remove --with-non-gnu-iconv from port's Makefile and rebuild slrn. Any way, you better fill a PR attaching this debugging output you already collected.