Skip to content

Instantly share code, notes, and snippets.

@pablogsal
Created March 7, 2026 23:44
Show Gist options
  • Select an option

  • Save pablogsal/ac78ca79972df9430bc722c0c8f19fa9 to your computer and use it in GitHub Desktop.

Select an option

Save pablogsal/ac78ca79972df9430bc722c0c8f19fa9 to your computer and use it in GitHub Desktop.
success.txt
-> Running: ./a.sh
-> Attaching to process 22778...
-> [startup pid=22778] waiting for initial TRACEME stop
-> [startup pid=22778] initial trace stop observed with signal SIGTRAP
-> [startup pid=22778] startup ptrace guard attached
-> [startup pid=22778] startup probe loop begins
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection skipped (no task port)
-> [startup pid=22778] python_image_active=false
-> [startup pid=22778] ptrace::cont(signal=None)
-> [startup pid=22778] phase=awaiting-python
[a.sh] Starting at 2026-03-07 23:43:17.813913000
[a.sh] PID=22778, PPID=22777
[a.sh] Script dir: /Users/pablogsal/github/chronon
[a.sh] Working directory: /Users/pablogsal/github/chronon
[a.sh] CHRONON_TEST_PYTHON=/Users/pablogsal/github/python/main/python.exe
[a.sh] Sleeping 1 second...
[a.sh] Exec'ing into b.sh...
-> [startup pid=22778] kqueue NOTE_EXEC observed
-> [startup pid=22778] resetting breakpoint/task state after exec transition
-> [startup pid=22778] breakpoint guard reset after exec
-> [startup pid=22778] exec transition observed
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection skipped (no task port)
-> [startup pid=22778] python_image_active=false
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection skipped (no task port)
-> [startup pid=22778] python_image_active=false
-> [startup pid=22778] waitpid: stopped (SIGTRAP)
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection skipped (no task port)
-> [startup pid=22778] python_image_active=false
-> [startup pid=22778] awaiting-phase resume signal=None
-> [startup pid=22778] ptrace::cont(signal=None)
[b.sh] Starting at 2026-03-07 23:43:18.844557000
[b.sh] PID=22778, PPID=22777
[b.sh] Script dir: /Users/pablogsal/github/chronon
[b.sh] Working directory: /Users/pablogsal/github/chronon
[b.sh] Sleeping 1 second...
[b.sh] Exec'ing into c.sh...
-> [startup pid=22778] kqueue NOTE_EXEC observed
-> [startup pid=22778] resetting breakpoint/task state after exec transition
-> [startup pid=22778] breakpoint guard reset after exec
-> [startup pid=22778] exec transition observed
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection skipped (no task port)
-> [startup pid=22778] python_image_active=false
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection skipped (no task port)
-> [startup pid=22778] python_image_active=false
-> [startup pid=22778] waitpid: stopped (SIGTRAP)
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection skipped (no task port)
-> [startup pid=22778] python_image_active=false
-> [startup pid=22778] awaiting-phase resume signal=None
-> [startup pid=22778] ptrace::cont(signal=None)
[c.sh] Starting at 2026-03-07 23:43:19.876581000
[c.sh] PID=22778, PPID=22777
[c.sh] Script dir: /Users/pablogsal/github/chronon
[c.sh] Working directory: /Users/pablogsal/github/chronon
[c.sh] CHRONON_TEST_PYTHON=/Users/pablogsal/github/python/main/python.exe
[c.sh] Sleeping 1 second...
[c.sh] Exec'ing into: /Users/pablogsal/github/python/main/python.exe -m test test_tokenize
-> [startup pid=22778] kqueue NOTE_EXEC observed
-> [startup pid=22778] resetting breakpoint/task state after exec transition
-> [startup pid=22778] breakpoint guard reset after exec
-> [startup pid=22778] exec transition observed
-> [startup pid=22778] acquiring task port (context=runtime-detection)
-> [startup pid=22778] task port acquired (context=runtime-detection)
-> [startup pid=22778] runtime-detection symbols: main_executable_dynamic=true
-> [startup pid=22778] python_image_active=true
-> [startup pid=22778] reusing existing task port (context=runtime-detection)
-> [startup pid=22778] runtime-detection symbols: main_executable_dynamic=true
-> [startup pid=22778] python_image_active=true
-> [startup pid=22778] arming startup breakpoint (context=exec-stop)
-> [startup pid=22778] reusing existing task port (context=exec-stop)
-> [startup pid=22778] resolving startup symbol candidates [main]
-> [startup pid=22778] resolved from main executable: main at 0x1020448d8
-> Python runtime detected in target binary
-> Startup breakpoint set at main (0x1020448d8)
-> [startup pid=22778] breakpoint install result=true (context=exec-stop)
-> [startup pid=22778] python runtime detected on startup stop; breakpoint armed
-> [startup pid=22778] phase=python-active
-> [startup pid=22778] breakpoint arm skipped (context=deferred, already armed/hit)
-> [startup pid=22778] waitpid: stopped (SIGTRAP)
-> [startup pid=22778] wait_step consumed immediate waitpid action
-> [startup pid=22778] stopped signal received: SIGTRAP (exec_observed=false)
-> [startup pid=22778] SIGTRAP received but no thread at startup breakpoint
-> [startup pid=22778] breakpoint arm skipped (context=deferred, already armed/hit)
-> [startup pid=22778] SIGTRAP did not match startup breakpoint; re-armed
-> [startup pid=22778] python-phase resume signal=None
-> [startup pid=22778] ptrace::cont(signal=None)
-> [startup pid=22778] waitpid: stopped (SIGTRAP)
-> [startup pid=22778] stopped signal received: SIGTRAP (exec_observed=false)
-> Startup breakpoint hit at 0x1020448d8 — Python runtime is initializing
-> [startup pid=22778] startup breakpoint handling completed
-> [startup pid=22778] SIGTRAP matched startup breakpoint
-> [startup pid=22778] startup gate hit; refreshing loaded images and arming runtime breakpoint
-> [startup pid=22778] arming startup breakpoint (context=runtime-stage)
-> [startup pid=22778] reusing existing task port (context=runtime-stage)
-> [startup pid=22778] resolving startup symbol candidates [Py_RunMain, _Py_RunMain, Py_Main, _Py_Main, PyEval_EvalFrameDefault, _PyEval_EvalFrameDefault, PyEval_EvalCode, _PyEval_EvalCode, PyEval_EvalCodeEx, _PyEval_EvalCodeEx, PyEval_EvalFrameEx, _PyEval_EvalFrameEx]
-> [startup pid=22778] resolved from main executable: Py_RunMain at 0x102289e40
-> Startup breakpoint set at Py_RunMain (0x102289e40)
-> [startup pid=22778] breakpoint install result=true (context=runtime-stage)
-> [startup pid=22778] python-phase resume signal=None
-> [startup pid=22778] ptrace::cont(signal=None)
-> [startup pid=22778] waitpid: stopped (SIGTRAP)
-> [startup pid=22778] stopped signal received: SIGTRAP (exec_observed=false)
-> Startup breakpoint hit at 0x102289e40 — Python runtime is initializing
-> [startup pid=22778] startup breakpoint handling completed
-> [startup pid=22778] SIGTRAP matched startup breakpoint
-> [startup pid=22778] runtime breakpoint hit; creating unwinder
-> [startup pid=22778] startup probe completed successfully
-> [startup pid=22778] startup cleanup: breakpoint not installed
-> [startup pid=22778] ptrace detached cleanly
-> Profiling (Ctrl-C to stop)...
-> time 01.0s | samples 810 @ 807 Hz | failed samples 0 (0.0%)DONE
-> time 01.1s | samples 815 @ 738 Hz | failed samples 75 (8.4%)
-> Collected 815 samples (75 failed samples) in 1.1s
-> Writing to profile.svg...
-> profile.svg written successfully!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment