• sbbsecho crash (segfault)

    From Ragnarok@VERT/DOCKSUD to All on Monday, July 30, 2018 11:19:00
    I do a transition from binkd to binkit.
    I setup my uplink and 2 additional points (for testing purpose)
    The setup for routeing packages works fine for now.

    I request from one point to sbbs areafix (handle via sbbsecho) to remove linked areas

    Where sbbsecho process the packet it's crash when unlinking areas.
    (I have a manually edited my areas.bbs time ago, maybe this can be a parsing issue form areas.bbs?)
    my areas.bbs is: http://paste.debian.net/1035789/

    GDB Backtrace:

    (gdb) r
    Starting program: /sbbs/exec/sbbsecho

    SBBSecho v3.04-Linux (rev 3.81) - Synchronet FidoNet EchoMail Tosser

    Loading configuration files from /sbbs/ctrl/
    SBBSecho 3.04-Linux r3.81 May 20 2018 GCC 4.9.2 invoked with options: Configured: 1 archivers, 10 linked-nodes, 1 echolists
    NetMail directory: /sbbs/fido/netmail/
    Secure Inbound directory: /sbbs/fido/inbound/
    Non-secure Inbound directory: /sbbs/fido/inbound.nosecure/
    Outbound (BSO root) directory: /sbbs/fido/outbound/
    Reading ../data/areas.bbs
    Read 77 areas from ../data/areas.bbs
    Reading bad area file: ../data/badareas.lst
    Read 741 areas from ../data/badareas.lst
    Read 229 echo statistics from ../data/echostats.ini

    Scanning /sbbs/temp/sbbsecho/ for Stray Outbound Packets...

    Scanning for Inbound Packets...
    Scanning secure inbound: /sbbs/fido/inbound/
    Importing /sbbs/fido/inbound/5B5E7FAD.PKT (Type 2e, 0.2KB) from 4:902/26.2 to 4 :902/26
    Ragnarok (4:902/26.2) To: areafix (4:902/26) Ragnarok (4:902/26.2) To: areafix (4:902/26)
    AreaFix (for 4:902/26.2) Request received from Ragnarok
    AreaFix (for 4:902/26.2) Received command: -ALL
    AreaFix (for 4:902/26.2) Unlinking area: ESP.8Y16BITS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ADIVINANZAS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.AJEDREZ
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ALLFIX
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ANTHROPOS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ANUNCIOS-BBS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ASTRONOMIA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.AVISOS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.CHISTES
    AreaFix (for 4:902/26.2) Unlinking area: ESP.CIENCIA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.CINE
    AreaFix (for 4:902/26.2) Unlinking area: ESP.COMICS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.CONSOLAS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.CONSUMIDOR
    AreaFix (for 4:902/26.2) Unlinking area: ESP.DEPORTES
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ECOLOGIA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.EDUCACION
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ELECTRONICA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.EMULADORES
    AreaFix (for 4:902/26.2) Unlinking area: ESP.FIDONET
    AreaFix (for 4:902/26.2) Unlinking area: ESP.FOTO_IMG
    AreaFix (for 4:902/26.2) Unlinking area: ESP.FUNDAM_FIDO
    AreaFix (for 4:902/26.2) Unlinking area: ESP.GENERAL
    AreaFix (for 4:902/26.2) Unlinking area: ESP.HARDWARE
    AreaFix (for 4:902/26.2) Unlinking area: ESP.HISTORIA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.HOGAR
    AreaFix (for 4:902/26.2) Unlinking area: ESP.INTERNET
    AreaFix (for 4:902/26.2) Unlinking area: ESP.JUEGOS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.LENGUAS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.LINUX
    AreaFix (for 4:902/26.2) Unlinking area: ESP.LINUX.NUEVOS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.LITERATURA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.MODERADORES
    AreaFix (for 4:902/26.2) Unlinking area: ESP.MOTOR
    AreaFix (for 4:902/26.2) Unlinking area: ESP.MSX
    AreaFix (for 4:902/26.2) Unlinking area: ESP.MUSICA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.NEWSOFT
    AreaFix (for 4:902/26.2) Unlinking area: ESP.POLITICA
    AreaFix (for 4:902/26.2) Unlinking area: ESP.PROGRAMACION
    AreaFix (for 4:902/26.2) Unlinking area: ESP.PRUEBAS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.REDES
    AreaFix (for 4:902/26.2) Unlinking area: ESP.ROL
    AreaFix (for 4:902/26.2) Unlinking area: ESP.S&F
    AreaFix (for 4:902/26.2) Unlinking area: ESP.SEGURIDAD
    AreaFix (for 4:902/26.2) Unlinking area: ESP.SETI
    VAreaFix (for 4:902/26.2) Unlinking area: ESP.SEXO
    AreaFix (for 4:902/26.2) Unlinking area: ESP.SISTEMAS-OPERATIVOS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.SOFTBBS
    AreaFix (for 4:902/26.2) Unlinking area: ESP.SOFTWARE
    AreaFix (for 4:902/26.2) Unlinking area: ESP.SONIDO
    AreaFix (for 4:902/26.2) Unlinking area: ESP.TRUEQUE
    AreaFix (for 4:902/26.2) Unlinking area: ESP.TVSET
    AreaFix (for 4:902/26.2) Unlinking area: ESP.VIAJES
    AreaFix (for 4:902/26.2) Unlinking area: ESP.WINDOWS
    AreaFix (for 4:902/26.2) Unlinking area: LATINO
    AreaFix (for 4:902/26.2) Unlinking area: BR.BBSING
    AreaFix (for 4:902/26.2) Unlinking area: REGION90
    AreaFix (for 4:902/26.2) Unlinking area: IC
    AreaFix (for 4:902/26.2) Unlinking area: LINUX
    AreaFix (for 4:902/26.2) Unlinking area: FILEGATE
    AreaFix (for 4:902/26.2) Unlinking area: FILEFIND
    AreaFix (for 4:902/26.2) Unlinking area: FIDO_SYSOP
    AreaFix (for 4:902/26.2) Unlinking area: FIDOTEST
    AreaFix (for 4:902/26.2) Unlinking area: FIDONEWS
    AreaFix (for 4:902/26.2) Unlinking area: FIDONET.ORG
    AreaFix (for 4:902/26.2) Unlinking area: FIDO-REQ
    AreaFix (for 4:902/26.2) Unlinking area: ECHOLIST
    AreaFix (for 4:902/26.2) Unlinking area: 4DOS
    AreaFix (for 4:902/26.2) Unlinking area: AMIGA
    AreaFix (for 4:902/26.2) Unlinking area: ARTWARE
    AreaFix (for 4:902/26.2) Unlinking area: ASCII_ART
    AreaFix (for 4:902/26.2) Unlinking area: BBS_DOORS
    AreaFix (for 4:902/26.2) Unlinking area: BINKD
    AreaFix (for 4:902/26.2) Unlinking area: DOS
    AreaFix (for 4:902/26.2) Unlinking area: LINUX_BBS
    AreaFix (for 4:902/26.2) Unlinking area: IPV6

    Program received signal SIGSEGV, Segmentation fault.
    0x00000000004095bb in alter_areas (add_area=0x0, del_area=0x730c10, addr=..., t o=0x7fffffff8a40 "Ragnarok") at sbbsecho.c:1732
    warning: Source file is more recent than executable.
    1732 if(nomatch || (add_area[0] != NULL && stricmp(add_area[0],"+ALL") = = 0)) {
    (gdb) bt
    #0 0x00000000004095bb in alter_areas (add_area=0x0, del_area=0x730c10, addr=.. ., to=0x7fffffff8a40 "Ragnarok") at sbbsecho.c:1732
    #1 0x000000000040baad in areafix_command (instr=0x7fffffff8380 "-ALL", nodecfg =0x722c10, to=0x7fffffff8a40 "Ragnarok") at sbbsecho.c:2171
    #2 0x000000000040c094 in process_areafix (addr=...,
    inbuf=0x736490 "\001MSGID: 4:902/26.2 5b5e7fa6\r\n\001INTL 4:902/26 4:902/2 6\r\n\001FMPT 2\r\n\001PID: APoint 1.25\r\n\001CHRS: LATIN-1 2\r\n%-ALL",
    password=0x999999999999 "XXXXX", name=0x7fffffff8a40 "Ragnarok") at sbbsech o.c:2264
    #3 0x000000000041432c in import_netmail (path=0x473038 "", hdr=..., fp=0x71201 0, inbound=0x692dc1 <cfg+4097> "/sbbs/fido/inbound/") at sbbsecho.c:4400
    #4 0x00000000004196ba in import_packets (inbound=0x692dc1 <cfg+4097> "/sbbs/fi do/inbound/", inbox=0x0, secure=true) at sbbsecho.c:5667
    #5 0x000000000041ccd2 in main (argc=1, argv=0x7fffffffe648) at sbbsecho.c:6358 (gdb)

    Thanks!
    ---
    Dock sud BBS
    http://www.docksud.com.ar
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Ragnarok@VERT/DOCKSUD to Ragnarok on Monday, July 30, 2018 22:42:00
    El 30/07/18 a las 04:19, Ragnarok escribiˇ:

    update:

    The issue occur when i try to unlink areas.
    If i add area with +AREANAME it's work fine

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Monday, July 30, 2018 20:43:00
    Re: sbbsecho crash (segfault)
    By: Ragnarok to All on Mon Jul 30 2018 04:19 am

    Where sbbsecho process the packet it's crash when unlinking areas.

    Thanks. Should be fixed now in CVS.

    digital man

    Synchronet "Real Fact" #84:
    The Electronic Frontier Foundation used to run Synchronet (circa 1993).
    Norco, CA WX: 93.9°F, 35.0% humidity, 9 mph ENE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Tuesday, July 31, 2018 18:51:00
    El 30/07/18 a las 17:43, Digital Man escribiˇ:
    Re: sbbsecho crash (segfault)
    By: Ragnarok to All on Mon Jul 30 2018 04:19 am

    Where sbbsecho process the packet it's crash when unlinking areas.

    Thanks. Should be fixed now in CVS.

    digital man

    thanks!

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar