Skip to content

Instantly share code, notes, and snippets.

@messense
Created October 12, 2022 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save messense/575b65117432e3c7b2ff5af39052b7c2 to your computer and use it in GitHub Desktop.
Save messense/575b65117432e3c7b2ff5af39052b7c2 to your computer and use it in GitHub Desktop.
(.venv) root@ubuntu:~/code/self-limiters# gdb -c core.0.1716127.1665563188 python3
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python3...
Reading symbols from /usr/lib/debug/.build-id/27/65adb9e6f5667f22a12e978b0de95e21d99451.debug...
[New LWP 1716132]
[New LWP 1716128]
[New LWP 1716133]
[New LWP 1716135]
[New LWP 1716130]
[New LWP 1716127]
[New LWP 1716131]
[New LWP 1716134]
[New LWP 1716129]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `python bench.py s --count 100 --iterations 30 --target 3.5'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140067782768192) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
[Current thread is 1 (Thread 0x7f64126fb640 (LWP 1716132))]
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140067782768192) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140067782768192) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140067782768192, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007f641466f476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007f64146557f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x000055a7c78d8894 in fatal_error_exit (status=-1) at ../Python/pylifecycle.c:2553
#6 fatal_error (fd=<optimized out>, header=<optimized out>, prefix=<optimized out>, msg=<optimized out>, status=-1) at ../Python/pylifecycle.c:2664
#7 0x000055a7c797aece in _Py_FatalErrorFormat (func=0x55a7c7bfcfa0 <__func__.1> "PyGILState_Release", format=0x55a7c7bfc7c8 "thread state %p must be current when releasing")
at ../Python/pylifecycle.c:2784
#8 0x000055a7c78fafe8 in PyGILState_Release (oldstate=PyGILState_UNLOCKED) at ../Python/pystate.c:1548
#9 0x00007f64131f1d0c in pyo3::gil::{impl#1}::drop (self=0x7f64126f8578) at src/gil.rs:268
#10 0x00007f64131eba4b in core::ptr::drop_in_place<pyo3::gil::GILGuard> () at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/ptr/mod.rs:487
#11 0x00007f64131ec05a in core::ptr::drop_in_place<core::option::Option<pyo3::gil::GILGuard>> ()
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/ptr/mod.rs:487
#12 0x00007f64131eba6b in core::ptr::drop_in_place<pyo3::gil::EnsureGIL> () at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/ptr/mod.rs:487
#13 0x00007f6413162359 in pyo3::marker::Python::with_gil<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block#0}::{closure_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>, ()> (f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.16.6/src/marker.rs:315
#14 0x00007f64131675f5 in pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()> ()
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-asyncio-0.16.0/src/generic.rs:575
#15 0x00007f641319c2bb in core::future::from_generator::{impl#1}::poll<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>> (self=..., cx=0x7f64126f9618)
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/future/mod.rs:91
#16 0x00007f6413123348 in pyo3_asyncio::tokio::{impl#1}::spawn::{async_block#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>> () at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-asyncio-0.16.0/src/tokio.rs:77
#17 0x00007f641319badb in core::future::from_generator::{impl#1}::poll<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>> (self=..., cx=0x7f64126f9618) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/future/mod.rs:91
#18 0x00007f641310b634 in tokio::runtime::task::core::{impl#3}::poll::{closure#0}<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>> (ptr=0x7f64080114f8)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/task/core.rs:184
#19 0x00007f641315afa0 in tokio::loom::std::unsafe_cell::UnsafeCell<tokio::runtime::task::core::Stage<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>>>::with_mut<tokio::runtime::task::core::Stage<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>>, core::task::poll::Poll<()>, tokio::runtime::task::core::{impl#3}::poll::{closure_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>>> (self=0x7f64080114f8, f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/loom/std/unsafe_cell.rs:14
#20 0x00007f641310ae97 in tokio::runtime::task::core::CoreStage<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>>::poll<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>> (self=0x7f64080114f8, cx=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/task/core.rs:174
#21 0x00007f641311519a in tokio::runtime::task::harness::poll_future::{closure#0}<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env--Type <RET> for more, q to quit, c to continue without paging--c
#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>> () at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/task/harness.rs:480
#22 0x00007f6413197d23 in core::panic::unwind_safe::{impl#23}::call_once<core::task::poll::Poll<()>, tokio::runtime::task::harness::poll_future::{closure_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>>> (self=..., _args=()) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/panic/unwind_safe.rs:271
#23 0x00007f6413145400 in std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>>>, core::task::poll::Poll<()>> (data=0x7f64126f9790) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:492
#24 0x00007f641314a9ab in __rust_try () from /root/code/self-limiters/.venv/lib/python3.10/site-packages/self_limiters/self_limiters.abi3.so
#25 0x00007f64131404c6 in std::panicking::try<core::task::poll::Poll<()>, core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>>>> (f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:456
#26 0x00007f641312bc5a in std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>>>, core::task::poll::Poll<()>> (f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panic.rs:137
#27 0x00007f6413113c1d in tokio::runtime::task::harness::poll_future<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>> (core=0x7f64080114f8, scheduler=0x7f64080114f0, id=..., cx=...) at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/task/harness.rs:468
#28 0x00007f641311700b in tokio::runtime::task::harness::Harness<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>>::poll_inner<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>> (self=0x7f64126f9a80) at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/task/harness.rs:104
#29 0x00007f641311d923 in tokio::runtime::task::harness::Harness<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>>::poll<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>> (self=...) at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/task/harness.rs:57
#30 0x00007f641310de70 in tokio::runtime::task::raw::poll<core::future::from_generator::GenFuture<pyo3_asyncio::tokio::{impl#1}::spawn::{async_block_env#0}<core::future::from_generator::GenFuture<pyo3_asyncio::generic::future_into_py_with_locals::{async_block#0}::{async_block_env#0}<pyo3_asyncio::tokio::TokioRuntime, core::future::from_generator::GenFuture<self_limiters::semaphore::{impl#1}::__aexit__::{async_block_env#0}>, ()>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>> (ptr=...) at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/task/raw.rs:194
#31 0x00007f64132d266f in tokio::runtime::task::raw::RawTask::poll (self=...) at src/runtime/task/raw.rs:134
#32 0x00007f64132fa222 in tokio::runtime::task::LocalNotified<alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>>::run<alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::worker::Shared>> (self=...) at src/runtime/task/mod.rs:385
#33 0x00007f6413327de2 in tokio::runtime::scheduler::multi_thread::worker::{impl#1}::run_task::{closure#0} () at src/runtime/scheduler/multi_thread/worker.rs:421
#34 0x00007f641334d1b0 in tokio::coop::with_budget::{closure#0}<core::result::Result<alloc::boxed::Box<tokio::runtime::scheduler::multi_thread::worker::Core, alloc::alloc::Global>, ()>, tokio::runtime::scheduler::multi_thread::worker::{impl#1}::run_task::{closure_env#0}> (cell=0x7f6400000db2) at src/coop.rs:102
#35 0x00007f641333bf80 in std::thread::local::LocalKey<core::cell::Cell<tokio::coop::Budget>>::try_with<core::cell::Cell<tokio::coop::Budget>, tokio::coop::with_budget::{closure_env#0}<core::result::Result<alloc::boxed::Box<tokio::runtime::scheduler::multi_thread::worker::Core, alloc::alloc::Global>, ()>, tokio::runtime::scheduler::multi_thread::worker::{impl#1}::run_task::{closure_env#0}>, core::result::Result<alloc::boxed::Box<tokio::runtime::scheduler::multi_thread::worker::Core, alloc::alloc::Global>, ()>> (self=0x7f6413524b58, f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/thread/local.rs:445
#36 0x00007f641333a7ae in std::thread::local::LocalKey<core::cell::Cell<tokio::coop::Budget>>::with<core::cell::Cell<tokio::coop::Budget>, tokio::coop::with_budget::{closure_env#0}<core::result::Result<alloc::boxed::Box<tokio::runtime::scheduler::multi_thread::worker::Core, alloc::alloc::Global>, ()>, tokio::runtime::scheduler::multi_thread::worker::{impl#1}::run_task::{closure_env#0}>, core::result::Result<alloc::boxed::Box<tokio::runtime::scheduler::multi_thread::worker::Core, alloc::alloc::Global>, ()>> (self=0x7f6413524b58, f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/thread/local.rs:421
#37 0x00007f6413327cf0 in tokio::coop::with_budget<core::result::Result<alloc::boxed::Box<tokio::runtime::scheduler::multi_thread::worker::Core, alloc::alloc::Global>, ()>, tokio::runtime::scheduler::multi_thread::worker::{impl#1}::run_task::{closure_env#0}> (budget=..., f=...) at src/coop.rs:95
#38 tokio::coop::budget<core::result::Result<alloc::boxed::Box<tokio::runtime::scheduler::multi_thread::worker::Core, alloc::alloc::Global>, ()>, tokio::runtime::scheduler::multi_thread::worker::{impl#1}::run_task::{closure_env#0}> (f=...) at src/coop.rs:72
#39 tokio::runtime::scheduler::multi_thread::worker::Context::run_task (self=0x7f64126fa0a8, task=..., core=0x55a7c8943190) at src/runtime/scheduler/multi_thread/worker.rs:420
#40 0x00007f6413327576 in tokio::runtime::scheduler::multi_thread::worker::Context::run (self=0x7f64126fa0a8, core=0x55a7c8943190) at src/runtime/scheduler/multi_thread/worker.rs:387
#41 0x00007f6413327363 in tokio::runtime::scheduler::multi_thread::worker::run::{closure#0} () at src/runtime/scheduler/multi_thread/worker.rs:372
#42 0x00007f64133349b7 in tokio::macros::scoped_tls::ScopedKey<tokio::runtime::scheduler::multi_thread::worker::Context>::set<tokio::runtime::scheduler::multi_thread::worker::Context, tokio::runtime::scheduler::multi_thread::worker::run::{closure_env#0}, ()> (self=0x7f6413524e50 <tokio::runtime::scheduler::multi_thread::worker::CURRENT>, t=0x7f64126fa0a8, f=...) at src/macros/scoped_tls.rs:61
#43 0x00007f64133272aa in tokio::runtime::scheduler::multi_thread::worker::run (worker=...) at src/runtime/scheduler/multi_thread/worker.rs:369
#44 0x00007f64133270eb in tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure#0} () at src/runtime/scheduler/multi_thread/worker.rs:348
#45 0x00007f641330a9f3 in tokio::runtime::blocking::task::{impl#2}::poll<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}, ()> (self=..., _cx=0x7f64126fa258) at src/runtime/blocking/task.rs:42
#46 0x00007f64132ef975 in tokio::runtime::task::core::{impl#3}::poll::{closure#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>> (ptr=0x55a7c890f520) at src/runtime/task/core.rs:184
#47 0x00007f64132ee910 in tokio::loom::std::unsafe_cell::UnsafeCell<tokio::runtime::task::core::Stage<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>>>::with_mut<tokio::runtime::task::core::Stage<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>>, core::task::poll::Poll<()>, tokio::runtime::task::core::{impl#3}::poll::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>>> (self=0x55a7c890f520, f=...) at src/loom/std/unsafe_cell.rs:14
#48 0x00007f64132ef778 in tokio::runtime::task::core::CoreStage<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>>::poll<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>> (self=0x55a7c890f520, cx=...) at src/runtime/task/core.rs:174
#49 0x00007f6413339d1e in tokio::runtime::task::harness::poll_future::{closure#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule> () at src/runtime/task/harness.rs:480
#50 0x00007f64132fe623 in core::panic::unwind_safe::{impl#23}::call_once<core::task::poll::Poll<()>, tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule>> (self=..., _args=()) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/panic/unwind_safe.rs:271
#51 0x00007f6413354db2 in std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule>>, core::task::poll::Poll<()>> (data=0x7f64126fa3d0) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:492
#52 0x00007f641335582b in __rust_try () from /root/code/self-limiters/.venv/lib/python3.10/site-packages/self_limiters/self_limiters.abi3.so
#53 0x00007f6413353f26 in std::panicking::try<core::task::poll::Poll<()>, core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule>>> (f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:456
#54 0x00007f641334c20b in std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule>>, core::task::poll::Poll<()>> (f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panic.rs:137
#55 0x00007f641333976e in tokio::runtime::task::harness::poll_future<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule> (core=0x55a7c890f520, scheduler=0x55a7c890f520, id=..., cx=...) at src/runtime/task/harness.rs:468
#56 0x00007f6413337ec9 in tokio::runtime::task::harness::Harness<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule>::poll_inner<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule> (self=0x7f64126fa6c0) at src/runtime/task/harness.rs:104
#57 0x00007f64133379d4 in tokio::runtime::task::harness::Harness<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule>::poll<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule> (self=...) at src/runtime/task/harness.rs:57
#58 0x00007f64132d27c2 in tokio::runtime::task::raw::poll<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::NoopSchedule> (ptr=...) at src/runtime/task/raw.rs:194
#59 0x00007f64132d266f in tokio::runtime::task::raw::RawTask::poll (self=...) at src/runtime/task/raw.rs:134
#60 0x00007f64132fa2e4 in tokio::runtime::task::UnownedTask<tokio::runtime::blocking::schedule::NoopSchedule>::run<tokio::runtime::blocking::schedule::NoopSchedule> (self=...) at src/runtime/task/mod.rs:422
#61 0x00007f6413308187 in tokio::runtime::blocking::pool::Task::run (self=...) at src/runtime/blocking/pool.rs:111
#62 0x00007f641330a87c in tokio::runtime::blocking::pool::Inner::run (self=0x55a7c88dc960, worker_thread_id=4) at src/runtime/blocking/pool.rs:346
#63 0x00007f6413309c77 in tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure#0} () at src/runtime/blocking/pool.rs:321
#64 0x00007f64132fe72e in std::sys_common::backtrace::__rust_begin_short_backtrace<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()> (f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/sys_common/backtrace.rs:122
#65 0x00007f64132ffe62 in std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure#0}<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()> () at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/thread/mod.rs:505
#66 0x00007f64132fe5d2 in core::panic::unwind_safe::{impl#23}::call_once<(), std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()>> (self=..., _args=()) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/panic/unwind_safe.rs:271
#67 0x00007f6413354a54 in std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()>>, ()> (data=0x7f64126fac08) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:492
#68 0x00007f641335582b in __rust_try () from /root/code/self-limiters/.venv/lib/python3.10/site-packages/self_limiters/self_limiters.abi3.so
#69 0x00007f6413354140 in std::panicking::try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()>>> (f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:456
#70 0x00007f641334c0e2 in std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()>>, ()> (f=...) at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panic.rs:137
#71 0x00007f64132ffbef in std::thread::{impl#0}::spawn_unchecked_::{closure#1}<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()> () at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/thread/mod.rs:504
#72 0x00007f64132c235f in core::ops::function::FnOnce::call_once<std::thread::{impl#0}::spawn_unchecked_::{closure_env#1}<tokio::runtime::blocking::pool::{impl#5}::spawn_thread::{closure_env#0}, ()>, ()> () at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/ops/function.rs:248
#73 0x00007f64133dbcf3 in alloc::boxed::{impl#44}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> () at library/alloc/src/boxed.rs:1951
#74 alloc::boxed::{impl#44}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> () at library/alloc/src/boxed.rs:1951
#75 std::sys::unix::thread::{impl#2}::new::thread_start () at library/std/src/sys/unix/thread.rs:108
#76 0x00007f64146c1b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#77 0x00007f6414753a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment