From owner-freebsd-ports@freebsd.org Fri Sep 15 14:56:33 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73F55E1B6A7 for ; Fri, 15 Sep 2017 14:56:33 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44B456ACE4 for ; Fri, 15 Sep 2017 14:56:32 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6282420CD4 for ; Fri, 15 Sep 2017 10:56:31 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 15 Sep 2017 10:56:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=xm9AVTDZJp4HFWPDWZqI9qqMFcdbx//sJuFwkK4N1 JM=; b=sTn/cVUBOIoopTQVJCWiJS5O78/9b1pTA8VYu0cgcxMB4EMFj9d/vGVmG ZilHh/MVIIol5Sv18beY0CmwQP3YiUyBC8ovzQJ/BEocmOw+MltUpAL42RxoBtq+ gZal790d22E0+jolUKpTtYghez+m67FhAtREhQfjOvjlvo5GdM6gb7M0Y+I6Yb/j ZPmmAinC0kKaAVdgtkFd/BjnVb1HwAPhL7UkLXN6B7IYnz7X+8rJ/E82HWUOgSGi es4c9LGRcdbhJULYdkQ5EOj9hs6ClJUPw9+KWN9GMATvpLOOU3Wm6R8b03y28TIl rU9AGN+TdqcC3KpZdQhwWqKpLRfyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=xm9AVTDZJp4HFWPDWZ qI9qqMFcdbx//sJuFwkK4N1JM=; b=ME+fZrcGL+wusmhlxXWfE7oKrB65DdEUXd g+vWguyqWMzY/gQMek4g7vGt0mRVOTGYDzpI3a3rk8S2dYZjOZeIino1LuB1Ny7o q8HMQM+WcbjgMpbjrM8YPx90ewoaXmjWmH4BNPChXr6vPuey9fyGFJovM+cEsb7v XfbLXEXH1Jy76Y2Jacf7LUhFaxGSNL62gJjvhDVLpwRPqMsc1NSTbLHCQIz091cr s+7ZrO2MPOfZQO+2ZfSTQG6YGM/4AtlIY7g/QnJO3wJveJ7VUT8Q8g/ilabsZK/5 bBf60+zKA+P0UJZLbIlfSqLaYXL5007O5N5lkNxjTKp584KHcKZg== X-ME-Sender: X-Sasl-enc: 7yPPM5H8CY680sJbUY0IBAPTtT78JjlICL2I2erknLjT 1505487390 Received: from v007.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA id E0F93240A4 for ; Fri, 15 Sep 2017 10:56:30 -0400 (EDT) Date: Fri, 15 Sep 2017 15:56:29 +0100 From: tech-lists To: freebsd-ports@freebsd.org Subject: Re: slrn from ports segfaults when running Message-ID: <20170915145629.GA18434@v007.zyxst.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <20170915130055.GD20223@v007.zyxst.net> <59BBD0AA.60804@grosbein.net> <20170915135734.GE20223@v007.zyxst.net> <59BBDFE9.4010902@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <59BBDFE9.4010902@grosbein.net> User-Agent: Mutt/1.9.0 (2017-09-02) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 14:56:33 -0000 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