slrn from ports segfaults when running

Christoph Brinkhaus c.brinkhaus at t-online.de
Sat Sep 16 19:29:51 UTC 2017


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


More information about the freebsd-ports mailing list