• sbbsctrl.exe crashes

    From KenDB3@1:103/705 to digital man on Thu Nov 30 06:11:57 2017
    Rob,

    I don't know if you (or maybe if anyone else) has noticed this happening, but after recent CVS updates I am getting some crashes with sbbsctrl.exe. I am not sure if it was the updates I did from the 28th or the 29th that started it.

    I get the Windows "Send Error Report" message box when it crashes. The BBS keeps running until I acknowledge it by hitting "Don't Send" (or likely if I also were to hit "Send"). Then I have to restart sbbsctrl.exe.

    I restart, it all looks good, and then after everything settles in, it gives the same message box. It happens even before any new users (aka bots) try to connect. I see it run these last couple of events:

    11/30 05:54:47a Running timed event: DYNDNS
    11/30 05:54:47a Executing external: ?dyndns.js xxxxxxxx
    11/30 05:54:47a Synchronet Dynamic DNS Client 1.12
    xxxxxxxx
    11/30 05:54:57a Timed event: DYNDNS returned 0
    11/30 05:54:57a Running timed event: WEBRSS
    11/30 05:54:57a Executing external: ?web_feed_importer

    I'm running 3.17 with executables from 11-29. Windows XP SP3. Any other details you need, please let me know.

    ~KenDB3

    ---
    * Synchronet * KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to KenDB3 on Thu Nov 30 20:51:39 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to digital man on Thu Nov 30 2017 06:11 am

    Rob,

    I don't know if you (or maybe if anyone else) has noticed this happening, but after recent CVS updates I am getting some crashes with sbbsctrl.exe. I am not sure if it was the updates I did from the 28th or the 29th that started it.

    I get the Windows "Send Error Report" message box when it crashes. The BBS keeps running until I acknowledge it by hitting "Don't Send" (or likely if I also were to hit "Send"). Then I have to restart sbbsctrl.exe.

    I restart, it all looks good, and then after everything settles in, it gives the same message box. It happens even before any new users (aka bots) try to connect. I see it run these last couple of events:

    11/30 05:54:47a Running timed event: DYNDNS
    11/30 05:54:47a Executing external: ?dyndns.js xxxxxxxx
    11/30 05:54:47a Synchronet Dynamic DNS Client 1.12
    xxxxxxxx
    11/30 05:54:57a Timed event: DYNDNS returned 0
    11/30 05:54:57a Running timed event: WEBRSS
    11/30 05:54:57a Executing external: ?web_feed_importer

    I'm running 3.17 with executables from 11-29. Windows XP SP3. Any other details you need, please let me know.

    That was helpful helpful. I think the problem is fixed now (in MsgBase.get_msg_header) in CVS and will be included in tomorrow morning's build. Thanks,

    digital man

    Synchronet "Real Fact" #43:
    Synchronet added Baja/PCMS support with v2.00a (1994).
    Norco, CA WX: 60.3oF, 65.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From KenDB3@1:103/705 to Digital Man on Fri Dec 1 21:54:26 2017
    Re: sbbsctrl.exe crashes
    By: Digital Man to KenDB3 on Thu Nov 30 2017 08:51 pm

    Rob,

    I don't know if you (or maybe if anyone else) has noticed this
    happening, but after recent CVS updates I am getting some crashes with
    sbbsctrl.exe. I am not sure if it was the updates I did from the 28th
    or the 29th that started it.

    That was helpful helpful. I think the problem is fixed now (in MsgBase.get_msg_header) in CVS and will be included in tomorrow morning's build. Thanks,

    That totally did the trick! No more crash after it loads up.

    Another "fun" one. I tried to reply to this particular message initially through the Runemaster Web interface, and ran into this:

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message header has 'expanded fields'

    I basically could not open this one message, but others worked fine oddly enough.

    URL which may not be helpful since it is in the Sync Sysop Only area: http://bbs.kd3.us/msgs/msg.ssjs?msg_sub=sync_sys&message=12239

    The message opens just fine from the Terminal interface. For reference, I am using Nightfox's message reader in the terminal if that makes a difference.

    ~KenDB3

    ---
    * Synchronet * KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From KenDB3@1:103/705 to Digital Man on Fri Dec 1 21:59:45 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 09:54 pm

    Another "fun" one. I tried to reply to this particular message initially through the Runemaster Web interface, and ran into this:

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message header has 'expanded fields'

    I basically could not open this one message, but others worked fine oddly enough.

    URL which may not be helpful since it is in the Sync Sysop Only area: http://bbs.kd3.us/msgs/msg.ssjs?msg_sub=sync_sys&message=12239

    The message opens just fine from the Terminal interface. For reference, I am using Nightfox's message reader in the terminal if that makes a difference.

    Ok, let me tack this on from my logs...

    12/1 09:54:26p Node 1 KenDB3 posted on DOVE-Net Synchronet Sysops Only
    12/1 09:54:32p Node 1 !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header has 'expanded fields'
    12/1 09:54:40p Node 1 disconnecting client

    ~KenDB3

    ---
    * Synchronet * KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to KenDB3 on Sat Dec 2 00:28:00 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 21:54:26

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message header has 'expanded fields'

    If you're feeling adventurous, you could try editing line 99 of that file:

    template.hdr=msgbase.get_msg_header(false,m);

    And change it to:

    template.hdr=msgbase.get_msg_header(false,m,false);

    Might fix the problem, might introduce new ones (though at a quick glance I don't think it will).

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From KenDB3@1:103/705 to echicken on Sat Dec 2 00:56:52 2017
    Re: sbbsctrl.exe crashes
    By: echicken to KenDB3 on Sat Dec 02 2017 12:28 am

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message
    header has 'expanded fields'

    If you're feeling adventurous, you could try editing line 99 of that file:

    template.hdr=msgbase.get_msg_header(false,m);

    And change it to:

    template.hdr=msgbase.get_msg_header(false,m,false);

    Might fix the problem, might introduce new ones (though at a quick glance I don't think it will).

    Looks like that worked. No odd behaviour otherwise, so looks like a win :-)

    ~KenDB3

    ---
    * Synchronet * KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to KenDB3 on Sat Dec 2 00:40:53 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 09:54 pm

    Re: sbbsctrl.exe crashes
    By: Digital Man to KenDB3 on Thu Nov 30 2017 08:51 pm

    Rob,

    I don't know if you (or maybe if anyone else) has noticed this
    happening, but after recent CVS updates I am getting some crashes with
    sbbsctrl.exe. I am not sure if it was the updates I did from the 28th
    or the 29th that started it.

    That was helpful helpful. I think the problem is fixed now (in MsgBase.get_msg_header) in CVS and will be included in tomorrow morning's build. Thanks,

    That totally did the trick! No more crash after it loads up.

    Okay, good.

    Another "fun" one. I tried to reply to this particular message initially through the Runemaster Web interface, and ran into this:

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message header has 'expanded fields'

    I basically could not open this one message, but others worked fine oddly enough.

    I'll look into it, but it's basically a new "feature" of the MsgBase class that it won't "let" JS script do something they weren't supposed to in the first place (write-back a msg header that was read with expanded header fields). So, it's probably a bug in the msg.ssjs. I'll take a look.

    digital man

    Synchronet "Real Fact" #29:
    Rob Swindell first called BBSes (at 300bps) with an Apple II computer in 1982. Norco, CA WX: 58.8oF, 71.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Sat Dec 2 00:49:09 2017
    Re: sbbsctrl.exe crashes
    By: echicken to KenDB3 on Sat Dec 02 2017 12:28 am

    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 21:54:26

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message header has 'expanded fields'

    If you're feeling adventurous, you could try editing line 99 of that file:

    template.hdr=msgbase.get_msg_header(false,m);

    And change it to:

    template.hdr=msgbase.get_msg_header(false,m,false);

    Might fix the problem, might introduce new ones (though at a quick glance I don't think it will).

    Thanks! I committed it. We're probably going to find more of those now. :-)_

    digital man

    Synchronet/BBS Terminology Definition #10:
    CVS = Concurrent Versioning System
    Norco, CA WX: 58.8oF, 71.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to KenDB3 on Sat Dec 2 00:50:33 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 09:59 pm

    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 09:54 pm

    Another "fun" one. I tried to reply to this particular message initially through the Runemaster Web interface, and ran into this:

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message header has 'expanded fields'

    I basically could not open this one message, but others worked fine oddly enough.

    URL which may not be helpful since it is in the Sync Sysop Only area: http://bbs.kd3.us/msgs/msg.ssjs?msg_sub=sync_sys&message=12239

    The message opens just fine from the Terminal interface. For reference, I am using Nightfox's message reader in the terminal if that makes a difference.

    Ok, let me tack this on from my logs...

    12/1 09:54:26p Node 1 KenDB3 posted on DOVE-Net Synchronet Sysops Only
    12/1 09:54:32p Node 1 !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header has 'expanded fields'
    12/1 09:54:40p Node 1 disconnecting client

    Looks like something Nightfox needs to look into. The updated MsgBase class catches this misuse now (rather than sometimes fail to modify the base with an obscure error later).

    digital man

    Synchronet "Real Fact" #67:
    SEXYZ is as a 32-bit replacement for [F]DSZ, CE-XYZ and other protocol drivers. Norco, CA WX: 58.8oF, 71.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to KenDB3 on Mon Dec 4 12:43:54 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 09:54 pm

    !JavaScript c:\sbbs\web\root\msgs\msg.ssjs line 104: Error: Message header has 'expanded fields'

    The message opens just fine from the Terminal interface. For reference, I am using Nightfox's message reader in the terminal if that makes a difference.

    I noticed that error in my message reader recently after updating binaries on the 1st. I've implemented a fix but haven't checked it in or made it available for download yet. I want to refine it somewhat first and then I'll make it available.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Digital Man on Mon Dec 4 12:45:20 2017
    Re: sbbsctrl.exe crashes
    By: Digital Man to KenDB3 on Sat Dec 02 2017 12:50 am

    Only 12/1 09:54:32p Node 1 !JavaScript
    ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header
    has 'expanded fields' 12/1 09:54:40p Node 1 disconnecting client

    Looks like something Nightfox needs to look into. The updated MsgBase class catches this misuse now (rather than sometimes fail to modify the base with an obscure error later).

    Yeah, I noticed that after updating my Synchronet binaries on the 1st. I've implemented a fix but haven't made it available yet (which I plan to do fairly soon).

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nightfox on Mon Dec 4 17:28:23 2017
    Re: sbbsctrl.exe crashes
    By: Nightfox to Digital Man on Mon Dec 04 2017 12:45 pm

    Re: sbbsctrl.exe crashes
    By: Digital Man to KenDB3 on Sat Dec 02 2017 12:50 am

    Only 12/1 09:54:32p Node 1 !JavaScript
    ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header
    has 'expanded fields' 12/1 09:54:40p Node 1 disconnecting client

    Looks like something Nightfox needs to look into. The updated MsgBase class catches this misuse now (rather than sometimes fail to modify the base with an obscure error later).

    Yeah, I noticed that after updating my Synchronet binaries on the 1st. I've implemented a fix but haven't made it available yet (which I plan to do fairly soon).

    That should also fix the reported "illegal header length increase" error.

    digital man

    Synchronet "Real Fact" #26:
    The Synchronet Web Server was written predominantly by Stephen Hurd (Deuce). Norco, CA WX: 58.0oF, 16.0% humidity, 10 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Digital Man on Mon Dec 4 18:59:12 2017
    Re: sbbsctrl.exe crashes
    By: Digital Man to Nightfox on Mon Dec 04 2017 05:28 pm

    Only 12/1 09:54:32p Node 1 !JavaScript
    ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header
    has 'expanded fields' 12/1 09:54:40p Node 1 disconnecting client

    Looks like something Nightfox needs to look into. The updated
    MsgBase class catches this misuse now (rather than sometimes fail
    to modify the base with an obscure error later).

    Yeah, I noticed that after updating my Synchronet binaries on the 1st.
    I've implemented a fix but haven't made it available yet (which I plan
    to do fairly soon).

    That should also fix the reported "illegal header length increase" error.

    I figured that would probably be the case.

    Interestingly, I was only seeing the "illegal header length increase" error occasionally; it wasn't happening every time like the "expanded fields" error was now showing every time with the builds from the past couple days.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nightfox on Mon Dec 4 19:26:26 2017
    Re: sbbsctrl.exe crashes
    By: Nightfox to Digital Man on Mon Dec 04 2017 06:59 pm

    Re: sbbsctrl.exe crashes
    By: Digital Man to Nightfox on Mon Dec 04 2017 05:28 pm

    Only 12/1 09:54:32p Node 1 !JavaScript
    ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header >>> has 'expanded fields' 12/1 09:54:40p Node 1 disconnecting client

    Looks like something Nightfox needs to look into. The updated
    MsgBase class catches this misuse now (rather than sometimes fail DM>> to modify the base with an obscure error later).

    Yeah, I noticed that after updating my Synchronet binaries on the 1st.
    I've implemented a fix but haven't made it available yet (which I plan
    to do fairly soon).

    That should also fix the reported "illegal header length increase" error.

    I figured that would probably be the case.

    Interestingly, I was only seeing the "illegal header length increase" error occasionally; it wasn't happening every time like the "expanded fields" error was now showing every time with the builds from the past couple days.

    Yes, that would be expected. If you call MsgBase.get_msg_header() without specifying 'false' for the expand_fields argument and *then* write that same header back to the message base using put_msg_header(), the msg header will require more storage because of the now-expanded fields. If the new header storage requires more allocation units (256-byte blocks) than the original msg header, then the SMB library will refuse to save the changes to the msgbase (simply put: you can't do that). So... depending on how many bytes the original header took and the now-expanded header would take and whether the difference crosses a block boundary, you would get that "illegal header length increase" error. And since the msg headers include variable length fields (like to/from/subject), there are many variances in the number of bytes (and thus blocks) required to store msg headers.

    digital man

    Synchronet/BBS Terminology Definition #4:
    BBS = Bulletin Board System
    Norco, CA WX: 56.0oF, 16.0% humidity, 12 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to KenDB3 on Wed Dec 6 15:12:08 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 09:59 pm

    The message opens just fine from the Terminal interface. For
    reference, I am using Nightfox's message reader in the terminal if
    that makes a difference.

    Ok, let me tack this on from my logs...

    12/1 09:54:26p Node 1 KenDB3 posted on DOVE-Net Synchronet Sysops Only 12/1 09:54:32p Node 1 !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header has 'expanded fields'
    12/1 09:54:40p Node 1 disconnecting client

    I made a fix to my message reader. The latest update is in the Synchronet CVS in xtrn/DDMsgReader.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From KenDB3@1:103/705 to Nightfox on Wed Dec 6 22:42:28 2017
    Re: sbbsctrl.exe crashes
    By: KenDB3 to Digital Man on Fri Dec 01 2017 09:59 pm

    The message opens just fine from the Terminal interface. For
    reference, I am using Nightfox's message reader in the terminal if
    that makes a difference.

    Ok, let me tack this on from my logs...

    12/1 09:54:26p Node 1 KenDB3 posted on DOVE-Net Synchronet Sysops Only 12/1 09:54:32p Node 1 !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 4494: Error: Message header has 'expanded fields'
    12/1 09:54:40p Node 1 disconnecting client

    I made a fix to my message reader. The latest update is in the Synchronet CVS in xtrn/DDMsgReader.

    Nightfox

    Thanks! I grabbed it and it seems to have stopped that error.

    ~KenDB3

    ---
    * Synchronet * KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)