From owner-freebsd-ports@freebsd.org Sat Sep 16 19:29:51 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 4885DE03B7B for ; Sat, 16 Sep 2017 19:29:51 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8A8F1E49 for ; Sat, 16 Sep 2017 19:29:50 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd13.aul.t-online.de (fwd13.aul.t-online.de [172.20.27.62]) by mailout06.t-online.de (Postfix) with SMTP id 78FF941DB416 for ; Sat, 16 Sep 2017 21:22:46 +0200 (CEST) Received: from esprimo.local (r9ZWPuZlghzse8JEQuCNFCZvXFytOP7ECZQLQgfYWo-SBdLKcx+cbP0aZrl1bLGgEu@[93.201.41.63]) by fwd13.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1dtIfp-0aSu7E0; Sat, 16 Sep 2017 21:22:41 +0200 Received: from esprimo.local (localhost [127.0.0.1]) by esprimo.local (Postfix) with ESMTP id CB3A1C077 for ; Sat, 16 Sep 2017 21:23:08 +0200 (CEST) Received: (from chris@localhost) by esprimo.local (8.15.2/8.15.2/Submit) id v8GJN8B1066732 for freebsd-ports@freebsd.org; Sat, 16 Sep 2017 21:23:08 +0200 (CEST) (envelope-from chris) Date: Sat, 16 Sep 2017 21:23:08 +0200 From: Christoph Brinkhaus To: freebsd-ports@freebsd.org Subject: Re: slrn from ports segfaults when running Message-ID: <20170916192308.GA6904@esprimo.local> 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> <59BD24DF.7000209@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59BD24DF.7000209@grosbein.net> User-Agent: Mutt/1.9.0 (2017-09-02) X-ID: r9ZWPuZlghzse8JEQuCNFCZvXFytOP7ECZQLQgfYWo-SBdLKcx+cbP0aZrl1bLGgEu X-TOI-MSGID: 2c1f95e0-f536-4f3a-b1a0-65c4cc67cbb4 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 19:29:51 -0000 On Sat, Sep 16, 2017 at 08:19:27PM +0700, Eugene Grosbein wrote: > 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. > I am happy with slrn with options as below. slrn --version slrn 1.0.3 S-Lang Library Version: 2.3.1 Operating System: FreeBSD COMPILE TIME OPTIONS: Backends: +nntp +slrnpull +spool External programs / libs: -canlock -inews +ssl -uudeview +iconv Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from Using 64 bit integers for article numbers. DEFAULTS: Default server object: nntp Default posting mechanism: nntp cat news_slrn/options # This file is auto-generated by 'make config'. # Options for slrn-1.0.3a _OPTIONS_READ=slrn-1.0.3a _FILE_COMPLETE_OPTIONS_LIST=DEVIEW DOCS NLS SSL OPTIONS_FILE_UNSET+=DEVIEW OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_UNSET+=NLS OPTIONS_FILE_SET+=SSL May be this information is somehow of help. Kind regards, Christoph