🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20013

Re: sigsegv in 1.6b2

#20013
From: Michael Douglass
Date: Thu, 31 Jul 1997 00:00
86 lines
3384 bytes
Mark G. Thomas <mark@misty.com> wrote:


If anyone is attempting to track this down--you will probably want to examine
the changes between inn1.5.1 and inn1.5.1sec as I get a nice and lovely segv
with the following backtrace:

(gdb) bt
#0  0xef3cb4b0 in _malloc_unlocked ()
#1  0xef3cb370 in malloc ()
#2  0x3cc3c in xmalloc (i=1024) at xmalloc.c:22
#3  0x2a5c0 in NCcheck (cp=0x5dc50) at nc.c:1490
#4  0x28e80 in NCproc (cp=0x5dc50) at nc.c:997
#5  0x29dbc in NCreader (cp=0x5dc50) at nc.c:1321
#6  0x20f48 in CHANreadloop () at chan.c:874
#7  0x254c8 in main (ac=0, av=0xeffffe74) at innd.c:972

Which has several similarities to the lower bt/where.

So to narrow down the cause, the security diffs between 1.5.1 and 1.5.1sec
may be the place to look.  I have heard of one other person having this
problem.  Mine core dumped after running for nearly 1.5 hours straight...

: I get a "SIGBUS: Bus Error" on innd-1.6b2 under Solaris-2.5.1 on an Ultra, 
: after a few minutes of operation.

: news(#):/tmp/> adb /usr/local/news/bin/innd /var/spool/news/articles/core
: core file = /var/spool/news/articles/core -- program ``innd'' on platform 
:  SUNW,Ultra-1
: SIGBUS: Bus Error


: -Mark

: In <5rbaho$6fk@fangorn.btv.ibm.com>,
: Francis C. Swasey <fswasey@fangorn.btv.ibm.com> wrote:

: > I haven't traced down the cause, but I took a sigsegv in 1.6b2 innd
: > this afternoon.  The trace of the (partial) core shows:
: > 
: > Segmentation fault in leftmost at 0xd0002e08
: > 0xd0002e08 (leftmost+0x10) 80a90004        lwz   r5,0x4(r9)
: > (dbx) where
: > leftmost(??) at 0xd0002e08
: > malloc_y(??) at 0xd00046fc
: > malloc(??) at 0xd0002120
: > xmalloc() at 0x1000b46c
: > CommaSplit() at 0x10001e14
: > ARTpost() at 0x10022934
: > NCpostit() at 0x1001c148
: > NCproc() at 0x1001b5c8
: > NCreader() at 0x1001add4
: > CHANreadloop() at 0x10014440
: > main() at 0x10000f90
: > (dbx) 
: > 
: > Unfortunately, 1) I don't like core files and 2) the innd that
: > sigsegv'd was not compiled with -g, so I'm a little lost for the exact
: > cause.
: > 
: > Anyone seen something like this?  If not, I've now compiled with -g
: > and will see if it happens again.
: > 
: > Frank
: > 
: > 
: > 
: > -- 
: > e-mail: fswasey@btv.ibm.com                                   ,,,
: > Tel: 802-769-4011 (tie: 446), Fax: 802-769-4253 (tie: 446)   (o o)
: >            Speaking *from* but not *for* IBM           -oOOO--(_)--OOOo-


: -- 
: Mark Thomas (Mark@Misty.com)

-- 
Michael Douglass
Texas Networking, Inc.

   <de> 'hail sparc, full of rammage'
   <de> 'the kernel is with thee'
   <de> 'blessed art thou amongst processors'

Technical Details
Message-ID: <5rol8j$dka$3@news3.texas.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5rbaho$6fk@fangorn.btv.ibm.com> <slrn5tuvah.b10.mark@marksys.misty.com>

Show Full Headers
Complete Article Headers
Message-ID: <5rol8j$dka$3@news3.texas.net>
Subject: Re: sigsegv in 1.6b2
Date: Thu, 31 Jul 1997 00:00:00 +0000
From: Michael Douglass <mikedoug@staff2.texas.net>
References: <5rbaho$6fk@fangorn.btv.ibm.com> <slrn5tuvah.b10.mark@marksys.misty.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 260973779
X-Complaints-To: news@news3.texas.net
X-Trace: news3.texas.net 870307923 13962 (None) 207.207.0.39
Organization: Texas Networking, Inc.
Newsgroups: news.software.nntp