🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10815

[Solved] Re: Segfault Problem with latest version of NN

#10815
From: Aaron W. Hsu
Date: Fri, 16 Nov 2007 06:45
20 lines
2150 bytes
Okay,

So, I had some issues with a strange segfault when using nnpost. I was
not sure what could be causing it, but I had some kind of intuitive
inkling today that I decided to try.

In the s-openbsd.h file that I created, I used termcap instead of
terminfo. Remarkably, this seems to have fixed everything. I am not
sure why this did, or if there is any benefit to using one method over
the other. That would be helpful to know. However, at the moment, I
guess, this works, so I'll stick with it. What is even more strange,
to me, is that the OpenBSD termcap database functions are just
wrappers around terminfo database entries, so there should not be such
a difference between the two, unless there is something inside nn that
I am missing.

-- 
((name "Aaron Hsu")
 (email/xmpp "aaron.hsu@sacrificumdeo.net")
 (site "http://www.aaronhsu.com"))
Technical Details
Message-ID: <ZqWdnWITJLsToaDanZ2dnUVZ_r_inZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <yI2dnbw2CocxQKbanZ2dnUVZ_vPinZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <ZqWdnWITJLsToaDanZ2dnUVZ_r_inZ2d@giganews.com>
Subject: [Solved] Re: Segfault Problem with latest version of NN
Date: Fri, 16 Nov 2007 00:45:34 -0600
From: Aaron W. Hsu <arcfide@net>
References: <yI2dnbw2CocxQKbanZ2dnUVZ_vPinZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 16 Nov 2007 00:45:34 -0600
Newsgroups: news.software.nn
Keywords: Openbsd nn segfault nnpost
User-Agent: nn/6.7.3
Lines: 20
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-qR8YshV07lgVGtjA6606nT7Tup83qcjoq1/1S7IHKkiqd5DpKtvq4pupwLNB8iOeWfG9FcG/sNw7GGY!gbbwNlGZjh2hgjme3ayPaC23ZS24Yh5Zi2Mrmf8Z/XZOcHqZ6gAVPOMXNJoY4ddvXul3VthdEg==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.35