[toc]
- Name: Runjie Yu
- Github: https://github.com/zjregee
- Email: [email protected]
- Location: Wuhan, China (GMT+8:00)
WARNING: ThreadSanitizer: data race (pid=1081491) | |
Write of size 8 at 0x562c7232a9c0 by main thread: | |
#0 set_default_allocator_unlocked /home/manjusaka/Documents/projects/cpython/Objects/obmalloc.c:862 (python+0x36e0d6) (BuildId: 8ea76303973e70419df8cb7a76e3a069a5ecd62f) | |
#1 _PyMem_SetDefaultAllocator /home/manjusaka/Documents/projects/cpython/Objects/obmalloc.c:500 (python+0x36dfa6) (BuildId: 8ea76303973e70419df8cb7a76e3a069a5ecd62f) | |
#2 _PyImport_Fini /home/manjusaka/Documents/projects/cpython/Python/import.c:3988 (python+0x5984e2) (BuildId: 8ea76303973e70419df8cb7a76e3a069a5ecd62f) | |
#3 _Py_Finalize /home/manjusaka/Documents/projects/cpython/Python/pylifecycle.c:2124 (python+0x5cf207) (BuildId: 8ea76303973e70419df8cb7a76e3a069a5ecd62f) | |
#4 Py_FinalizeEx /home/manjusaka/Documents/projects/cpython/Python/pylifecycle.c:2210 (python+0x5cecb3) (BuildId: 8ea76303973e70419df8cb7a76e3a069a5ecd62f) | |
#5 Py_RunMain /home/manjusaka/Documents/projects/cpython/Modules/main.c:777 (python+0x652a56) (Buil |
SKB CPU PROCESS FUNC | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] udp4_hwcsum netns=4026534868 mark=0x0 iface=0 proto=0x0000 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] ip_send_skb netns=4026534868 mark=0x0 iface=0 proto=0x0000 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] __ip_local_out netns=4026534868 mark=0x0 iface=0 proto=0x0000 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] ip_output netns=4026534868 mark=0x0 iface=0 proto=0x0800 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] ip_finish_output netns=4026534868 mark=0x0 iface=3(eth0) proto=0x0800 mtu=1500 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/p |
RT |
[toc]
{ | |
"ociVersion":"1.1.0-rc.1", | |
"process":{ | |
"user":{ | |
"uid":0, | |
"gid":0, | |
"additionalGids":[ | |
0, | |
1, | |
2, |
from bcc import BPF | |
import time | |
import argparse | |
bpf_text = """ | |
#include <uapi/linux/ptrace.h> | |
#include <linux/fs.h> | |
#include <linux/sched.h> | |
BPF_HASH(fd_info, pid_t, int); |
from flask import Flask, request, render_template_string, jsonify | |
from flask_caching import Cache | |
app = Flask(__name__) | |
cache = Cache(app, config={"CACHE_TYPE": "SimpleCache"}) | |
# The HTML template as a string | |
html_template = """ | |
<!doctype html> | |
<html> |
version: '3.8' | |
services: | |
emby: | |
container_name: emby | |
image: emby/embyserver:latest | |
# Obviously you'll need to update these | |
environment: | |
- UID=1002 | |
- GID=1002 |
.global _start | |
.section .text | |
_start: | |
# Setup stack frame | |
movq %rsp, %rbp | |
# Load argc | |
movq (%rbp), %r8 # %r8 now holds argc |
use reqwest::Client; | |
use serde::{Deserialize, Serialize}; | |
use serde_json; | |
use bytes::Bytes; | |
#[derive(Clone, Debug, Deserialize, Serialize)] | |
struct DropboxDeleteArgs { | |
path: String, | |
} |