[Pkg-mongodb-maintainers] Bug#871906: mongodb FTBFS on arm64: test failure

Apollon Oikonomopoulos apoikos at debian.org
Mon Aug 14 03:17:05 UTC 2017


On 15:01 Sat 12 Aug     , Adrian Bunk wrote:
> [executor:db_test] 2017-08-12T00:40:01.112+0000 Summary: 11 test(s) 
>     ran in 40.28 seconds (10 succeeded, 48 were skipped, 1 failed, 0 
>     errored)
>     The following tests failed (with exit code):
>         ExtensionsCallbackRealTest (-11)

Se, at least the ExtensionsCallbackRealTest and js suites are 
segfaulting on arm64. The relevant backtrace is:

(gdb) bt
#0  0x0000aaaaabf92ae0 in js::gc::Cell::storeBuffer (this=<optimized out>) at src/third_party/mozjs-38/extract/js/src/gc/Heap.h:1237
#1  js::HeapSlot::post (kind=js::HeapSlot::Slot, target=..., slot=60, owner=0xffffb0322060, this=0xffff9c03ac90) at src/third_party/mozjs-38/extract/js/src/gc/Barrier.h:911
#2  js::HeapSlot::set (v=..., slot=60, kind=js::HeapSlot::Slot, owner=0xffffb0322060, this=<optimized out>) at src/third_party/mozjs-38/extract/js/src/gc/Barrier.h:890
#3  js::NativeObject::setSlot (this=0xffffb0322060, slot=60, value=...) at src/third_party/mozjs-38/extract/js/src/vm/NativeObject.h:769
#4  0x0000aaaaac2f60dc in js::GlobalObject::setPrototype (value=..., key=JSProto_Object, this=<optimized out>)
    at src/third_party/mozjs-38/extract/js/src/vm/GlobalObject.h:168
#5  js::GlobalObject::resolveConstructor (cx=0xffff9c015870, global=..., key=<optimized out>) at src/third_party/mozjs-38/extract/js/src/vm/GlobalObject.cpp:157
#6  0x0000aaaaac2f637c in js::GlobalObject::ensureConstructor (cx=cx at entry=0xffff9c015870, global=..., global at entry=..., key=key at entry=JSProto_Object)
    at src/third_party/mozjs-38/extract/js/src/vm/GlobalObject.cpp:95
#7  0x0000aaaaabfb3b10 in js::GlobalObject::getOrCreateObjectPrototype (cx=0xffff9c015870, this=<optimized out>)
    at src/third_party/mozjs-38/extract/js/src/vm/GlobalObject.h:326
#8  CreateArrayPrototype (cx=0xffff9c015870, key=<optimized out>) at src/third_party/mozjs-38/extract/js/src/jsarray.cpp:3249
#9  0x0000aaaaac2f7314 in InitBareBuiltinCtor (cx=cx at entry=0xffff9c015870, global=global at entry=..., protoKey=protoKey at entry=JSProto_Array)
    at src/third_party/mozjs-38/extract/js/src/vm/GlobalObject.cpp:349
#10 0x0000aaaaac2f74d8 in js::GlobalObject::initSelfHostingBuiltins (cx=cx at entry=0xffff9c015870, global=global at entry=...,
    builtins=builtins at entry=0xaaaaac9b8620 <intrinsic_functions>) at src/third_party/mozjs-38/extract/js/src/vm/GlobalObject.cpp:386
#11 0x0000aaaaac0683c0 in JSRuntime::createSelfHostingGlobal (cx=cx at entry=0xffff9c015870) at src/third_party/mozjs-38/extract/js/src/vm/SelfHosting.cpp:1041
#12 0x0000aaaaac068508 in JSRuntime::initSelfHosting (this=this at entry=0xffff9c017790, cx=cx at entry=0xffff9c015870)
    at src/third_party/mozjs-38/extract/js/src/vm/SelfHosting.cpp:1065
#13 0x0000aaaaac220e14 in js::NewContext (rt=0xffff9c017790, stackChunkSize=stackChunkSize at entry=8192) at src/third_party/mozjs-38/extract/js/src/jscntxt.cpp:126
#14 0x0000aaaaac220eac in JS_NewContext (rt=<optimized out>, stackChunkSize=stackChunkSize at entry=8192) at src/third_party/mozjs-38/extract/js/src/jsapi.cpp:569
#15 0x0000aaaaabebfed8 in mongo::mozjs::MozJSImplScope::MozRuntime::MozRuntime (this=0xffff9c00ebb0, engine=<optimized out>) at src/mongo/scripting/mozjs/implscope.cpp:288
#16 0x0000aaaaabec0044 in mongo::mozjs::MozJSImplScope::MozJSImplScope (this=0xffff9c00eb10, engine=0xaaaaaca69da0) at src/mongo/scripting/mozjs/implscope.cpp:347
#17 0x0000aaaaabee0154 in mongo::mozjs::MozJSProxyScope::implThread (arg=0xaaaaacd87060) at src/mongo/scripting/mozjs/proxyscope.cpp:330
#18 0x0000aaaaabeaad78 in nspr::Thread::ThreadRoutine (arg=0xaaaaacabedd0) at src/mongo/scripting/mozjs/PosixNSPR.cpp:56
#19 0x0000ffffb78bf47c in std::execute_native_thread_routine (__p=0xaaaaacd86e30) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:83
#20 0x0000ffffb770e0a0 in start_thread (arg=0xffffb78bf460 <std::execute_native_thread_routine(void*)>) at pthread_create.c:335
#21 0x0000ffffb7685e7c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:77

All other threads are blocked in pthread_cond_wait() et al.

It appears to be spidermonkey-gc-related, although I can't say much 
more. I'm afraid I won't be able to do much on this issue for the next 2 
weeks or so.

Regards,
Apollon



More information about the Pkg-mongodb-maintainers mailing list