Skip to content

Instantly share code, notes, and snippets.

WARNING: ThreadSanitizer: thread leak (pid=13206)
Thread T1 (tid=13208, finished) created by main thread at:
#0 pthread_create (python+0xcafed) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#1 do_start_joinable_thread /home/runner/work/cpython/cpython/Python/thread_pthread.h:288:14 (python+0x5b54c8) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#2 PyThread_start_joinable_thread /home/runner/work/cpython/cpython/Python/thread_pthread.h:312:9 (python+0x5b52ea) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#3 ThreadHandle_start /home/runner/work/cpython/cpython/./Modules/_threadmodule.c:422:9 (python+0x67883b) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#4 do_start_new_thread /home/runner/work/cpython/cpython/./Modules/_threadmodule.c:1797:9 (python+0x67883b)
#5 thread_PyThread_start_new_thread /home/runner/work/cpython/cpython/./Modules/_threadmodule.c:1843:9 (python+0x676f71) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#6 cfunction_call /home/run
cpython.json
============
Performance version: 1.0.5
Report on Linux-5.15.0-1015-aws-x86_64-with-glibc2.31
Number of logical CPUs: 72
Start date: 2022-10-05 20:44:16.566250
End date: 2022-10-05 21:03:45.931479
func-modified-cb.json
import timeit
def test():
def noop():
pass
return noop
if __name__ == "__main__":
cpython.json
============
Performance version: 1.0.5
Report on Linux-5.15.0-1015-aws-x86_64-with-glibc2.31
Number of logical CPUs: 72
Start date: 2022-09-29 00:08:26.503210
End date: 2022-09-29 00:28:05.384694
func_modified_cb.json
import asyncio
from asyncio.tasks import Task
from test.support.cinder import get_await_stack
def dump_await_stack():
async def helper():
print("Stack retrieved using awaiters:")
coro = asyncio.current_task()._coro
"""Reconstruct awaiters stack, including Tasks."""
import asyncio
import os
def get_await_stack(coro):
"""Return a coroutine's chain of awaiters.
This follows the cr_await links.
import asyncio
from asyncio.tasks import Task
from test.support.cinder import get_await_stack
async def f1():
return await f2()
{
"module": "typing",
"qualname": "Dict",
"elem_types": [
{
"module": "builtins",
"qualname": "str"
},
{
"module": "builtins",

Keybase proof

I hereby claim:

  • I am mpage on github.
  • I am mpage (https://keybase.io/mpage) on keybase.
  • I have a public key ASAfX6aySNwecpsO1NzseqtCuqhAzCz82uchjcujytxB7Qo

To claim this, I am signing this object:

@mpage
mpage / gist:cc1c160d1cd17803576b
Created June 10, 2015 20:28
Terraform crash report
This file has been truncated, but you can view the full file.
2015/06/10 20:27:49 [INFO] Terraform version: 0.5.3 b62875a0f01db282a536404b876430ae8e4c1a48+CHANGES
2015/06/10 20:27:49 Detected home directory from env var: /home/vagrant
2015/06/10 20:27:49 [DEBUG] Discovered plugin: atlas = /home/vagrant/bin/terraform-provider-atlas
2015/06/10 20:27:49 [DEBUG] Discovered plugin: aws = /home/vagrant/bin/terraform-provider-aws
2015/06/10 20:27:49 [DEBUG] Discovered plugin: cloudflare = /home/vagrant/bin/terraform-provider-cloudflare
2015/06/10 20:27:49 [DEBUG] Discovered plugin: cloudstack = /home/vagrant/bin/terraform-provider-cloudstack
2015/06/10 20:27:49 [DEBUG] Discovered plugin: consul = /home/vagrant/bin/terraform-provider-consul
2015/06/10 20:27:49 [DEBUG] Discovered plugin: digitalocean = /home/vagrant/bin/terraform-provider-digitalocean
2015/06/10 20:27:49 [DEBUG] Discovered plugin: dme = /home/vagrant/bin/terraform-provider-dme
2015/06/10 20:27:49 [DEBUG] Discovered plugin: dnsimple = /home/vagrant/bin/terraform-provider-dnsimple