dch commented on issue #4916:
URL: https://github.com/apache/couchdb/issues/4916#issuecomment-2110913038

   these are caused by a SIGSEGV in couchjs, during GC. worker threads are 
paused, main thread
   is in the middle of GC. Filed 
[upstream](https://bugzilla.mozilla.org/show_bug.cgi?id=1896604) but they 
rightly point out we need to be on a SM supported version for this to be worth 
looking at.
   
   ```
   * thread #1, name = 'couchjs', stop reason = signal SIGSEGV
     * frame #0: 0x000000008321f3a0 
libmozjs-91.so`js::gc::MapAlignedPages(unsigned long, unsigned long) + 1232
       frame #1: 0x00000000831e56f0 
libmozjs-91.so`js::gc::GCRuntime::pickChunk(js::AutoLockGCBgAlloc&) + 132
       frame #2: 0x00000000831e54a4 
libmozjs-91.so`js::gc::ArenaLists::refillFreeListAndAllocate(js::gc::FreeLists&,
 js::gc::AllocKind, js::gc::ShouldCheckThresholds) + 308
       frame #3: 0x00000000831e4638 libmozjs-91.so`js::jit::JitCode* 
js::Allocate<js::jit::JitCode, (js::AllowGC)0>(JSContext*) + 128
       frame #4: 0x0000000083478618 libmozjs-91.so`js::jit::JitCode* 
js::jit::JitCode::New<(js::AllowGC)0>(JSContext*, unsigned char*, unsigned int, 
unsigned int, js::jit::ExecutablePool*, js::jit::CodeKind) + 44
       frame #5: 0x00000000834a27c8 
libmozjs-91.so`js::jit::Linker::newCode(JSContext*, js::jit::CodeKind) + 284
       frame #6: 0x00000000832922c8 
libmozjs-91.so`js::jit::BaselineCacheIRCompiler::compile() + 15424
       frame #7: 0x000000008329b6e0 
libmozjs-91.so`js::jit::AttachBaselineCacheIRStub(JSContext*, 
js::jit::CacheIRWriter const&, js::jit::CacheKind, JSScript*, 
js::jit::ICScript*, js::jit::ICFallbackStub*, bool*) + 212
       frame #8: 0x00000000832cf2a0 libmozjs-91.so`___lldb_unnamed_symbol30268 
+ 276
       frame #9: 0x00000000832cf070 
libmozjs-91.so`js::jit::DoGetPropFallback(JSContext*, js::jit::BaselineFrame*, 
js::jit::ICFallbackStub*, JS::MutableHandle<JS::Value>, 
JS::MutableHandle<JS::Value>) + 444
       frame #10: 0x000014c25c2ea554
   ```
   
   I will see if I can track down what changed back in December, that this 
stopped working. couchjs is not exactly a fast-moving target.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to