Re: Exception in Mozila JS DLL
By: Nightfox to Digital Man on Mon Aug 16 2021 12:37 pm
> Re: Exception in Mozila JS DLL
> By: Digital Man to Nightfox on Mon Aug 16 2021 10:25 am
>
> >> out where in the code it crashed, if it crashed. This morning I saw
> >> VS reported an exception had been thrown in mozjs185-1.0.dll. Since
> >> we don't have the debug symbols for that library, it wasn't able to
> >> show where in the code it happened.. It seemed Visual Studio was
> >> frozen, so I had to force-kill it, and Synchronet closed too. At least
> >> I know it's something with the Mozilla JS library. I'm not sure if
> >> there's a JS script I have that's doing something wrong (I've been
> >> wondering if it's one of my mods) or if there's a bug in the Mozilla
> >> JS library.
>
> DM> It shouldn't be possible for a JS script to do something so wrong as to
> DM> crash SBBS. Or at least, that's the goal.
>
> DM> The call stack should have indicated where the JS library functions
> DM> were called from within the SBBS code (and with what arguments) and
> DM> that could help to determine what's at fault. Sometimes bugs in SBBS
> DM> can cause a crash in the JS library, so just because its crashing in
> DM> the JS library doesn't necessarily mean it is at fault. --
>
> 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
Yeah, looks like maybe the callstack was corrupted. If you could build your own
mozjs185-1.0.dll from source, you'd have the debug symbols and could maybe get m
ore helpful details.
I know Deuce has been working on a major update to sbbs to use a modern JS libra
ry, so worst case, you could just wait till that lands in the master branch and
this problem probably likely goes away (to be replaced by new ones). :-)
--
digital man
Sling Blade quote #17:
Charles Bushman: A shovel just makes too goddamned much racket.
Norco, CA WX: 86.1°F, 53.0% humidity, 12 mph NNE wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
|