Date: Sat, 16 Sep 2017 20:19:27 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: freebsd-ports@freebsd.org Cc: johans@FreeBSD.org Subject: Re: slrn from ports segfaults when running Message-ID: <59BD24DF.7000209@grosbein.net> In-Reply-To: <20170916014603.GA61637@v007.zyxst.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59BD24DF.7000209>