Date: Sat, 16 Sep 2017 21:23:08 +0200 From: Christoph Brinkhaus <c.brinkhaus@t-online.de> To: freebsd-ports@freebsd.org Subject: Re: slrn from ports segfaults when running Message-ID: <20170916192308.GA6904@esprimo.local> In-Reply-To: <59BD24DF.7000209@grosbein.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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=<value optimized out>, csid=<value optimized out>, idx=0x7fffffffe870, s=0x7fffffffe868, n=<value optimized out>, 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=<value optimized out>, csid=<value optimized out>, idx=0x7fffffffe870, s=0x7fffffffe868, n=<value optimized out>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170916192308.GA6904>