Date: Fri, 15 Sep 2017 15:56:29 +0100 From: tech-lists <tech-lists@zyxst.net> To: freebsd-ports@freebsd.org Subject: Re: slrn from ports segfaults when running Message-ID: <20170915145629.GA18434@v007.zyxst.net> In-Reply-To: <59BBDFE9.4010902@grosbein.net> References: <20170915130055.GD20223@v007.zyxst.net> <59BBD0AA.60804@grosbein.net> <20170915135734.GE20223@v007.zyxst.net> <59BBDFE9.4010902@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 15, 2017 at 09:12:57PM +0700, Eugene Grosbein wrote: >On 15.09.2017 20:57, tech-lists wrote: >> On Fri, Sep 15, 2017 at 08:07:54PM +0700, Eugene Grosbein wrote: >> >>> First, try to rebuild port using "make WITH_DEBUG=yes" and run non-stripped binary >>>from stage/ subdirectory of port building ares. Then get corefile and >>> use gdb to get backtrace. >> >> I had to run make install because running it from the staging >> directory gives this error: >> >> slrn 1.0.3 >> Unable to locate slrn.sl on load path >> Configuration error: Unable to load startup file >> The hardcoded load path is set to: /usr/local/share/slrn/slang >> You make need to set the SLRN_SLANG_DIR environment variable. >> slrn fatal error: >> Error initializing S-Lang interpreter. >> >> so, ran make install: > >This installs slrn.sl to right place. You can still run debugging binary >or just manually copy it to /usr/local/bin/ OK, did that (and set the NNTPSERVER env var, coredump happened on selecting a newsgroup. It happens if there's a lot of articles in the newsgroup. This GDB was configured as "amd64-marcel-freebsd". (gdb) core slrn.core Core was generated by ./slrn -f /root/.jnewsrc --create'. Program terminated with signal 11, Segmentation fault. #0 0x0000000801a92421 in ?? () (gdb) bt #0 0x0000000801a92421 in ?? () #1 0x00007fffffffdc10 in ?? () #2 0x00000008026014b7 in ?? () #3 0x00007fffffffdbc0 in ?? () #4 0x0000000000000000 in ?? () thanks, -- J
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170915145629.GA18434>