Subj : Re: Javascript TW2
To : Dumas Walker
From : Digital Man
Date : Fri Jan 12 2018 06:41 pm
Re: Re: Javascript TW2
By: Dumas Walker to Digital Man on Fri Jan 12 2018 04:02 pm
>
> > The instructions for debugging crashes (e.g. segfaults) on *nix are here:
> >
http://wiki.synchro.net/howto:gdb
>
> > It'd be helpful if you had a core file from the crash.
>
> OK, so after Al's encouragement, I decided to try a different approach. I
> set up a second sbbs directory, /opt/sbbs, and did a brand new install
> there. Afterwards, I ran my script that exports paths under /opt/sbbs and
> starts sbbs.
> It came up without any apparent issue.
>
> Then I created a symlink under the /opt/bbs "test" environment back to the
> /sbbs/data directory in "production." I did the same thing with the ctrl
> directory. When I refired /opt/sbbs/exec/sbbs, I get a segfault again...
> 26991.
>
> From what I can tell, I have to compile a debug version in order to get core
> files to generate?
No, release (non-debug) builds will generate core files too if your system will
allow it.
> Or will changing the limits.conf settings cause the core
> file to be created without using a debug version?
A non-debug core file can still be very useful and yes, there a various ways to
instruct your system to allow core files to be created. Detailed here:
http://wiki.synchro.net/howto:gdb#core_file
digital man
Synchronet "Real Fact" #35:
The irc.synchro.net network has more servers than users.
Norco, CA WX: 68.4�F, 39.0% humidity, 3 mph WNW wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net