• v3.16c sefaulting

    From echto@VERT/ECHTOBBS to digital man on Friday, January 22, 2016 19:09:05
    DM,

    v3.16c is sefaulting on me. I'm just recompiled without the RELEASE=1 to get the debug.exe. What info do you need?

    syslog error is : segfault at 6262732f ip b6d07733 sp b12dcfa0 error 4 in libc-2.21.so[b6cc2000+1a1000]

    crash log shows : End of preexisting log entry (possible crash)

    echto

    ---
    þ Synchronet þ -=-= echto bbs =-=-
  • From Digital Man@VERT to echto on Saturday, January 23, 2016 01:32:18
    Re: v3.16c sefaulting
    By: echto to digital man on Fri Jan 22 2016 07:09 pm

    DM,

    v3.16c is sefaulting on me. I'm just recompiled without the RELEASE=1 to get the debug.exe. What info do you need?

    syslog error is : segfault at 6262732f ip b6d07733 sp b12dcfa0 error 4 in libc-2.21.so[b6cc2000+1a1000]

    A backtrace might be helpful. Here are instructions on how to get one: http://wiki.synchro.net/howto:gdb

    digital man

    Synchronet "Real Fact" #67:
    Robert D. Bouman, the author of SyncEdit, died in the mid to late 1990's. Norco, CA WX: 53.9øF, 77.0% humidity, 1 mph WNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echto@VERT/ECHTOBBS to Digital Man on Saturday, January 23, 2016 07:12:30
    Re: v3.16c sefaulting
    By: Digital Man to echto on Sat Jan 23 2016 01:32 am

    A backtrace might be helpful. Here are instructions on how to get one: http://wiki.synchro.net/howto:gdb

    OK, even after making the changes to sysctl, sbbs is not dumping a core. ulimit is set to unlimited. I did get a backtrace in gdb, but according to your wiki you only want the output "if (and only if) the last line..." has a certain look. I posted a 'bt full' to pastbin earlier.

    Anyway, I started up v3.17a and I am able to access the message bases without
    a segfault. The only issue I have noticed with v3.17a is the ssh service does not start.

    echto

    ---
    þ Synchronet þ -=-= echto bbs =-=-
  • From echto@VERT/ECBBS to Digital Man on Saturday, January 23, 2016 09:17:00
    Re: v3.16c sefaulting
    By: Digital Man to echto on Sat Jan 23 2016 01:32:18

    Thanks. I can't even access the message bases now without sbbs segfaulting. I'll take a look at you how-to. Here is a paste bin from gbd.

    http://pastebin.com/Tw2L3ZmQ

    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to echto on Saturday, January 23, 2016 15:43:46
    Re: v3.16c sefaulting
    By: echto to Digital Man on Sat Jan 23 2016 09:17 am

    Re: v3.16c sefaulting
    By: Digital Man to echto on Sat Jan 23 2016 01:32:18

    Thanks. I can't even access the message bases now without sbbs segfaulting. I'll take a look at you how-to. Here is a paste bin from gbd.

    http://pastebin.com/Tw2L3ZmQ

    Looks like you have a recursion issue. You have a Baja module which is displaying a file which has an @-code which executes a Baja modules which displays an @-code which executes JavaScript which display a menu with an @-code which executes a Baja module... etc.

    Do you see the problem? At the very least, you will eventually run out of space for the call stack, but you're like to have other weird side effects too.

    You need to sort out your custom mods and make them not infinitely-recursive.

    digital man

    Synchronet "Real Fact" #76:
    Rob Swindell still has dozens of BBS-related magazines in his possession. Norco, CA WX: 60.6øF, 69.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mark lewis@VERT to echto on Saturday, January 23, 2016 19:47:34
    23 Jan 16 07:12, you wrote to Digital Man:

    A backtrace might be helpful. Here are instructions on how to get
    one: http://wiki.synchro.net/howto:gdb

    OK, even after making the changes to sysctl, sbbs is not dumping a
    core. ulimit is set to unlimited. I did get a backtrace in gdb, but according to your wiki you only want the output "if (and only if) the
    last line..." has a certain look. I posted a 'bt full' to pastbin earlier.

    in another software package i work with (not BBS oriented), we have to use

    thread apply all bt full

    because it is a multi-threaded app... is synchronet is multi-threaded, this may
    be needed to gather the necessary information from all threads... i'm sure that
    digital man or deuce will clarify this if needed ;)

    Anyway, I started up v3.17a and I am able to access the message bases without a segfault. The only issue I have noticed with v3.17a is the
    ssh service does not start.

    )\/(ark

    ... Her wedding invitations say "Same time, same place."
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Erich Mounce@VERT to Digital Man on Saturday, January 23, 2016 16:55:17
    Re: v3.16c sefaulting
    By: Digital Man to echto on Sat Jan 23 2016 15:43:46

    Do you see the problem? At the very least, you will eventually run out of space for the call stack, but you're like to have other weird side effects too.

    Ah.. ok. Yeah, I'll have to go through things and see what I did. It's been a couple of years since I messed with this. Only recently has life started settling down (google "Abigail Mounce") to where I have some free time to mess old hobby stuff. I'll probably just start from scratch and re-introduce
    one mod at a time. Thanks for taking a look!
    --- SBBSecho 2.32-Linux
    * Origin: -=-=- bbs.echto.net -=-=- (1:340/100)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Erich Mounce on Saturday, January 23, 2016 18:22:48
    Re: v3.16c sefaulting
    By: Erich Mounce to Digital Man on Sat Jan 23 2016 04:55 pm

    Re: v3.16c sefaulting
    By: Digital Man to echto on Sat Jan 23 2016 15:43:46

    Do you see the problem? At the very least, you will eventually run out of space for the call stack, but you're like to have other weird side effects too.

    Ah.. ok. Yeah, I'll have to go through things and see what I did. It's been a couple of years since I messed with this. Only recently has life started settling down (google "Abigail Mounce")

    Oh wow, sad. Glad she survived and the community has helped with her recovery! Rock on,

    digital man

    Synchronet "Real Fact" #86:
    Synchronet Message Base and its library, SMBLIB, was used by AXiS BBS Software. Norco, CA WX: 57.1øF, 83.0% humidity, 3 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Erich Mounce@VERT to Digital Man on Sunday, January 24, 2016 08:30:48
    Re: v3.16c sefaulting
    By: Digital Man to Erich Mounce on Sat Jan 23 2016 18:22:48

    Oh wow, sad. Glad she survived and the community has helped with her recovery! Rock on,

    I am too! Thanks!
    --- SBBSecho 2.32-Linux
    * Origin: -=-=- bbs.echto.net -=-=- (1:340/100)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Khelair@VERT/TINFOIL to echto on Sunday, January 24, 2016 10:52:14
    Re: v3.16c sefaulting
    By: echto to Digital Man on Sat Jan 23 2016 07:12:30

    OK, even after making the changes to sysctl, sbbs is not dumping a core. ulimit is set to unlimited. I did get a backtrace in gdb, but according to your wiki you only want the output "if (and only if) the last
    line..." has a certain look. I posted a 'bt full' to pastbin earlier.

    Welcome to my world. Well, not on the same version (I'm still on 3.16b), but I can't get the damn thing to leave a stack trace for me for the life of me. I've got everything else leaving traces that core dumps on this OBSD machine except for that. It's enough to drive a person batty.

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    þ Synchronet þ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Deuce@VERT/BBSDEV to Khelair on Sunday, January 24, 2016 21:17:15
    Re: Re: v3.16c sefaulting
    By: Khelair to echto on Sun Jan 24 2016 10:52 am

    Welcome to my world. Well, not on the same version (I'm still on 3.16b), but I can't get the damn thing to leave a stack trace for me for the life of me. I've got everything else leaving traces that core dumps on this OBSD machine except for that. It's enough to drive a person batty.

    Programs that call setuid() often require special magic to get cores from since they may have some secret root stuff in the image.

    On FreeBSD, you need to do a ``sysctl kern.sugid_coredump=1'' to get them to dump. I have that in my /etc/sysctl.conf.

    Quite likely there's something similar for OpenBSD and Linux too.

    ---
    þ Synchronet þ The future of BBSing
  • From Joe Delahaye@VERT to Erich Mounce on Sunday, January 24, 2016 19:36:45
    Re: v3.16c sefaulting
    By: Erich Mounce to Digital Man on Sun Jan 24 2016 08:30:48

    Oh wow, sad. Glad she survived and the community has helped with her
    recovery! Rock on,

    I am too! Thanks!

    Yes, sad story with happy ending, or at least a good ending.
    --- SBBSecho 2.32-Win32
    * Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Khelair@VERT/TINFOIL to Deuce on Sunday, January 24, 2016 16:11:20
    Re: Re: v3.16c sefaulting
    By: Deuce to Khelair on Sun Jan 24 2016 21:17:15

    Programs that call setuid() often require special magic to get cores from since they may have some secret root stuff in the image.

    On FreeBSD, you need to do a ``sysctl kern.sugid_coredump=1'' to get them to dump. I have that in my /etc/sysctl.conf.

    Quite likely there's something similar for OpenBSD and Linux too.

    I know there was a sysctl.conf toggling that I did to get most of the coredumps working, but it hasn't worked for sbbs yet (almost certainly due to the setuid() bits you're referencing).
    I'll look it up and see if I can't find something about an option that'll let me do that. Much appreciated!

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    þ Synchronet þ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Mro@VERT/BBSESINF to Joe Delahaye on Monday, January 25, 2016 17:27:45
    Re: v3.16c sefaulting
    By: Joe Delahaye to Erich Mounce on Sun Jan 24 2016 07:36 pm

    recovery! Rock on,

    I am too! Thanks!

    Yes, sad story with happy ending, or at least a good ending.


    they ask me if i want a happy ending at the massage parlor but i tell them i'm just there to get my back fixed up.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Joe Delahaye@VERT to Mro on Monday, January 25, 2016 19:55:03
    Re: v3.16c sefaulting
    By: Mro to Joe Delahaye on Mon Jan 25 2016 17:27:45

    they ask me if i want a happy ending at the massage parlor but i tell them i'm just there to get my back fixed up.

    You should ask for a Wax Job <G>
    --- SBBSecho 2.32-Win32
    * Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Mro@VERT/BBSESINF to Joe Delahaye on Monday, January 25, 2016 20:00:04
    Re: v3.16c sefaulting
    By: Joe Delahaye to Mro on Mon Jan 25 2016 07:55 pm

    Re: v3.16c sefaulting
    By: Mro to Joe Delahaye on Mon Jan 25 2016 17:27:45

    they ask me if i want a happy ending at the massage parlor but i tell them i'm just there to get my back fixed up.

    You should ask for a Wax Job <G>


    you mean a brazillian? i dont know if they have enough wax for that.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Joe Delahaye@VERT to Mro on Monday, January 25, 2016 22:51:52
    Re: v3.16c sefaulting
    By: Mro to Joe Delahaye on Mon Jan 25 2016 20:00:04

    You should ask for a Wax Job <G>


    you mean a brazillian? i dont know if they have enough wax for that.

    This one will clean the wax outa yer ears <G>

    ... The most delicate component will drop.
    --- SBBSecho 2.32-Win32
    * Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net