Re: slrn from ports segfaults when running

2017-09-16 Thread tech-lists
On Sat, Sep 16, 2017 at 09:23:08PM +0200, Christoph Brinkhaus wrote: 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

Re: slrn from ports segfaults when running

2017-09-16 Thread Christoph Brinkhaus
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 >

Re: slrn from ports segfaults when running

2017-09-16 Thread Eugene Grosbein
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 >

Re: slrn from ports segfaults when running

2017-09-15 Thread tech-lists
On Sat, Sep 16, 2017 at 07:42:16AM +0700, Eugene Grosbein wrote: On Sat, Sep 16, 2017 at 12:24:18AM +0100, tech-lists wrote: slrn freezes when the process is attached, so ran bt from gdb: No, just use "gdb /path//to/slrn /path/to/corefile" It should report segmentation fault and you could

Re: slrn from ports segfaults when running

2017-09-15 Thread Eugene Grosbein
On Sat, Sep 16, 2017 at 12:24:18AM +0100, tech-lists wrote: > slrn freezes when the process is attached, so ran bt from gdb: No, just use "gdb /path//to/slrn /path/to/corefile" It should report segmentation fault and you could obtain backtrace. ___

Re: slrn from ports segfaults when running

2017-09-15 Thread tech-lists
On Sat, Sep 16, 2017 at 02:37:48AM +0700, Eugene Grosbein wrote: This does not seem to be debugging version. Perhaps, stage/ directory already contains stripped binary. Use 'file slrn' to be sure. Run unstripped slrn binary from building directory instead then. And may be, this port does not

Re: slrn from ports segfaults when running

2017-09-15 Thread Eugene Grosbein
15.09.2017 21:56, tech-lists пишет: > 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

Re: slrn from ports segfaults when running

2017-09-15 Thread tech-lists
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

Re: slrn from ports segfaults when running

2017-09-15 Thread Eugene Grosbein
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

Re: slrn from ports segfaults when running

2017-09-15 Thread tech-lists
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

Re: slrn from ports segfaults when running

2017-09-15 Thread Eugene Grosbein
On 15.09.2017 20:00, tech-lists wrote: > Hello ports@ > > slrn as compiled from ports will segfault after a short time when > reading a newsgroup. The fix is to deinstall the port, grab the source > via git from git://git.jedsoft.org/git/slrn.git and compile it > yourself and install. > > If

slrn from ports segfaults when running

2017-09-15 Thread tech-lists
Hello ports@ slrn as compiled from ports will segfault after a short time when reading a newsgroup. The fix is to deinstall the port, grab the source via git from git://git.jedsoft.org/git/slrn.git and compile it yourself and install. If someone can tell me how to diagnose a segfault, I'm happy