• Error - segmentation fault core dumped

    From Chrisco@VERT to All on Tue Nov 15 20:50:40 2016
    Forgive me if I'm posting this in the wrong forum, but I've spent the past 48 hours trying to figure this one out and have Googled everywhere to no avail.

    Got Synchronet 3.17a up and running on Ubuntu server. Having lots of fun. Decided to add the QWK function so I could start receiving DOVE-NET messages. Configured everything up and then manually load up Synchronet from console mode # /sbbs/exec/sbbs

    The program loads up, begins running and then terminates with a segmentation fault.

    I then ran the GNU debugger ( # gdb /sbbs/exec/sbbs ) to where it began downloading thousands of messages and then terminated with these errors:

    =========================================================
    [Threads: 12 Sockets: 43 Clients: 0 Served: 0 Errors: 1] (?=Help):
    Thread 11 "BBS Events" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7fffd3fff700 (LWP 8736)]
    0x00000000004151f1 in smb_hfield_add_netaddr ()
    (gdb) bt
    #0 0x00000000004151f1 in smb_hfield_add_netaddr ()
    #1 0x00007ffff74adb8d in sbbs_t::qwk_voting(char const*, unsigned short) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #2 0x00007ffff74de1f5 in sbbs_t::unpack_qwk(char*, unsigned int) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #3 0x00007ffff7495333 in event_thread(void*) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #4 0x00007ffff689d70a in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333
    #5 0x00007ffff65d382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 =========================================================


    Any ideas here?

    I'm completely at a loss.

    Thanks,
    Chrisco
    Nashville, TN
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Chrisco on Tue Nov 15 23:17:55 2016
    Re: Error - segmentation fault core dumped
    By: Chrisco to All on Tue Nov 15 2016 08:50 pm

    Forgive me if I'm posting this in the wrong forum, but I've spent the past 48 hours trying to figure this one out and have Googled everywhere to no avail.

    Got Synchronet 3.17a up and running on Ubuntu server. Having lots of fun. Decided to add the QWK function so I could start receiving DOVE-NET messages. Configured everything up and then manually load up Synchronet from console mode # /sbbs/exec/sbbs

    The program loads up, begins running and then terminates with a segmentation fault.

    I then ran the GNU debugger ( # gdb /sbbs/exec/sbbs ) to where it began downloading thousands of messages and then terminated with these errors:

    =========================================================
    [Threads: 12 Sockets: 43 Clients: 0 Served: 0 Errors: 1] (?=Help): Thread 11 "BBS Events" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffd3fff700 (LWP 8736)]
    0x00000000004151f1 in smb_hfield_add_netaddr ()
    (gdb) bt
    #0 0x00000000004151f1 in smb_hfield_add_netaddr ()
    #1 0x00007ffff74adb8d in sbbs_t::qwk_voting(char const*, unsigned short) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #2 0x00007ffff74de1f5 in sbbs_t::unpack_qwk(char*, unsigned int) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #3 0x00007ffff7495333 in event_thread(void*) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #4 0x00007ffff689d70a in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333
    #5 0x00007ffff65d382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 =========================================================


    Any ideas here?

    You just need the latest source from CVS. Run "cvs update -d" in you 'src' directory and then make again.

    digital man

    Synchronet "Real Fact" #19:
    The first Synchronet BBS (Vertrauen) went live in July of 1991 (replacing WWIV).
    Norco, CA WX: 60.7øF, 66.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Chrisco@VERT to Digital Man on Wed Nov 16 18:15:58 2016
    Re: Error - segmentation fault core dumped
    By: Digital Man to Chrisco on Tue Nov 15 2016 11:17 pm

    Re: Error - segmentation fault core dumped
    By: Chrisco to All on Tue Nov 15 2016 08:50 pm

    Forgive me if I'm posting this in the wrong forum, but I've spent the past 48 hours trying to figure this one out and have Googled everywhere to no avail.

    Got Synchronet 3.17a up and running on Ubuntu server. Having lots of fun. Decided to add the QWK function so I could start receiving DOVE-NET messages. Configured everything up and then manually load up Synchronet from console mode # /sbbs/exec/sbbs

    The program loads up, begins running and then terminates with a segmentation fault.

    I then ran the GNU debugger ( # gdb /sbbs/exec/sbbs ) to where it began downloading thousands of messages and then terminated with these errors:

    =========================================================
    [Threads: 12 Sockets: 43 Clients: 0 Served: 0 Errors: 1] (?=Help): Thread 11 "BBS Events" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffd3fff700 (LWP 8736)]
    0x00000000004151f1 in smb_hfield_add_netaddr ()
    (gdb) bt
    #0 0x00000000004151f1 in smb_hfield_add_netaddr ()
    #1 0x00007ffff74adb8d in sbbs_t::qwk_voting(char const*, unsigned short) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #2 0x00007ffff74de1f5 in sbbs_t::unpack_qwk(char*, unsigned int) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #3 0x00007ffff7495333 in event_thread(void*) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #4 0x00007ffff689d70a in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333
    #5 0x00007ffff65d382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 =========================================================


    Any ideas here?

    You just need the latest source from CVS. Run "cvs update -d" in you 'src' directory and then make again.

    digital man

    Synchronet "Real Fact" #19:
    The first Synchronet BBS (Vertrauen) went live in July of 1991 (replacing WWIV).


    Thanks for the reply Rob.

    Unfortunately, after I did this, I am not able to SSH into the BBS.
    I can SSH into the server (port xxxx)
    But I can't SSH into the BBS (port 22 - kept it default and will let my router work out the details)
    Now tells me
    "Received disconnect from 192.168.x.xxx port 22:2: Handshake failed Disconnected from 192.168.x.xxx port 22"

    Telnet works fine, just not SSH now

    Thoughts?
    ---
    þ Synchronet þ Vertrauen þ Home of
  • From Digital Man@VERT to Chrisco on Wed Nov 16 18:25:35 2016
    Re: Error - segmentation fault core dumped
    By: Chrisco to Digital Man on Wed Nov 16 2016 06:15 pm

    Re: Error - segmentation fault core dumped
    By: Digital Man to Chrisco on Tue Nov 15 2016 11:17 pm

    Re: Error - segmentation fault core dumped
    By: Chrisco to All on Tue Nov 15 2016 08:50 pm

    Forgive me if I'm posting this in the wrong forum, but I've spent the past 48 hours trying to figure this one out and have Googled everywhere to no avail.

    Got Synchronet 3.17a up and running on Ubuntu server. Having lots of fun. Decided to add the QWK function so I could start receiving DOVE-NET messages. Configured everything up and then manually load up Synchronet from console mode # /sbbs/exec/sbbs

    The program loads up, begins running and then terminates with a segmentation fault.

    I then ran the GNU debugger ( # gdb /sbbs/exec/sbbs ) to where it began downloading thousands of messages and then terminated with these errors:

    =========================================================
    [Threads: 12 Sockets: 43 Clients: 0 Served: 0 Errors: 1] (?=Help): Thread 11 "BBS Events" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffd3fff700 (LWP 8736)]
    0x00000000004151f1 in smb_hfield_add_netaddr ()
    (gdb) bt
    #0 0x00000000004151f1 in smb_hfield_add_netaddr ()
    #1 0x00007ffff74adb8d in sbbs_t::qwk_voting(char const*, unsigned short) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #2 0x00007ffff74de1f5 in sbbs_t::unpack_qwk(char*, unsigned int) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #3 0x00007ffff7495333 in event_thread(void*) () from /sbbs/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so
    #4 0x00007ffff689d70a in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333
    #5 0x00007ffff65d382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 =========================================================


    Any ideas here?

    You just need the latest source from CVS. Run "cvs update -d" in you 'src' directory and then make again.

    Thanks for the reply Rob.

    Unfortunately, after I did this, I am not able to SSH into the BBS.
    I can SSH into the server (port xxxx)
    But I can't SSH into the BBS (port 22 - kept it default and will let my router work out the details)
    Now tells me
    "Received disconnect from 192.168.x.xxx port 22:2: Handshake failed Disconnected from 192.168.x.xxx port 22"

    Telnet works fine, just not SSH now

    Thoughts?

    There have been no recent changes in regards to SSH or Cryptlib support. Was SSH working before? What version of sbbs were you running then? What else changed? Did you try different SSH clients? There is a known incompatibilty between the version of Cryptlib we'ere using and some SSH (OpenSSH?) client.

    digital man

    Synchronet "Real Fact" #21:
    The first commericial sale of Synchronet was to Las Vegas Playground BBS (1992).
    Norco, CA WX: 60.0øF, 84.0% humidity, 8 mph ESE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net