🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #705

Patch #7 causes segmentation violation

#705
From: Ian Hoyle
Date: Wed, 11 Jul 1990 07:47
40 lines
2286 bytes
In news.software.nn I wrote:

>My printer command is (at least I want it to be :-) "mp -a | lp" where
>mp is a postscript pretty-printing filter. It normally prints something
>like "Article from news.software.nn" across the top of the page, but the
>problem with nn is that the output going to the printing command is the same
>as the o,O commands which doesn't output the Newgroup: line which is used
>by mp for the banner text.

>Am I missing something or is there a way to do this (I'm at PL6 and about to 
>go to 7)

Well I patched up to PL7 and *gad* what a mistake that was.

Symptoms: When saving a file nn gets a segmentation violation and core dumps.
	  (at least that is the only problem I was willing to look at before
	  I reverted to PL6 :-(

Machines tested: Apollo 3500, 10000 under Domain/OS (bsd4.3 environment)
		 SiliconGraphics 240GTX under Irix 3.2.1 (Sys V ish)

I had a cursory look using dbx on the core dump on the SG machine (the Apollo's
don't dump core under Domain/OS) and I think the problem lies in the new
function get_header_field in more.c as introduced by patch #7.

Has anyone else seen this behaviour and tracked down the problem ??? (It's late
and I'm tired and this just finishes off a great day :-(

			ian

--
                Ian Hoyle
     /\/\       Image Processing & Data Analysis Group
    / / /\      BHP Melbourne Research Laboratories
   / / /  \     245 Wellington Rd, Mulgrave, 3170
  / / / /\ \    AUSTRALIA
  \ \/ / / /
   \  / / /     Phone   :  +61-3-560-7066
    \/\/\/      FAX     :  +61-3-561-6709
                E-mail  :  ianh@bhpmrl.oz.au
Technical Details
Message-ID: <ianh.647682458@morgana>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!uupsi!rice!cs.utexas.edu!samsung!munnari.oz.au!bruce!merlin!morgana!ianh
References: <ianh.647622676@morgana>

Show Full Headers
Complete Article Headers
Message-ID: <ianh.647682458@morgana>
Subject: Patch #7 causes segmentation violation
Date: Wed, 11 Jul 1990 07:47:38 +0000
From: ianh@bhpmrl.oz.au (Ian Hoyle)
References: <ianh.647622676@morgana>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!uupsi!rice!cs.utexas.edu!samsung!munnari.oz.au!bruce!merlin!morgana!ianh
Newsgroups: news.software.nn
Sender: usenet@bhpmrl.oz.au
Distribution: news
Lines: 40
Posted: Wed Jul 11 08:47:38 1990