Skip to content

Instantly share code, notes, and snippets.

@b1tg
Created July 14, 2025 15:49
Show Gist options
  • Select an option

  • Save b1tg/af91eb21b96137d6ccf32ef237fddb64 to your computer and use it in GitHub Desktop.

Select an option

Save b1tg/af91eb21b96137d6ccf32ef237fddb64 to your computer and use it in GitHub Desktop.
(gdb) backtrace
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=135166362394624) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=11, threadid=135166362394624) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=135166362394624, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
#3 0x00007aeedf085476 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#4 (signal handler called)
#5 Py_INCREF (op=(unknown at remote 0x1)) at ../Include/object.h:502
#6 Py_XINCREF (op=(unknown at remote 0x1)) at ../Include/object.h:592
#7 hamt_node_bitmap_assoc (self=0x7aeeb3d49e00, shift=0, hash=(optimized out), key=(optimized out), val=(optimized out), added_leaf=0x7ffeda8cd9dc) at ../Python/hamt.c:944
#8 0x000000000069bd83 in _PyHamt_Assoc (o=0x7aeeb3f74440, key=(_contextvars.ContextVar at remote 0x7aeec23fc8b0), val=(Metadata(name='__getitem__', caller='', backward=False) at remote 0x7aeeb3c81b90))
at ../Python/hamt.c:2309
#9 0x000000000069bcb0 in contextvar_set (var=0x7aeec23fc8b0, val=(Metadata(name='__getitem__', caller='', backward=False) at remote 0x7aeeb3c81b90)) at ../Python/context.c:746
#10 0x000000000069ae85 in PyContextVar_Set (ovar=(_contextvars.ContextVar at remote 0x7aeec23fc8b0), val=(Metadata(name='__getitem__', caller='', backward=False) at remote 0x7aeeb3c81b90))
at ../Python/context.c:285
#11 0x00000000004fdea0 in _PyEval_EvalFrameDefault (tstate=(optimized out), frame=(optimized out), throwflag=(optimized out)) at ../Python/ceval.c:5226
#12 0x00000000005a5326 in _PyEval_EvalFrame (throwflag=0, frame=0x7aeedee85d50, tstate=0xa92490 (_PyRuntime+166320)) at ../Include/internal/pycore_ceval.h:73
#13 _PyEval_Vector (kwnames=0x0, argcount=(optimized out), args=(optimized out), locals=0x0, func=0x7aeec089ede0, tstate=0xa92490 (_PyRuntime+166320)) at ../Python/ceval.c:6424
#14 _PyFunction_Vectorcall (kwnames=0x0, nargsf=(optimized out), stack=(optimized out), func=(function at remote 0x7aeec089ede0)) at ../Objects/call.c:393
#15 _PyObject_VectorcallTstate (kwnames=0x0, nargsf=(optimized out), args=(optimized out), callable=(function at remote 0x7aeec089ede0), tstate=0xa92490 (_PyRuntime+166320))
at ../Include/internal/pycore_call.h:92
(gdb) py-list
4386 fn1 =getattr(fn, "__name__")
>4391 token = _METADATA.set(Metadata(name=fn.__name__, caller=caller))
4395 try:
4396 ret = fn(*args, **kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment