Skip to content

Deadlock in CaptureStackTrace #35

@adriencohen

Description

@adriencohen

Environment

  • @sentry/nuxt: 10.32.1
  • @sentry/node-native: 10.32.1
  • @sentry-internal/node-native-stacktrace: 0.3.0
  • Node.js: v24.12.0
  • Nuxt: 4.2.2
  • OS: Debian 12.13 (bookworm)
  • Kernel: 6.12.47-fly
  • Arch: x86_64 (AMD EPYC)
  • Platform: Fly.io, machine size shared-cpu-1x:1024MB (1 vCPU, 1 GB RAM)

Steps to Reproduce

  1. Run a Nuxt 4 SSR application in production with @sentry/node-native's eventLoopBlockIntegration() enabled (default options).
  2. Serve real traffic under normal load (no specific pathological requests).
  3. The freeze happens randomly. In our case it recurs every few days.

Expected Result

When the event loop is blocked, eventLoopBlockIntegration should capture a stack trace and report it to Sentry. It shouldn't deadlock the whole node process

Actual Result

The Node.js main thread permanently deadlocks with 0% CPU usage with the following stacktrace using gdb -p <pid> --batch -ex "thread apply all bt" on a live frozen instance

[New LWP 645]
[New LWP 646]
[New LWP 647]
[New LWP 648]
[New LWP 649]
[New LWP 650]
[New LWP 656]
[New LWP 657]
[New LWP 658]
[New LWP 659]
[New LWP 660]
[New LWP 661]
[New LWP 685]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
futex_wait (private=0, expected=2, futex_word=0x7fddc77fe3e0 <threads_mutex>) at ../sysdeps/nptl/futex-internal.h:146
146	../sysdeps/nptl/futex-internal.h: No such file or directory.

Thread 14 (Thread 0x7fddc6ee96c0 (LWP 685) "WorkerThread"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fde185bdc09 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00007fddc77f7a05 in CaptureStackTrace(v8::Isolate*, std::optional<AsyncLocalStorageLookup> const&) () from /app/server/node_modules/@sentry-internal/node-native-stacktrace/lib/stack-trace-linux-x64-glibc-137.node
#3  0x00007fddc77f7c12 in std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<ThreadResult>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<CaptureStackTraces(v8::FunctionCallbackInfo<v8::Value> const&)::{lambda(std::optional<AsyncLocalStorageLookup> const&)#1}, std::reference_wrapper<std::optional<AsyncLocalStorageLookup> const> > >, ThreadResult> >::_M_invoke(std::_Any_data const&) () from /app/server/node_modules/@sentry-internal/node-native-stacktrace/lib/stack-trace-linux-x64-glibc-137.node
#4  0x00007fddc77f8c72 in std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) () from /app/server/node_modules/@sentry-internal/node-native-stacktrace/lib/stack-trace-linux-x64-glibc-137.node
#5  0x00007fde18291057 in __pthread_once_slow (once_control=0x7fdd9c21bc78, init_routine=0x71c180 <__once_proxy@plt>) at ./nptl/pthread_once.c:116
#6  0x00007fddc77f32b2 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::__future_base::_Async_state_impl<std::thread::_Invoker<std::tuple<CaptureStackTraces(v8::FunctionCallbackInfo<v8::Value> const&)::{lambda(std::optional<AsyncLocalStorageLookup> const&)#1}, std::reference_wrapper<std::optional<AsyncLocalStorageLookup> const> > >, ThreadResult>::_Async_state_impl(std::thread::_Invoker<std::tuple<CaptureStackTraces(v8::FunctionCallbackInfo<v8::Value> const&)::{lambda(std::optional<AsyncLocalStorageLookup> const&)#1}, std::reference_wrapper<std::optional<AsyncLocalStorageLookup> const> > >&&)::{lambda()#1}> > >::_M_run() () from /app/server/node_modules/@sentry-internal/node-native-stacktrace/lib/stack-trace-linux-x64-glibc-137.node
#7  0x00007fde185c04a3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 13 (Thread 0x7fddc73eb6c0 (LWP 661) "WorkerThread"):
#0  __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=685, futex_word=0x7fddc6ee9990) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7fddc6ee9990, expected=685, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=128, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fddc6ee9990, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=128) at ./nptl/futex-internal.c:139
#3  0x00007fde1828dce3 in __pthread_clockjoin_ex (threadid=140590502024896, thread_return=0x0, clockid=0, abstime=0x0, block=<optimized out>) at ./nptl/pthread_join_common.c:102
#4  0x00007fde185c0517 in std::thread::join() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007fde18291057 in __pthread_once_slow (once_control=0x7fdd9c21bc88, init_routine=0x71c180 <__once_proxy@plt>) at ./nptl/pthread_once.c:116
#6  0x00007fddc77f8d5f in std::__future_base::_Async_state_commonV2::_M_complete_async() () from /app/server/node_modules/@sentry-internal/node-native-stacktrace/lib/stack-trace-linux-x64-glibc-137.node
#7  0x00007fddc77f60aa in CaptureStackTraces(v8::FunctionCallbackInfo<v8::Value> const&) () from /app/server/node_modules/@sentry-internal/node-native-stacktrace/lib/stack-trace-linux-x64-glibc-137.node
#8  0x000000000194f08d in Builtins_CallApiCallbackGeneric ()
#9  0x0000000000000024 in ?? ()
#10 0x00007fddc73e9fc0 in ?? ()
#11 0x00007fddc73e9ff8 in ?? ()
#12 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fddc77ec6c0 (LWP 660) "WorkerThread"):
#0  0x00007fde1830bc9e in __GI_epoll_pwait (epfd=epfd@entry=21, events=events@entry=0x7fddc77e8770, maxevents=maxevents@entry=1024, timeout=timeout@entry=-1, set=set@entry=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:40
#1  0x000000000193bba7 in uv__io_poll (loop=loop@entry=0x7fddc77eb9b8, timeout=-1) at ../deps/uv/src/unix/linux.c:1465
#2  0x0000000001926047 in uv_run (loop=0x7fddc77eb9b8, mode=UV_RUN_DEFAULT) at ../deps/uv/src/unix/core.c:460
#3  0x0000000000780145 in node::SpinEventLoopInternal(node::Environment*) ()
#4  0x0000000000a1a966 in node::worker::Worker::Run() ()
#5  0x0000000000a1aad6 in node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::{lambda(void*)#1}::_FUN(void*) ()
#6  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x7fddc7fff6c0 (LWP 659) "libuv-worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x66a7a28 <cond+40>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x66a7a28 <cond+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x66a7a28 <cond+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x66a79c0 <mutex>, cond=0x66a7a00 <cond>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ../deps/uv/src/unix/thread.c:835
#6  0x00000000019214a6 in worker (arg=0x0) at ../deps/uv/src/threadpool.c:77
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7fde1480e6c0 (LWP 658) "libuv-worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x66a7a28 <cond+40>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x66a7a28 <cond+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x66a7a28 <cond+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x66a79c0 <mutex>, cond=0x66a7a00 <cond>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ../deps/uv/src/unix/thread.c:835
#6  0x00000000019214a6 in worker (arg=0x0) at ../deps/uv/src/threadpool.c:77
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7fde1500f6c0 (LWP 657) "libuv-worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x66a7a2c <cond+44>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x66a7a2c <cond+44>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x66a7a2c <cond+44>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x66a79c0 <mutex>, cond=0x66a7a00 <cond>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ../deps/uv/src/unix/thread.c:835
#6  0x00000000019214a6 in worker (arg=0x0) at ../deps/uv/src/threadpool.c:77
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7fde158106c0 (LWP 656) "libuv-worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x66a7a28 <cond+40>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x66a7a28 <cond+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x66a7a28 <cond+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x66a79c0 <mutex>, cond=0x66a7a00 <cond>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=cond@entry=0x66a7a00 <cond>, mutex=mutex@entry=0x66a79c0 <mutex>) at ../deps/uv/src/unix/thread.c:835
#6  0x00000000019214a6 in worker (arg=0x0) at ../deps/uv/src/threadpool.c:77
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7fde158196c0 (LWP 650) "SignalInspector"):
#0  __futex_abstimed_wait_common64 (private=<optimized out>, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x66959e0 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x66959e0 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=<optimized out>, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x66959e0 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=<optimized out>) at ./nptl/futex-internal.c:139
#3  0x00007fde18293cff in do_futex_wait (sem=sem@entry=0x66959e0 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>, abstime=0x0, clockid=0) at ./nptl/sem_waitcommon.c:111
#4  0x00007fde18293d90 in __new_sem_wait_slow64 (sem=sem@entry=0x66959e0 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>, abstime=0x0, clockid=0) at ./nptl/sem_waitcommon.c:183
#5  0x00007fde18293df9 in __new_sem_wait (sem=sem@entry=0x66959e0 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>) at ./nptl/sem_wait.c:42
#6  0x0000000001935852 in uv__sem_wait (sem=<optimized out>) at ../deps/uv/src/unix/thread.c:660
#7  uv_sem_wait (sem=0x66959e0 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>) at ../deps/uv/src/unix/thread.c:716
#8  0x0000000000a8a6d5 in node::inspector::(anonymous namespace)::StartIoThreadMain(void*) ()
#9  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fde160c26c0 (LWP 649) "V8Worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2bd2f1b0) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2bd2f1b0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2bd2f1b0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2bd2f160, cond=0x2bd2f188) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x2bd2f188, mutex=0x2bd2f160) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=<optimized out>, mutex=<optimized out>) at ../deps/uv/src/unix/thread.c:835
#6  0x0000000000945a8b in node::(anonymous namespace)::PlatformWorkerThread(void*) ()
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fde168c36c0 (LWP 648) "V8Worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2bd2f1b4) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2bd2f1b4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2bd2f1b4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2bd2f160, cond=0x2bd2f188) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x2bd2f188, mutex=0x2bd2f160) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=<optimized out>, mutex=<optimized out>) at ../deps/uv/src/unix/thread.c:835
#6  0x0000000000945a8b in node::(anonymous namespace)::PlatformWorkerThread(void*) ()
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fde170c46c0 (LWP 647) "V8Worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2bd2f1b4) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2bd2f1b4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2bd2f1b4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2bd2f160, cond=0x2bd2f188) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x2bd2f188, mutex=0x2bd2f160) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=<optimized out>, mutex=<optimized out>) at ../deps/uv/src/unix/thread.c:835
#6  0x0000000000945a8b in node::(anonymous namespace)::PlatformWorkerThread(void*) ()
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fde178c56c0 (LWP 646) "V8Worker"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2bd2f1b0) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2bd2f1b0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007fde18288f7b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2bd2f1b0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fde1828b5d8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2bd2f160, cond=0x2bd2f188) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x2bd2f188, mutex=0x2bd2f160) at ./nptl/pthread_cond_wait.c:618
#5  0x0000000001935a09 in uv_cond_wait (cond=<optimized out>, mutex=<optimized out>) at ../deps/uv/src/unix/thread.c:835
#6  0x0000000000945a8b in node::(anonymous namespace)::PlatformWorkerThread(void*) ()
#7  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7fde180ca6c0 (LWP 645) "DelayedTaskSche"):
#0  0x00007fde1830bc9e in __GI_epoll_pwait (epfd=epfd@entry=10, events=events@entry=0x7fde180c6ca0, maxevents=maxevents@entry=1024, timeout=timeout@entry=-1, set=set@entry=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:40
#1  0x000000000193bba7 in uv__io_poll (loop=loop@entry=0x2bd2f318, timeout=-1) at ../deps/uv/src/unix/linux.c:1465
#2  0x0000000001926047 in uv_run (loop=0x2bd2f318, mode=UV_RUN_DEFAULT) at ../deps/uv/src/unix/core.c:460
#3  0x000000000094a5e5 in node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start()::{lambda(void*)#1}::_FUN(void*) ()
#4  0x00007fde1828c1f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007fde1830c8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7fde18201cc0 (LWP 637) "MainThread"):
#0  futex_wait (private=0, expected=2, futex_word=0x7fddc77fe3e0 <threads_mutex>) at ../sysdeps/nptl/futex-internal.h:146
#1  __GI___lll_lock_wait (futex=futex@entry=0x7fddc77fe3e0 <threads_mutex>, private=0) at ./nptl/lowlevellock.c:49
#2  0x00007fde1828f482 in lll_mutex_lock_optimized (mutex=0x7fddc77fe3e0 <threads_mutex>) at ./nptl/pthread_mutex_lock.c:48
#3  ___pthread_mutex_lock (mutex=0x7fddc77fe3e0 <threads_mutex>) at ./nptl/pthread_mutex_lock.c:93
#4  0x00007fddc77f5626 in ThreadPoll(v8::FunctionCallbackInfo<v8::Value> const&) () from /app/server/node_modules/@sentry-internal/node-native-stacktrace/lib/stack-trace-linux-x64-glibc-137.node
#5  0x000000000194f1be in Builtins_CallApiCallbackOptimizedNoProfiling ()
#6  0x00007ffdc181f208 in ?? ()
#7  0x00007ffdc181f240 in ?? ()
#8  0x0000000000000002 in ?? ()
#9  0x00007ffdc181f1d0 in ?? ()
#10 0x0000000000000038 in ?? ()
#11 0x00007ffdc181f2b8 in ?? ()
#12 0x00007fddd8ce0ea2 in ?? ()
#13 0x00002c5b94740011 in ?? ()
#14 0x000000002bd3f000 in ?? ()
#15 0x00003bbf6b100109 in ?? ()
#16 0x00002c5b94740011 in ?? ()
#17 0x00002d3594959b19 in ?? ()
#18 0x00002c5b94740011 in ?? ()
#19 0x00000f2de3589659 in ?? ()
#20 0x00002c5b947400b1 in ?? ()
#21 0x00001071233ae6f9 in ?? ()
#22 0x00003bbf6b10a3c1 in ?? ()
#23 0x00001071233ae6f9 in ?? ()
#24 0x000023a45a124719 in ?? ()
#25 0x00000000019263f6 in uv__update_time (loop=0x2d3594959b19) at ../deps/uv/src/unix/internal.h:405
#26 uv_update_time (loop=0x2d3594959b19) at ../deps/uv/src/unix/core.c:496
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
[Inferior 1 (process 637) detached]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions