🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Stephane Poirey Mon, 17 Aug 1998 00:00
[inn 2.1] Segmentation Fault
#30556
Author: Stephane Poirey
Date: Mon, 17 Aug 1998 00:00
19 lines
1147 bytes
I've got some problems running INN 2.1 on my linux (redhat 5.1) system
(version 1.7.2 was running fine).

When I try a "rc.news start" or a "inndstart -d" I get :

innd: SERVER descriptors 256
innd: SERVER outgoing 243
innd: SERVER ccsetup control:13
innd: SERVER lcsetup localconn:15
innd: SERVER rcsetup remconn:5
Segmentation fault

What's the matter?
-- 
        Stephane Poirey : moins20@usa.net 
http://web.fc-net.fr/steph ** Have Fun, Stay On The Net
  Cliquez [ici] pour voir le message avec des accents

Re: [inn 2.1] Segmentation Fault
#30535
Author: Miquel van Smoorenburg
Date: Mon, 17 Aug 1998 00:00
39 lines
1884 bytes
In article <35D83A7E.19EF1F09@ufc-etudiants.univ-fcomte.fr>,
Stephane Poirey  <poirey@ufc-etudiants.univ-fcomte.fr> wrote:
>I've got some problems running INN 2.1 on my linux (redhat 5.1) system
>(version 1.7.2 was running fine).
>
>When I try a "rc.news start" or a "inndstart -d" I get :
>
>innd: SERVER descriptors 256
>innd: SERVER outgoing 243
>innd: SERVER ccsetup control:13
>innd: SERVER lcsetup localconn:15
>innd: SERVER rcsetup remconn:5
>Segmentation fault

This looks the same as what I saw a few days ago. The following patch
fixed it for me and is in the CVS archive.

--- inn-19980811/innd/ng.c.orig	Wed Aug 12 10:22:13 1998
+++ inn-19980811/innd/ng.c	Wed Aug 12 10:24:18 1998
@@ -179,8 +179,8 @@
 
     /* Get active file and space for group entries. */
     active = ICDreadactive(&end);
-    for (p = active, i = 0; p < end && (p = strchr(p, '\n')) != NULL; p++, i++)
-	continue;
+    for (p = active, i = 0; p < end; p++)
+	if (*p == '\n') i++;
     if ((nGroups = i) == 0) {
 	syslog(L_FATAL, "%s empty active file", LogName);
 	exit(1);

Please tell us if it works for you too..

Mike.
-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.     <*>

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