• Occasional crashing when

    From Nightfox@VERT/DIGDIST to Digital Man on Sun Nov 10 06:13:00 2013
    Hi DM,

    Is there any potential risk of working with the message base (using the MsgBase class) in JavaScript at the same time Synchronet changes the message base (for example, when new messages come into a networked sub-board)? I'm asking because I have a message lister/reader script that I've written in JavaScript, and occasionally I've seen Synchronet crash when I'm using it - particularly, when I select a message to read or reply to. It doesn't happen consistently, but my current guess is that it might crash when new messages come into the sub-board or message group that I'm browsing. It seems to be crashing more frequently with the recent 3.16 builds (I'm currently using 3.16 for Win32 built on November 3rd).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Tue Nov 19 15:04:00 2013
    Re: Occasional crashing when working with MsgBase
    By: Nightfox to Digital Man on Sun Nov 10 2013 11:13 am

    Hi DM,

    Is there any potential risk of working with the message base (using the MsgBase class) in JavaScript at the same time Synchronet changes the
    message base (for example, when new messages come into a networked sub-board)?

    There's not supposed to be.

    I'm asking because I have a message lister/reader script that
    I've written in JavaScript, and occasionally I've seen Synchronet crash
    when I'm using it - particularly, when I select a message to read or reply to. It doesn't happen consistently, but my current guess is that it might crash when new messages come into the sub-board or message group that I'm browsing. It seems to be crashing more frequently with the recent 3.16 builds (I'm currently using 3.16 for Win32 built on November 3rd).

    If you could run a debug build and provide a call stack trace, that would be very helpful (and likely lead to the problem being quickly resolved).

    digital man

    Synchronet "Real Fact" #82:
    Donations to the Synchronet project are welcome @ http://wiki.synchro.net/donate
    Norco, CA WX: 56.6øF, 81.0% humidity, 3 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Nov 23 18:41:00 2013
    Re: Occasional crashing when working with MsgBase
    By: Digital Man to Nightfox on Tue Nov 19 2013 20:04:11

    If you could run a debug build and provide a call stack trace, that
    would be very helpful (and likely lead to the problem being quickly resolved).

    I downloaded the 3rdp and src directories from CVS and loaded sbbs3.sln (in src\sbbs3) in Visual Studio 2010. I tried building the solution in debug mode, but I got a link error, in the sbbsecho project:
    32 error LNK1104: cannot open file '.\msvc.win32.debug\sbbsecho\sbbsecho.map'

    Any tips?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From Curly@VERT/TSGC to Nightfox on Sun Nov 24 06:16:00 2013
    Re: Occasional crashing when working with MsgBase
    By: Nightfox to Digital Man on Sat Nov 23 2013 11:41 pm

    Subject: Occasional crashing when working with MsgBase
    @VIA: DIGDIST
    @MSGID: <52919FAE.1403.dove_sync_js@digitaldistortionbbs.com>
    @REPLY: <528C34BB.1421.sync-js@vert.synchro.net>
    @TZ: 41e0
    Re: Occasional crashing when working with MsgBase
    By: Digital Man to Nightfox on Tue Nov 19 2013 20:04:11

    If you could run a debug build and provide a call stack trace, that would be very helpful (and likely lead to the problem being quickly resolved).

    I downloaded the 3rdp and src directories from CVS and loaded sbbs3.sln (in src\sbbs3) in Visual Studio 2010. I tried building the solution in debug mo but I got a link error, in the sbbsecho project:
    32 error LNK1104: cannot open file '.\msvc.win32.debug\sbbsecho\sbbsecho.map

    Any tips?

    Nightfox


    hmm, did it build the file?
    a map is generated on a build.

    "Practise safe Lunch, Use a Condiment"


    ---
    þ Synchronet þ Three Stooges - Las Vegas, Nv - tsgc.synchro.net
  • From Nightfox@VERT/DIGDIST to Curly on Sun Nov 24 06:52:00 2013
    Re: Occasional crashing when working with MsgBase
    By: Curly to Nightfox on Sun Nov 24 2013 11:16:10

    sbbs3.sln (in src\sbbs3) in Visual Studio 2010. I tried building the
    solution in debug mo but I got a link error, in the sbbsecho project:
    32 error LNK1104: cannot open file
    '.\msvc.win32.debug\sbbsecho\sbbsecho.map

    hmm, did it build the file?
    a map is generated on a build.

    There is a sbbsecho.map in my msvc.win32.debug\sbbsecho directory after building, but it has a size of 0.. So it appears that it's being generated, but it's empty.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From Curly@VERT/TSGC to Nightfox on Sun Nov 24 09:39:00 2013
    Re: Occasional crashing when working with MsgBase
    By: Nightfox to Curly on Sun Nov 24 2013 11:52 am

    Subject: Occasional crashing when working with MsgBase
    @VIA: DIGDIST
    @MSGID: <52924AE4.1405.dove_sync_js@digitaldistortionbbs.com>
    @REPLY: <5292507A.1181.syncjava@tsgc.synchro.net>
    @TZ: 41e0
    Re: Occasional crashing when working with MsgBase
    By: Curly to Nightfox on Sun Nov 24 2013 11:16:10

    sbbs3.sln (in src\sbbs3) in Visual Studio 2010. I tried building the
    solution in debug mo but I got a link error, in the sbbsecho project:
    32 error LNK1104: cannot open file
    '.\msvc.win32.debug\sbbsecho\sbbsecho.map

    hmm, did it build the file?
    a map is generated on a build.

    There is a sbbsecho.map in my msvc.win32.debug\sbbsecho directory after building, but it has a size of 0.. So it appears that it's being generated, but it's empty.

    Nightfox


    if it's zero it might have been started but the program didnt compile fully. check to see if you have a new exe in the build dir.
    and you can try to build that project alone, I think it is a .vcxproj file for it. I use msvc10 express and the whole thing builds. then I just build what I need. I think in a dos window it's like msbuild xxx.vcxproj


    "Practise safe Lunch, Use a Condiment"


    ---
    þ Synchronet þ Three Stooges - Las Vegas, Nv - tsgc.synchro.net
  • From Digital Man@VERT to Nightfox on Tue Nov 26 21:32:00 2013
    Re: Occasional crashing when working with MsgBase
    By: Nightfox to Digital Man on Sat Nov 23 2013 11:41 pm

    Re: Occasional crashing when working with MsgBase
    By: Digital Man to Nightfox on Tue Nov 19 2013 20:04:11

    If you could run a debug build and provide a call stack trace, that would be very helpful (and likely lead to the problem being quickly resolved).

    I downloaded the 3rdp and src directories from CVS and loaded sbbs3.sln (in src\sbbs3) in Visual Studio 2010. I tried building the solution in debug mode, but I got a link error, in the sbbsecho project:
    32 error LNK1104: cannot open file '.\msvc.win32.debug\sbbsecho\sbbsecho.map'

    Any tips?

    Try running the build.bat instead maybe? I do see that error sometimes and usually just a second build will successfully create the .map file. It looks like an MSVC10 bug to me.

    digital man

    Synchronet "Real Fact" #47:
    Synchronet directory naming (i.e. ctrl, exec, data) was suggested by S. Deppe. Norco, CA WX: 62.4øF, 36.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Wed Nov 27 15:30:00 2013
    Re: Occasional crashing when working with MsgBase
    By: Digital Man to Nightfox on Wed Nov 27 2013 02:32:55

    solution in debug mode, but I got a link error, in the sbbsecho
    project: 32 error LNK1104: cannot open file
    '.\msvc.win32.debug\sbbsecho\sbbsecho.map'

    Try running the build.bat instead maybe? I do see that error sometimes
    and usually just a second build will successfully create the .map file.
    It looks like an MSVC10 bug to me.

    That seems to have worked. Thanks for the tip.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com