slrn from ports segfaults when running

Eugene Grosbein eugen at grosbein.net
Sat Sep 16 13:19:41 UTC 2017


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.



More information about the freebsd-ports mailing list