Comments (3)
I think I figured it out: its the StringExt to the name "dumpLockedVars" (block 27). So there is no issue, except maybe suboptimal output. It would probably require an additional pass to identify solitary StringExt.
from espruino.
Ok, great. Well, that makes sense I guess.
I notice you commented out jsvGarbageCollect in DumpLockedVars - did it not appear if that was left in?
Presumably it's just bad luck that in this case the StringExt came before the String that referenced it, when usually it would appear after?
from espruino.
I notice you commented out jsvGarbageCollect in DumpLockedVars - did it not appear if that was left in?
It does appear because it is part of the current function call and therefore locked.
Presumably it's just bad luck that in this case the StringExt came before the String that referenced it, when usually it would appear after?
Since the free list isn't guaranteed to always link forwards, it is bad luck, sort of. I have no numbers, but I'd say it is rather common.
from espruino.
Related Issues (20)
- `taskENABLE_INTERRUPTS`/`taskDISABLE_INTERRUPTS` causing panic resets on ESP32 HOT 2
- Update mbedtls, uECC, maybe Tensorflow
- Puck.js onAccel callback speed is slow HOT 14
- Is position used in pipe? HOT 4
- Feature Suggestion: Mitigations for the security issues with Bluetooth HOT 1
- GPS speed does not work on BangleJS 2 HOT 5
- Uncaught InternalError: BLE task completed that wasn't scheduled (SERVICE/NONE) HOT 3
- substr not available HOT 2
- ASSERT(!foundPrototype) FAILED AT src/jsparse.c:2690 HOT 3
- ASSERT((!jsvGetNextSibling(var) && !jsvGetPrevSibling(var)) || jsvIsRefUsedForData(var) || (jsvIsName(var) && (jsvGetNextSibling(var)==jsvGetPrevSibling(var))))
- ASSERT(jsvIsInt(v)) FAILED AT src/jsvar.c:2035
- ASSERT(jsvHasChildren(obj)) FAILED AT src/jsvar.c:3015
- ASSERT(jsvHasCharacterData(str)) FAILED AT src/jsvariterator.c:256
- ASSERT(!a || jsvIsName(a)) FAILED AT src/jsparse.c:1604
- ASSERT(size==0) FAILED AT src/jsvar.c:326 ASSERT(ref <= jsVarsSize) FAILED AT src/jsvar.c:223 HOT 4
- ESP32 build with esp-idf 4.4.4 HOT 17
- Promise.all([]) should complete immediately!
- SAVE_ON_FLASH could remove the binary search for symbols
- Bangle.js2: Recycled touch event position with long running timeouts HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espruino.