Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

core when use js_GetClassPrototype

12 views
Skip to first unread message

tingson...@gmail.com

unread,
Mar 17, 2020, 10:19:18 PM3/17/20
to
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 new messages