slrn from ports segfaults when running

Eugene Grosbein eugen at grosbein.net
Fri Sep 15 19:38:38 UTC 2017


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 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 ?? ()

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 respect WITH_DEBUG=yes knob.


More information about the freebsd-ports mailing list