Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

To make an enemy, do someone a favor.


dovenet / Synchronet Discussion / sbbsecho segmentation fault

SubjectAuthor
* sbbsecho segmentation faultDumas Walker
`* sbbsecho segmentation faultDigital Man
 `* sbbsecho segmentation fauDumas Walker
  `* sbbsecho segmentation fauDigital Man
   `* sbbsecho segmentation fauDumas Walker
    `* sbbsecho segmentation fauDigital Man
     `- sbbsecho segmentation fauDumas Walker

1
sbbsecho segmentation fault

<65CF7F35.70424.sync@capcity2.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2180&group=DOVE-Net.Synchronet_Discussion#2180

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: dumas.walker@VERT/CAPCITY2 (Dumas Walker)
To: All
Subject: sbbsecho segmentation fault
Message-ID: <65CF7F35.70424.sync@capcity2.synchro.net>
Date: Fri, 16 Feb 2024 10:28:53 -0500
X-Comment-To: All
Path: rocksolidbbs.com!not-for-mail
Organization: Capitol City Online
Newsgroups: DOVE-Net.Synchronet_Discussion
X-FTN-PID: Synchronet 3.19c-Linux master/cb76b1463 Feb 20 2022 GCC 7.5.0
X-FTN-MSGID: 70424.sync@723:320/1 2a35c84d
X-FTN-CHRS: CP437 2
WhenImported: 20240216073440-0800 41e0
WhenExported: 20240216094814-0800 41e0
ExportedFrom: VERT sync 51303
WhenImported: 20240216102853-0500 412c
WhenExported: 20240216103442-0500 412c
ExportedFrom: CAPCITY2 sync 70424
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Dumas Walker - Fri, 16 Feb 2024 15:28 UTC

I am getting a segmentation fault when trying to run synchronet 3.19 on a new
system.

../sbbsecho -in

SBBSecho v3.14-Linux (master/cb76b1463) - Synchronet FidoNet EchoMail Tosser

Loading configuration files from /home/bbs/ctrl/
SBBSecho 3.14-Linux master/cb76b1463 Feb 20 2022 GCC 7.5.0 (PID 653114) invoked
with options: -in
Configured: 7 archivers, 8 linked-nodes, 12 echolists
NetMail directory: /home/bbs/netmail/
Secure Inbound directory: /home/bbs/fido/inbound/
Non-secure Inbound directory: /home/bbs/fido/in/
Outbound (BSO root) directory: /home/bbs/fido/out/
Reading /home/bbs/data/AREAS.BBS
COOKING: Unrecognized internal code, assumed passthru

FIDOTEST: Unrecognized internal code, assumed passthru

FSX_TST: Unrecognized internal code, assumed passthru

LOCALTST: Unrecognized internal code, assumed passthru

BADAREA: Unrecognized internal code, assumed passthru

Read 7 areas from /home/bbs/data/AREAS.BBS
Segmentation fault

Why am I trying to run 3.19? So I can upgrade it to 3.20, and test out some
other stuff I want to try, without messing my "real" board up. Thanks.

#

---
■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP

sbbsecho segmentation fault

<65CFAE7B.51306.sync@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2183&group=DOVE-Net.Synchronet_Discussion#2183

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: digital.man@VERT (Digital Man)
To: Dumas Walker
Subject: sbbsecho segmentation fault
Message-ID: <65CFAE7B.51306.sync@vert.synchro.net>
Date: Fri, 16 Feb 2024 10:50:35 -0800
X-Comment-To: Dumas Walker
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65CF7F35.70424.sync@capcity2.synchro.net>
References: <65CF7F35.70424.sync@capcity2.synchro.net>
X-FTN-PID: Synchronet 3.20a-Win32 master/174875d64 Feb 15 2024 MSC 1916
X-FTN-MSGID: 51306.sync@1:103/705 2a35ace5
X-FTN-REPLY: 70424.sync@723:320/1 2a35c84d
X-FTN-CHRS: CP437 2
WhenImported: 20240216105035-0800 41e0
WhenExported: 20240216154823-0800 41e0
ExportedFrom: VERT sync 51306
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Fri, 16 Feb 2024 18:50 UTC

Re: sbbsecho segmentation fault
By: Dumas Walker to All on Fri Feb 16 2024 10:28 am

> I am getting a segmentation fault when trying to run synchronet 3.19 on a
> new system.
>
> ./sbbsecho -in
>
> SBBSecho v3.14-Linux (master/cb76b1463) - Synchronet FidoNet EchoMail Tosser
>
> Loading configuration files from /home/bbs/ctrl/
> SBBSecho 3.14-Linux master/cb76b1463 Feb 20 2022 GCC 7.5.0 (PID 653114)
> invoked with options: -in
> Configured: 7 archivers, 8 linked-nodes, 12 echolists
> NetMail directory: /home/bbs/netmail/
> Secure Inbound directory: /home/bbs/fido/inbound/
> Non-secure Inbound directory: /home/bbs/fido/in/
> Outbound (BSO root) directory: /home/bbs/fido/out/
> Reading /home/bbs/data/AREAS.BBS
> COOKING: Unrecognized internal code, assumed passthru
>
> FIDOTEST: Unrecognized internal code, assumed passthru
>
> FSX_TST: Unrecognized internal code, assumed passthru
>
> LOCALTST: Unrecognized internal code, assumed passthru
>
> BADAREA: Unrecognized internal code, assumed passthru
>
> Read 7 areas from /home/bbs/data/AREAS.BBS
> Segmentation fault
>
> Why am I trying to run 3.19? So I can upgrade it to 3.20, and test out some
> other stuff I want to try, without messing my "real" board up. Thanks.

If you could provide a backtrace, that'd allow us to help you root-cause and likely work-around the issue:
https://wiki.synchro.net/howto:gdb
--
digital man (rob)

This Is Spinal Tap quote #22:
David St. Hubbins: Here lies David St. Hubbins... and why not?
Norco, CA WX: 58.9°F, 75.0% humidity, 3 mph SSW wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

sbbsecho segmentation fau

<65D0D61E.70433.sync@capcity2.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2189&group=DOVE-Net.Synchronet_Discussion#2189

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: dumas.walker@VERT/CAPCITY2 (Dumas Walker)
To: DIGITAL MAN
Subject: sbbsecho segmentation fau
Message-ID: <65D0D61E.70433.sync@capcity2.synchro.net>
Date: Sat, 17 Feb 2024 10:50:00 -0500
X-Comment-To: DIGITAL MAN
Path: rocksolidbbs.com!not-for-mail
Organization: Capitol City Online
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65CFAE7B.51306.sync@vert.synchro.net>
References: <65CFAE7B.51306.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.19c-Linux master/cb76b1463 Feb 20 2022 GCC 7.5.0
X-FTN-MSGID: 70433.sync@723:320/1 2a371f3f
X-FTN-REPLY: 51306.sync@1:103/705 2a35ace5
X-FTN-CHRS: ASCII 1
WhenImported: 20240217075301-0800 41e0
WhenExported: 20240217094815-0800 41e0
ExportedFrom: VERT sync 51312
WhenImported: 20240217105158-0500 412c
WhenExported: 20240217105263-0500 412c
ExportedFrom: CAPCITY2 sync 70433
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
 by: Dumas Walker - Sat, 17 Feb 2024 15:50 UTC

> > Read 7 areas from /home/bbs/data/AREAS.BBS
> > Segmentation fault
> >
> > Why am I trying to run 3.19? So I can upgrade it to 3.20, and test out som
> > other stuff I want to try, without messing my "real" board up. Thanks.

> If you could provide a backtrace, that'd allow us to help you root-cause and l
> ely work-around the issue:
> https://wiki.synchro.net/howto:gdb

Thanks. However, I already tried part of this. That is to say, I did the
following as per some instructions on the wiki page:

#:~/repo/src/sbbs3$ SBBSEXEC=/sbbs/exec make symlinks DEBUG=1
/home/bbs/repo/src/sbbs3/../build/Common.gmake:132: *** Both DEBUG and
RELEASE are defined. Stop.

So, for fun, I then tried it without symlinks:

#:~/repo/src/sbbs3$ SBBSEXEC=/sbbs/exec make DEBUG=1
/home/bbs/repo/src/sbbs3/../build/Common.gmake:132: *** Both DEBUG and
RELEASE are defined. Stop.

As I do not have RELEASE=1 on the make command line, why does it think I am
trying to compile DEBUG *and* RELEASE, and how do I tell it I am not?

* SLMR 2.1a * Must Go - Some Jehovahs witnesses need shouting at.

---
� Synchronet � CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP

sbbsecho segmentation fau

<65D17F95.51322.sync@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2199&group=DOVE-Net.Synchronet_Discussion#2199

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: digital.man@VERT (Digital Man)
To: Dumas Walker
Subject: sbbsecho segmentation fau
Message-ID: <65D17F95.51322.sync@vert.synchro.net>
Date: Sat, 17 Feb 2024 19:55:01 -0800
X-Comment-To: Dumas Walker
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65D0D61E.70433.sync@capcity2.synchro.net>
References: <65D0D61E.70433.sync@capcity2.synchro.net>
X-FTN-PID: Synchronet 3.20a-Win32 master/ce7c2cca9 Feb 16 2024 MSC 1916
X-FTN-MSGID: 51322.sync@1:103/705 2a377e0f
X-FTN-REPLY: 70433.sync@723:320/1 2a371f3f
X-FTN-CHRS: CP437 2
WhenImported: 20240217195501-0800 41e0
WhenExported: 20240217202305-0800 41e0
ExportedFrom: VERT sync 51322
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sun, 18 Feb 2024 03:55 UTC

Re: sbbsecho segmentation fau
By: Dumas Walker to DIGITAL MAN on Sat Feb 17 2024 10:50 am

> > > Read 7 areas from /home/bbs/data/AREAS.BBS
> > > Segmentation fault
>
> > > Why am I trying to run 3.19? So I can upgrade it to 3.20, and test out
> > > som
> > > other stuff I want to try, without messing my "real" board up. Thanks.
>
> > If you could provide a backtrace, that'd allow us to help you root-cause
> > and l
> > ely work-around the issue:
> > https://wiki.synchro.net/howto:gdb
>
> Thanks. However, I already tried part of this. That is to say, I did the
> following as per some instructions on the wiki page:
>
> #:~/repo/src/sbbs3$ SBBSEXEC=/sbbs/exec make symlinks DEBUG=1
> /home/bbs/repo/src/sbbs3/../build/Common.gmake:132: *** Both DEBUG and
> RELEASE are defined. Stop.
>
> So, for fun, I then tried it without symlinks:
>
> #:~/repo/src/sbbs3$ SBBSEXEC=/sbbs/exec make DEBUG=1
> /home/bbs/repo/src/sbbs3/../build/Common.gmake:132: *** Both DEBUG and
> RELEASE are defined. Stop.
>
> As I do not have RELEASE=1 on the make command line, why does it think I am
> trying to compile DEBUG *and* RELEASE, and how do I tell it I am not?

Check your src/build/localdefs.mk file.
--
digital man (rob)

Breaking Bad quote #51:
I did it for me. I liked it. I was good at it. And.. I was really.. I was alive
Norco, CA WX: 53.5°F, 82.0% humidity, 7 mph W wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

sbbsecho segmentation fau

<65D22E65.70449.sync@capcity2.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2207&group=DOVE-Net.Synchronet_Discussion#2207

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: dumas.walker@VERT/CAPCITY2 (Dumas Walker)
To: DIGITAL MAN
Subject: sbbsecho segmentation fau
Message-ID: <65D22E65.70449.sync@capcity2.synchro.net>
Date: Sun, 18 Feb 2024 11:20:00 -0500
X-Comment-To: DIGITAL MAN
Path: rocksolidbbs.com!not-for-mail
Organization: Capitol City Online
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65D17F95.51322.sync@vert.synchro.net>
References: <65D17F95.51322.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.19c-Linux master/cb76b1463 Feb 20 2022 GCC 7.5.0
X-FTN-MSGID: 70449.sync@723:320/1 2a387796
X-FTN-REPLY: 51322.sync@1:103/705 2a377e0f
X-FTN-CHRS: ASCII 1
WhenImported: 20240218120639-0800 41e0
WhenExported: 20240218142305-0800 41e0
ExportedFrom: VERT sync 51330
WhenImported: 20240218112053-0500 412c
WhenExported: 20240218150642-0500 412c
ExportedFrom: CAPCITY2 sync 70449
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
 by: Dumas Walker - Sun, 18 Feb 2024 16:20 UTC

> Check your src/build/localdefs.mk file.

Thanks. Commented out a line and that did it.

(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff76b8740 (LWP 1025490) "sbbsecho"):
#0 0x0000555555574799 in main (argc=2, argv=0x7fffffffe4c8) at sbbsecho.c:6439

Line 6439 deals with the BADAREA. Looks like it didn't like this entry in
AREAS.BBS:

BADAREA *

so I removed it and sbbsecho is working now.

* SLMR 2.1a * Look maw, kitty goes POP when ya plug er in da waal.

---
� Synchronet � CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP

sbbsecho segmentation fau

<65D26DC4.51333.sync@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2210&group=DOVE-Net.Synchronet_Discussion#2210

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: digital.man@VERT (Digital Man)
To: Dumas Walker
Subject: sbbsecho segmentation fau
Message-ID: <65D26DC4.51333.sync@vert.synchro.net>
Date: Sun, 18 Feb 2024 12:51:16 -0800
X-Comment-To: Dumas Walker
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65D22E65.70449.sync@capcity2.synchro.net>
References: <65D22E65.70449.sync@capcity2.synchro.net>
X-FTN-PID: Synchronet 3.20a-Win32 master/ce7c2cca9 Feb 16 2024 MSC 1916
X-FTN-MSGID: 51333.sync@1:103/705 2a386c49
X-FTN-REPLY: 70449.sync@723:320/1 2a387796
X-FTN-CHRS: CP437 2
WhenImported: 20240218125116-0800 41e0
WhenExported: 20240218142305-0800 41e0
ExportedFrom: VERT sync 51333
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sun, 18 Feb 2024 20:51 UTC

Re: sbbsecho segmentation fau
By: Dumas Walker to DIGITAL MAN on Sun Feb 18 2024 11:20 am

> Line 6439 deals with the BADAREA. Looks like it didn't like this entry in
> AREAS.BBS:
>
> BADAREA *
>
> so I removed it and sbbsecho is working now.

Okay, good. Looks like that bug was fixed already for v3.20:
https://gitlab.synchro.net/main/sbbs/-/commit/2962e4a5bf733e4b0c3869c43daebc5
--
digital man (rob)

This Is Spinal Tap quote #23:
David St. Hubbins: I envy us.
Norco, CA WX: 63.8°F, 61.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

sbbsecho segmentation fau

<65D36315.70464.sync@capcity2.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2220&group=DOVE-Net.Synchronet_Discussion#2220

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: dumas.walker@VERT/CAPCITY2 (Dumas Walker)
To: DIGITAL MAN
Subject: sbbsecho segmentation fau
Message-ID: <65D36315.70464.sync@capcity2.synchro.net>
Date: Mon, 19 Feb 2024 09:16:00 -0500
X-Comment-To: DIGITAL MAN
Path: rocksolidbbs.com!not-for-mail
Organization: Capitol City Online
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65D26DC4.51333.sync@vert.synchro.net>
References: <65D26DC4.51333.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.19c-Linux master/cb76b1463 Feb 20 2022 GCC 7.5.0
X-FTN-MSGID: 70464.sync@723:320/1 2a39ac55
X-FTN-REPLY: 51333.sync@1:103/705 2a386c49
X-FTN-CHRS: ASCII 1
WhenImported: 20240219120640-0800 41e0
WhenExported: 20240219142305-0800 41e0
ExportedFrom: VERT sync 51343
WhenImported: 20240219091757-0500 412c
WhenExported: 20240219150644-0500 412c
ExportedFrom: CAPCITY2 sync 70464
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
 by: Dumas Walker - Mon, 19 Feb 2024 14:16 UTC

> > Line 6439 deals with the BADAREA. Looks like it didn't like this entry in
> > AREAS.BBS:
> >
> > BADAREA *
> >
> > so I removed it and sbbsecho is working now.

> Okay, good. Looks like that bug was fixed already for v3.20:
> https://gitlab.synchro.net/main/sbbs/-/commit/2962e4a5bf733e4b0c3869c43daebc5

Good to know. I will be upgrading the test system soon and should pick up
that fix. Thanks.

* SLMR 2.1a * About as useful as a chocolate teapot.

---
� Synchronet � CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor