diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-16 23:37:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | 233f811bba051de380457183ee41c51a034ecd4c (patch) | |
| tree | 29e0232de2dde5c383ac670d22529648757bfad8 /examples/noc/src/quadtree.zig | |
| parent | 341882fc1a655137c7a68cdf45c77d5d53c0e522 (diff) | |
| download | sketchbook-233f811bba051de380457183ee41c51a034ecd4c.tar.gz sketchbook-233f811bba051de380457183ee41c51a034ecd4c.zip | |
Keep a loaded sketch library's name valid, for panic traces
A panic's stack trace finds a library's debug info by the name dlopen was
given, and the load link was deleted right after loading: every frame in a
sketch printed as ??? (a sketch that links libc; one that does not is not
seen by Zig's own dl_iterate_phdr at all). Link and fd now live as long as
the library is loaded, and Library.close removes them; a host that dies
leaves its dangling links in $XDG_RUNTIME_DIR.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'examples/noc/src/quadtree.zig')
0 files changed, 0 insertions, 0 deletions
