• birthdaylist.js

    From DesotoFireflite@1:103/705 to All on Sat May 14 12:29:15 2022
    Hi Rob

    Can you think of any reason birthdaylist.js would just stop working. It was working fine up to yesterday, and wam, it just locks up the system. You can see the curser blinking on the remote end, and that's it. It's not throwing any errors, it just locks up everytime. I have not made any changes or added anything to the system in several weeks, so I can rule out operator error on my part. I had one new user log in and register 0n 5/13/2022, and I noticed it stopped working after that. I don't see anything in his settings that would cause a problem. He did use a birthdate of 19810101, so I changed that thinking that may be the problem, and no change. I've also tried to use it using the sysop ;EXEC command, and it just locks up the system also. For now I have just removed it, but I'd like to solve the issue. Since it's not throwing any errors, is there a way to debug it that would be easy for me to see what is going on. Thanks in advance.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- FART(n): An audio test of one's waste-disposal system.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Sun May 15 23:02:30 2022
    Re: birthdaylist.js
    By: DesotoFireflite to All on Sat May 14 2022 12:29 pm

    Hi Rob

    Can you think of any reason birthdaylist.js would just stop working. It was working fine up to yesterday, and wam, it just locks up the system.

    And by "the system", I'm guessing you just mean the current node.

    You can
    see the curser blinking on the remote end, and that's it. It's not throwing any errors, it just locks up everytime.

    Do you get the same behavior when running it using jsexec?

    I have not made any changes or added
    anything to the system in several weeks, so I can rule out operator error on my part. I had one new user log in and register 0n 5/13/2022, and I noticed it stopped working after that. I don't see anything in his settings that would cause a problem. He did use a birthdate of 19810101, so I changed that thinking that may be the problem, and no change. I've also tried to use it using the sysop ;EXEC command, and it just locks up the system also. For now I have just removed it, but I'd like to solve the issue. Since it's not throwing any errors, is there a way to debug it that would be easy for me to see what is going on. Thanks in advance.

    No immediate ideas. I probably start adding log() lines to exec/birthdaylist.js and load/birthdays.js to find out exactly where is locking or infinite-looping (more likely).
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #10:
    BSO = Binkley Style Outbound
    Norco, CA WX: 63.7øF, 61.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Mon May 16 14:37:21 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Sun May 15 2022 11:02 pm

    Re: birthdaylist.js
    By: DesotoFireflite to All on Sat May 14 2022 12:29 pm
    Can you think of any reason birthdaylist.js would just stop working.
    It was working fine up to yesterday, and wam, it just locks up the
    system.

    And by "the system", I'm guessing you just mean the current node.

    Yes, just the node. Sorry, I should have said that

    You can
    see the curser blinking on the remote end, and that's it. It's not
    throwing any errors, it just locks up everytime.

    Do you get the same behavior when running it using jsexec?

    Yes, heres a screen print. it gets to the last line, then locks
    up the window with the curser blinking a "-" just under the last line.

    C:\SBBS\exec>jsexec birthdaylist

    JSexec v3.19c-Win32 master/0b34b299a - Execute Synchronet
    Compiled Mar 20 2022 05:05:47 with MSC 1929

    Loading configuration files from C:\sbbs\ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 167772160 bytes

    Reading script from C:\SBBS\exec\birthdaylist.js
    C:\SBBS\exec\birthdaylist.js compiled in 0.00 seconds

    I have not made any changes or added
    anything to the system in several weeks, so I can rule out operator
    error on my part. I had one new user log in and register 0n 5/13/2022,
    and I noticed it stopped working after that. I don't see anything in
    his settings that would cause a problem. He did use a birthdate of
    19810101, so I changed that thinking that may be the problem, and no
    change. I've also tried to use it using the sysop ;EXEC command, and
    it just locks up the system also. For now I have just removed it, but
    I'd like to solve the issue. Since it's not throwing any errors, is
    there a way to debug it that would be easy for me to see what is going
    on. Thanks in advance.

    No immediate ideas. I probably start adding log() lines to exec/birthdaylist.js and load/birthdays.js to find out exactly where is locking or infinite-looping (more likely).

    Can you give me an example of a good log line. Still learning the js Stuff. Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Fartvergnugen: The pleasure of breaking wind.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Mon May 16 11:47:51 2022
    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Mon May 16 2022 02:37 pm

    You can
    see the curser blinking on the remote end, and that's it. It's not
    throwing any errors, it just locks up everytime.

    Do you get the same behavior when running it using jsexec?

    Yes, heres a screen print. it gets to the last line, then locks
    up the window with the curser blinking a "-" just under the last line.

    C:\SBBS\exec>jsexec birthdaylist

    JSexec v3.19c-Win32 master/0b34b299a - Execute Synchronet
    Compiled Mar 20 2022 05:05:47 with MSC 1929

    Loading configuration files from C:\sbbs\ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 167772160 bytes

    Reading script from C:\SBBS\exec\birthdaylist.js C:\SBBS\exec\birthdaylist.js compiled in 0.00 seconds

    Okay, and then it just sits/spins at that point?

    I have not made any changes or added
    anything to the system in several weeks, so I can rule out operator
    error on my part. I had one new user log in and register 0n 5/13/2022,
    and I noticed it stopped working after that. I don't see anything in
    his settings that would cause a problem. He did use a birthdate of
    19810101, so I changed that thinking that may be the problem, and no
    change. I've also tried to use it using the sysop ;EXEC command, and
    it just locks up the system also. For now I have just removed it, but
    I'd like to solve the issue. Since it's not throwing any errors, is
    there a way to debug it that would be easy for me to see what is going
    on. Thanks in advance.

    No immediate ideas. I probably start adding log() lines to exec/birthdaylist.js and load/birthdays.js to find out exactly where is locking or infinite-looping (more likely).

    Can you give me an example of a good log line. Still learning the js Stuff.

    Okay, here's an example (to birthdaylist.js):

    log("Loading birthdays.js"); // added
    var list = load({}, "birthdays.js", month, day);
    log("Loaded birthdays.js"); // added

    So when run 'jsexec birthdaylist' here with those added log lines:

    Reading script from /sbbs/exec/birthdaylist.js
    /sbbs/exec/birthdaylist.js compiled in 0.00 seconds
    Loading birthdays.js
    Loaded birthdays.js
    45 Vertrauen users with birthdays in May:
    ...
    --
    digital man (rob)

    Breaking Bad quote #5:
    Sometimes the forbidden fruit tastes the sweetest. - Hank Schrader
    Norco, CA WX: 71.1øF, 59.0% humidity, 7 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Tue May 17 16:15:35 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Mon May 16 2022 11:47 am

    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Mon May 16 2022 02:37 pm

    Do you get the same behavior when running it using jsexec?
    C:\SBBS\exec>jsexec birthdaylist

    JSexec v3.19c-Win32 master/0b34b299a - Execute Synchronet
    Compiled Mar 20 2022 05:05:47 with MSC 1929

    Loading configuration files from C:\sbbs\ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 167772160 bytes

    Reading script from C:\SBBS\exec\birthdaylist.js
    C:\SBBS\exec\birthdaylist.js compiled in 0.00 seconds

    Okay, and then it just sits/spins at that point?

    Yes, just sit's and spins

    No immediate ideas. I probably start adding log() lines to
    exec/birthdaylist.js and load/birthdays.js to find out exactly
    where is locking or infinite-looping (more likely).

    Okay, here's an example (to birthdaylist.js):

    log("Loading birthdays.js"); // added
    var list = load({}, "birthdays.js", month, day);
    log("Loaded birthdays.js"); // added

    So when run 'jsexec birthdaylist' here with those added log lines:

    Reading script from /sbbs/exec/birthdaylist.js
    /sbbs/exec/birthdaylist.js compiled in 0.00 seconds
    Loading birthdays.js
    Loaded birthdays.js
    45 Vertrauen users with birthdays in May:

    Ok, i put the log lines in as you suggested, and the problem seems to be in birthdays.js, as it tries to load birthdays.js then it locks up. see log output below. It never got to the second part.

    5/17 03:47:39p Node 1 <DesotoFireflite> Executing external: ?birthdaylist
    5/17 03:47:39p Node 1 <DesotoFireflite> Loading birthdays.js

    Seeing this, I tried to jsexec c:\sbbs\exec\load\birthdays.js, and it did the same thing, locked up, curser sits and spins.

    I just don't understand why the program worked flawlessley for months on end, then stops on the 12th with a new user logs in. Also, I checked, windows did an update late on the 12th also, just discovered this today.

    As always, thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Tue May 17 14:51:18 2022
    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Tue May 17 2022 04:15 pm

    No immediate ideas. I probably start adding log() lines to
    exec/birthdaylist.js and load/birthdays.js to find out exactly
    where is locking or infinite-looping (more likely).

    Okay, here's an example (to birthdaylist.js):

    log("Loading birthdays.js"); // added
    var list = load({}, "birthdays.js", month, day);
    log("Loaded birthdays.js"); // added

    So when run 'jsexec birthdaylist' here with those added log lines:

    Reading script from /sbbs/exec/birthdaylist.js /sbbs/exec/birthdaylist.js compiled in 0.00 seconds
    Loading birthdays.js
    Loaded birthdays.js
    45 Vertrauen users with birthdays in May:

    Ok, i put the log lines in as you suggested, and the problem seems to be in birthdays.js, as it tries to load birthdays.js then it locks up. see log output below. It never got to the second part.

    5/17 03:47:39p Node 1 <DesotoFireflite> Executing external: ?birthdaylist
    5/17 03:47:39p Node 1 <DesotoFireflite> Loading birthdays.js

    Seeing this, I tried to jsexec c:\sbbs\exec\load\birthdays.js, and it did the same thing, locked up, curser sits and spins.

    Okay, but with birthdays.js runs correct, it's not going to display anything to the console either. Best to just continue testing by invoking birthdaylist.js.

    I just don't understand why the program worked flawlessley for months on end, then stops on the 12th with a new user logs in. Also, I checked, windows did an update late on the 12th also, just discovered this today.

    As always, thanks

    The next step is to add some log() lines to load/birthdays.js and let me know what's displayed before the hang:

    function birthdays(month, day)
    {
    var u = new User;
    log("getting total_users"); // added
    var lastuser = system.stats.total_users;
    log("got total_users: " + lastuser); // added
    var list = [];
    month = parseInt(month, 10) + 1;
    for(u.number = 1; u.number <= lastuser; u.number++) {
    if(u.settings&(USER_DELETED|USER_INACTIVE))
    continue;
    if(u.security.restrictions&(UFLAG_Q|UFLAG_G))
    continue;
    if(u.birthmonth != month)
    continue;
    if(day && u.birthday != day)
    continue;
    log("Adding to list: " + u.number); // added
    list.push(u.number);
    }
    return list;
    }
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #56:
    NUP = New User Password
    Norco, CA WX: 73.3øF, 52.0% humidity, 11 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Wed May 18 12:09:41 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Tue May 17 2022 02:51 pm

    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Tue May 17 2022 04:15 pm

    No immediate ideas. I probably start adding log() lines to
    exec/birthdaylist.js and load/birthdays.js to find out exactly
    where is locking or infinite-looping (more likely).

    Okay, here's an example (to birthdaylist.js):

    log("Loading birthdays.js"); // added
    var list = load({}, "birthdays.js", month, day);
    log("Loaded birthdays.js"); // added

    So when run 'jsexec birthdaylist' here with those added log lines:

    Reading script from /sbbs/exec/birthdaylist.js
    /sbbs/exec/birthdaylist.js compiled in 0.00 seconds
    Loading birthdays.js
    Loaded birthdays.js
    45 Vertrauen users with birthdays in May:

    Ok, i put the log lines in as you suggested, and the problem seems to
    be in birthdays.js, as it tries to load birthdays.js then it locks up.
    see log output below. It never got to the second part.

    5/17 03:47:39p Node 1 <DesotoFireflite> Executing external:
    ?birthdaylist
    5/17 03:47:39p Node 1 <DesotoFireflite> Loading birthdays.js

    Seeing this, I tried to jsexec c:\sbbs\exec\load\birthdays.js, and it
    did the same thing, locked up, curser sits and spins.

    Okay, but with birthdays.js runs correct, it's not going to display anything to the console either. Best to just continue testing by invoking birthdaylist.js.

    I just don't understand why the program worked flawlessley for months
    on end, then stops on the 12th with a new user logs in. Also, I
    checked, windows did an update late on the 12th also, just discovered
    this today.

    As always, thanks

    The next step is to add some log() lines to load/birthdays.js and let me know what's displayed before the hang:

    function birthdays(month, day)
    {
    var u = new User;
    log("getting total_users"); // added
    var lastuser = system.stats.total_users;
    log("got total_users: " + lastuser); // added
    var list = [];
    month = parseInt(month, 10) + 1;
    for(u.number = 1; u.number <= lastuser; u.number++) { if(u.settings&(USER_DELETED|USER_INACTIVE))
    continue;
    if(u.security.restrictions&(UFLAG_Q|UFLAG_G))
    continue;
    if(u.birthmonth != month)
    continue;
    if(day && u.birthday != day)
    continue;
    log("Adding to list: " + u.number); // added
    list.push(u.number);
    }
    return list;
    }

    Heres what I get: I think we found the infinate loop you were talking
    about (big sigh)

    5/18 11:51:23a Node 1 <DesotoFireflite> Loading birthdays.js
    5/18 11:51:23a Node 1 <DesotoFireflite> getting total_users
    5/18 11:51:23a Node 1 <DesotoFireflite> got total_users: 286

    This section below keeps repeating over and over the same thing till I shut down the system. It won't let me exit.

    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 249
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 265
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 270
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 12
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 37
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 39
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 41
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 42
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 60
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 84
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 91
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 109
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 129
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 146
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 170
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 175
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 197
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 202
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 203
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 211



    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Wed May 18 12:10:58 2022
    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Wed May 18 2022 12:09 pm

    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Tue May 17 2022 02:51 pm

    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Tue May 17 2022 04:15 pm

    No immediate ideas. I probably start adding log() lines to
    exec/birthdaylist.js and load/birthdays.js to find out exactly DM>>> where is locking or infinite-looping (more likely).

    Okay, here's an example (to birthdaylist.js):

    log("Loading birthdays.js"); // added
    var list = load({}, "birthdays.js", month, day);
    log("Loaded birthdays.js"); // added

    So when run 'jsexec birthdaylist' here with those added log lines:

    Reading script from /sbbs/exec/birthdaylist.js
    /sbbs/exec/birthdaylist.js compiled in 0.00 seconds
    Loading birthdays.js
    Loaded birthdays.js
    45 Vertrauen users with birthdays in May:

    Ok, i put the log lines in as you suggested, and the problem seems to
    be in birthdays.js, as it tries to load birthdays.js then it locks up.
    see log output below. It never got to the second part.

    5/17 03:47:39p Node 1 <DesotoFireflite> Executing external:
    ?birthdaylist
    5/17 03:47:39p Node 1 <DesotoFireflite> Loading birthdays.js

    Seeing this, I tried to jsexec c:\sbbs\exec\load\birthdays.js, and it
    did the same thing, locked up, curser sits and spins.

    Okay, but with birthdays.js runs correct, it's not going to display anything to the console either. Best to just continue testing by invoking birthdaylist.js.

    I just don't understand why the program worked flawlessley for months
    on end, then stops on the 12th with a new user logs in. Also, I
    checked, windows did an update late on the 12th also, just discovered
    this today.

    As always, thanks

    The next step is to add some log() lines to load/birthdays.js and let me know what's displayed before the hang:

    function birthdays(month, day)
    {
    var u = new User;
    log("getting total_users"); // added
    var lastuser = system.stats.total_users;
    log("got total_users: " + lastuser); // added
    var list = [];
    month = parseInt(month, 10) + 1;
    for(u.number = 1; u.number <= lastuser; u.number++) { if(u.settings&(USER_DELETED|USER_INACTIVE))
    continue;
    if(u.security.restrictions&(UFLAG_Q|UFLAG_G))
    continue;
    if(u.birthmonth != month)
    continue;
    if(day && u.birthday != day)
    continue;
    log("Adding to list: " + u.number); // added
    list.push(u.number);
    }
    return list;
    }

    Heres what I get: I think we found the infinate loop you were talking
    about (big sigh)

    5/18 11:51:23a Node 1 <DesotoFireflite> Loading birthdays.js
    5/18 11:51:23a Node 1 <DesotoFireflite> getting total_users
    5/18 11:51:23a Node 1 <DesotoFireflite> got total_users: 286

    This section below keeps repeating over and over the same thing till I shut down the system. It won't let me exit.

    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 249
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 265
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 270
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 12

    Okay, so it climbs to 270 and then jumps back down to 12? That definitely sounds like a bug.

    Do you mind sending me (ftp or email) your system's user.dat file so I can reproduce and fix the issue? I'll delete it when I'm done. If you're not okay with that, then we can try to work out some other ways of debugging this, but I definitely would like to root-cause and fix it.
    --
    digital man (rob)

    Synchronet "Real Fact" #15:
    SBBSecho was introduced (replacing SBBSFIDO) for Synchronet v2 in 1994
    Norco, CA WX: 69.0øF, 67.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Wed May 18 12:46:28 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 12:10 pm

    This section below keeps repeating over and over the same thing till I shut down the system. It won't let me exit.

    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 249
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 265
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 270
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 12

    Okay, so it climbs to 270 and then jumps back down to 12? That definitely sounds like a bug.

    Please try running 'jsexec userlist' and let me know if you encounter a similar infinite loop. It has very similar logic to birthdays.js.
    --
    digital man (rob)

    Rush quote #73:
    He's wise enough to win the world, but fool enough to lose it ... New World Man Norco, CA WX: 72.9øF, 60.0% humidity, 6 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Wed May 18 16:30:13 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 12:10 pm

    Okay, so it climbs to 270 and then jumps back down to 12? That definitely sounds like a bug.

    Do you mind sending me (ftp or email) your system's user.dat file so I can reproduce and fix the issue? I'll delete it when I'm done. If you're not okay with that, then we can try to work out some other ways of debugging this, but I definitely would like to root-cause and fix it.

    I just sent it to you on your bbs. val_user.zip Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Wed May 18 16:31:22 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 12:46 pm

    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 12:10 pm

    This section below keeps repeating over and over the same thing till
    I shut down the system. It won't let me exit.

    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 249
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 265
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 270
    5/18 11:51:23a Node 2 <DesotoFireflite> Adding to list: 12

    Okay, so it climbs to 270 and then jumps back down to 12? That
    definitely sounds like a bug.

    Please try running 'jsexec userlist' and let me know if you encounter a similar infinite loop. It has very similar logic to birthdays.js.

    That ran fine, listed all the users.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Wed May 18 15:34:07 2022
    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Wed May 18 2022 04:30 pm

    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 12:10 pm

    Okay, so it climbs to 270 and then jumps back down to 12? That definitely sounds like a bug.

    Do you mind sending me (ftp or email) your system's user.dat file so I can reproduce and fix the issue? I'll delete it when I'm done. If you're not okay with that, then we can try to work out some other ways of debugging this, but I definitely would like to root-cause and fix it.

    I just sent it to you on your bbs. val_user.zip Thanks

    Thank you! Was able to reproduce and fix. I'm not sure why it was only your userbase that reproduced it, but it was a legit bug!
    --
    digital man (rob)

    Rush quote #43:
    Summers going fast nights growing colder children growing up old friends, older Norco, CA WX: 76.0øF, 55.0% humidity, 6 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Wed May 18 19:26:46 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 03:34 pm

    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Wed May 18 2022 04:30 pm

    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 12:10 pm

    Okay, so it climbs to 270 and then jumps back down to 12? That
    definitely sounds like a bug.

    Do you mind sending me (ftp or email) your system's user.dat file
    so I can reproduce and fix the issue? I'll delete it when I'm
    done. If you're not okay with that, then we can try to work out
    some other ways of debugging this, but I definitely would like to
    root-cause and fix it.

    I just sent it to you on your bbs. val_user.zip Thanks

    Thank you! Was able to reproduce and fix. I'm not sure why it was only your userbase that reproduced it, but it was a legit bug!

    Thanks Rob, I'll do an update this week, and let you know how it does.
    Again, thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Wed May 18 18:42:13 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 03:34 pm

    Re: birthdaylist.js
    By: DesotoFireflite to Digital Man on Wed May 18 2022 04:30 pm

    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 12:10 pm

    Okay, so it climbs to 270 and then jumps back down to 12? That definitely sounds like a bug.

    Do you mind sending me (ftp or email) your system's user.dat file so I can reproduce and fix the issue? I'll delete it when I'm done. If you're not okay with that, then we can try to work out some other ways of debugging this, but I definitely would like to root-cause and fix it.

    I just sent it to you on your bbs. val_user.zip Thanks

    Thank you! Was able to reproduce and fix. I'm not sure why it was only your userbase that reproduced it, but it was a legit bug!

    So I got the bottom of it and there was a bug in load/birthdays.js as well (which caused the issue to *not* occur on systems with at least one deleted or inactive user record). So good find! Thanks for the issue report and patience to work through it.
    --
    digital man (rob)

    This Is Spinal Tap quote #30:
    Big bottom, big bottom / Talk about mud flaps, my girl's got 'em!
    Norco, CA WX: 74.4øF, 57.0% humidity, 7 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Fri May 20 08:55:51 2022
    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 06:42 pm

    Re: birthdaylist.js
    By: Digital Man to DesotoFireflite on Wed May 18 2022 03:34 pm

    Thank you! Was able to reproduce and fix. I'm not sure why it was only
    your userbase that reproduced it, but it was a legit bug!

    So I got the bottom of it and there was a bug in load/birthdays.js as well (which caused the issue to *not* occur on systems with at least one deleted or inactive user record). So good find! Thanks for the issue report and patience to work through it.

    Works like a charm. It was indeed a two part problem. I tried loading the new load/birthdays.js without doing the update, and got the same issue, but after doing the update, all is fine, and working well. Thanks so much.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)