core when use js_GetClassPrototype

hi 
The couchdb we use which depend on the dynamic library libmozjs185.so. 
When the couchdb running in the environment of arm ubuntu16.04, we go to query the db-view and find that couchjs has crashed. 
We check the coredump file via gdb and find that the stack is in the function js_GetClassPrototype.

(gdb) 
#0  0x0000ffff825fdf60 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0
#1  0x0000ffff825fded4 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0
#2  0x0000ffff825fded4 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0
#3  0x0000ffff825fded4 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0
#4  0x0000ffff825fded4 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0
#5  0x0000ffff825fded4 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0
#6  0x0000ffff825fded4 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0


We are using spidermonkey 1.8.5 on ARM
Can anyone confirm this?
Greetings
0
tingsong
3/18/2020 2:19:17 AM
mozilla.dev.tech.js-engine 2042 articles. 0 followers. Post Follow

0 Replies
7 Views

Similar Articles

[PageSpeed] 30

Reply: