🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Sameer Girish Parekh Sat, 20 Nov 1993 08:41
Segmentation fault (NNTP/Linux 99pl13)
#5092
Author: Sameer Girish Parekh
Date: Sat, 20 Nov 1993 08:41
11 lines
1130 bytes
	I recently compiled nn 6.4, the version from sunsite.unc.edu,
using the linux include files, etc., for NNTP.

	In order to get it to link, I had to insert -ltermcap into the
ymakefile.

	When I run "nn" I get a segmentation fault, immediately.
Running "nnmaster" works for a little bit, for initialization of the
database and the like, but when it starts to collect stuff, it
segfaults, was well.
	Anyone know what I can do to get it to work? Thanks.
Re: Segmentation fault (NNTP/Linux 99pl13)
#5095
Author: Edward Vielmetti
Date: Tue, 23 Nov 1993 19:27
30 lines
2247 bytes
Sameer Girish Parekh (sameer@uclink.berkeley.edu) wrote:

: 	When I run "nn" I get a segmentation fault, immediately.
: Running "nnmaster" works for a little bit, for initialization of the
: database and the like, but when it starts to collect stuff, it
: segfaults, was well.

'nn' just started segmentation faulting here as well - running
on a BSDI system.  Here's a stack trace, if it helps any.  The
system we are running on has 6863 newsgroups; I wonder if some
magic number somewhere got exceeded...

Core was generated by `nn'.
#0  0x33d62 in strcmp (0x00000000, 0x00000000, 0xfdbfdb60, 0x00033f3d)
(gdb) where
#0  0x33d62 in strcmp (0x00000000, 0x00000000, 0xfdbfdb60, 0x00033f3d)
#1  0x8438 in sort_gh (g1=0x15f000, g2=0x161ef4) at db.c:528
#2  0x33f3d in qsort (0x0015f000, 0x0000177b, 0x00000004, 0x00008420)
#3  0x33ef3 in qsort (0x0015f000, 0x0000177b, 0x00000004, 0x00008420)
#4  0x8496 in sort_groups () at db.c:539
#5  0x8314 in open_master (mode=0) at db.c:477
#6  0x217b in main (argc=1, argv=0xfdbfdbec) at nn.c:787
(gdb) quit
<emv@garnet> exit


  Edward Vielmetti, vice president for research, Msen Inc. emv@Msen.com
Msen Inc., 628 Brooks, Ann Arbor MI  48103 +1 313 998 4562 (fax: 998 4563)
 msen info addresses:   info@msen.com - $20/mo public access Internet
 			occ-info@msen.com - Online Career Center jobs database
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