🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Francis C. Swasey Fri, 25 Jul 1997 00:00
sigsegv in 1.6b2
#19654
Author: Francis C. Swasey
Date: Fri, 25 Jul 1997 00:00
37 lines
1563 bytes
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-

Re: sigsegv in 1.6b2
#19686
Author: Christopher D Dukes
Date: Sat, 26 Jul 1997 00:00
40 lines
2005 bytes
In article <5rbaho$6fk@fangorn.btv.ibm.com>,
Francis C. Swasey <fswasey@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
As memory serves rtpnews received a similar core dump.
Something about trying to malloc ~16M for holding message-id.

The nasty I kept seeing was a coredump in syslog().
AIX's syslog() core dumps on LOG_WARNING (Edit config.data to 
change L_NOTICE from being LOG_WARNING to LOG_NOTICE).
>
>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.

Yeah, I'm about to rewrite my silly script to restart innd to
start putting a date/time stamp on the core files.
>
>Anyone seen something like this?  If not, I've now compiled with -g
>and will see if it happens again.

-- 
The following must be destroyed.  Microsoft, Lyons Partnership, CyberPromo.
Balkanize USENET!  Vote from the rooftops!! The best thing in RTP is now SMOG!
Sending unsolicited commercial massmail to this account may result
in a network outage for your site.  Have a nice day.

Re: sigsegv in 1.6b2
#19879
Author: Francis C. Swasey
Date: Wed, 30 Jul 1997 00:00
26 lines
1622 bytes
In article <slrn5tuvah.b10.mark@marksys.misty.com>,
Mark G. Thomas <mark@misty.com> wrote:
>
>I get a "SIGBUS: Bus Error" on innd-1.6b2 under Solaris-2.5.1 on an Ultra, 
>after a few minutes of operation.
>

Hmm, sounds familiar.  I'm getting a lot (well 2 or 3 a day) of my
abends.  Most are in leftmost() which is a kernel level routine that
(I assume) is looking for the best free block on the heap to give me
for the malloc call.  The problem is that register 9 is loaded from
high memory that has been corrupted with a few characters of a
component of one of the news articles innd has processed, and then
when we try to load through register 9 --- KABLOOOOOIIE.

I have not been sucessful yet it tracking down how this memory overlay
is happening.

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-

Re: sigsegv in 1.6b2
#19897
Author: Mark G. Thomas
Date: Wed, 30 Jul 1997 00:00
56 lines
2171 bytes

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)

Re: sigsegv in 1.6b2
#19987
Author: Francis C. Swasey
Date: Thu, 31 Jul 1997 00:00
19 lines
1461 bytes
I finally caught an abend happening and by wiping out the newsspool,
clearing the active and history files, and re-feeding the exact same
list I got the same abend a second time (after 45 minutes and 18000
articles).  I've now got it running under debug (since 13:05 this
afternoon) with the same sequence and am watching the memory location
that is getting clobbered.  So far, 6 hours into the process, it's fed
less than 200 articles....  I'll post again sometime next week.  But
I'm going to have one hell of a weekend thinking that I'm finally onto
this thing!!!

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-

Re: sigsegv in 1.6b2
#20013
Author: 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'

Re: sigsegv in 1.6b2
#20072
Author: aos
Date: Fri, 01 Aug 1997 00:00
28 lines
2000 bytes
Francis C. Swasey <fswasey@fangorn.btv.ibm.com> wrote:
> that is getting clobbered.  So far, 6 hours into the process, it's fed
> less than 200 articles....  I'll post again sometime next week.  But

Not related to the problems you're having, but I may know what's causing
the slowness of the feed.  I had a little problem a while back when I was
using Solaris DiskSuite 4.1 to stripe some drives, and I'd forgotten to
install the vital patch that prevents DiskSuite from eating your
partitions <*blush*>.

Anyway, after I installed the patch and got things up and running again,
whaddaya know, it was feeding and accepting REALLY REALLY slow.  I ended
up finding the problem by trying to rebuild my history database.
makehistory was complaining about no message ID in a whole bunch of
articles.  I looked at a couple of the articles in question and discovered
that instead of the articles, they were just files full of NULLs.

So you might be dealing with a bunch of corrupted files on your spool.
Try running makehistory and see if it starts complaining like mine did.
If so, I'll bet you've found your problem.

-- 
Andrew Smith -- Sysadmin, Insync Internet Services   | "Whatever you do, take
PGP: 2A 50 AE 6D 51 53 18 77 F7 6C E9 2E E9 E1 59 2C | care of your shoes."
     (finger -l aos@insync.net for full key)         |       - Tom Marhsall

Re: sigsegv in 1.6b2
#20278
Author: Francis C. Swasey
Date: Thu, 07 Aug 1997 00:00
27 lines
1889 bytes
In article <5rrfeo$lv9$1@synthemesc.insync.net>,
	aos@insync.net writes:

> Not related to the problems you're having, but I may know what's causing
> the slowness of the feed.  I had a little problem a while back when I was

The problem with the slowness of my system was that it was running
under the debugger so I could catch what was clobbering the memory
address.  Unfortunately, I never caught it -- the debugger was so slow
that the connection was timing out (even when I set the timeout value
to 30 minutes (1800 seconds)).  I eventually gave up trying to catch
it and went to 1.6b3.  I'm sorry to report that the bug is still there
in 1.6b3.  However, I was running 1.6b3 as the recipient of a XREPLIC
slave feed from a 1.5.1 system.  I've been running 1.6b3 as the
recipient of a normal innxmit feed (instead of a slave feed) for the
last two days and haven't seen a hiccup of any kind.  I'm about to go
production.

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-


Re: sigsegv in 1.6b2
#20316
Author: Brian Vargyas
Date: Fri, 08 Aug 1997 00:00
27 lines
1779 bytes
Francis C. Swasey (fswasey@btv.ibm.com) wrote:
: In article <5rrfeo$lv9$1@synthemesc.insync.net>,
: 	aos@insync.net writes:
: 
: it and went to 1.6b3.  I'm sorry to report that the bug is still there
: in 1.6b3.  However, I was running 1.6b3 as the recipient of a XREPLIC
: slave feed from a 1.5.1 system.  I've been running 1.6b3 as the
: recipient of a normal innxmit feed (instead of a slave feed) for the
: last two days and haven't seen a hiccup of any kind.  I'm about to go
: production.
: 
: Frank

I am seeing the same bug under Solaris 2.5.1, 1.6b3 INND is dying on me every
4-12 hours. When I was feeding from a 1.4unoff4 site, it worked fine.  Now that
I've attempted to move production with it, it won't stay running.  I had to modify
innwatch to keep restarting innd until the problem can be solved.

- Brian
-- 
Brian Vargyas                  | XNet Information Systems
Network Operations Engineer    | Chicagoland Regional Internet Solutions
brianv@xnet.com                |
(630) 983-6064 (Voice)         | For information, see http://www.xnet.com

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads