Subj : Exception in Mozila JS DLL To : Nightfox From : Digital Man Date : Fri Sep 03 2021 18:15:06 Re: Exception in Mozila JS DLL By: Nightfox to Digital Man on Thu Sep 02 2021 08:34 am > Re: Exception in Mozila JS DLL > By: Digital Man to Nightfox on Mon Aug 16 2021 05:12 pm > > >> I got a screenshot of Visual Studio which I probably should have > >> shared earlier. The call stack didn't seem to show much useful > >> information though: > > >> https://i.imgur.com/Qb6Lewz.png > > DM> Yeah, looks like maybe the callstack was corrupted. If you could build > DM> your own mozjs185-1.0.dll from source, you'd have the debug symbols and > DM> could maybe get more helpful details. > > Have you ever built mozjs185-1.0.dll yourself? Yes, looks like I last built it back in October of 2011. > The source doesn't include > Visual Studio project files, though it has a makefile. I tried searching > online for the best way to build mozjs 1.8.5 on Windows, and found some > fairly old pages mentioning things like using MozillaBuild, etc., Yeah, that sounds familiar (MozillaBuild). > and other > people wanting to build it with Visual Studio 2019 and having difficulties. Not surprising as anything 2019 didn't exist back in 2011. :-) > I tried following one page's instructions using MozillaBuild, though I still > ran into issues with that. MozillaBuild has a *nix-like command prompt for > Windows, and when running configure, it said it couldn't find a suitable CC > executable on my system and aborted. I did figure out ten years ago, and I don't recall it being *that* difficult, but I suppose I could be blocking out a painful memory too. :-) > At this point I've thought about trying to just create a new DLL project in > Visual Studio, including all the source, and trying to build it; I haven't > tried that yet though. > > DM> I know Deuce has been working on a major update to sbbs to use a modern > DM> JS library, so worst case, you could just wait till that lands in the > DM> master branch and this problem probably likely goes away (to be > DM> replaced by new ones). :-) > > At this point I might end up waiting for that. :) Might be for the best. That libmozjs source code is not very easy to trouble-shoot even when everything's compiled right with debug symbols and everything (e.g. on Linux). -- digital man Synchronet "Real Fact" #31: The Synchronet IRC server (ircd) was written in JS by Randy Sommerfeld (Cyan). Norco, CA WX: 83.1øF, 45.0% humidity, 8 mph NW wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .