Interrupting memray attach
with Ctrl-C segfaults the application it's attached to
#609
Labels
bug
Something isn't working
memray attach
with Ctrl-C segfaults the application it's attached to
#609
Run an application like
python -m http.server &
then attach to it withmemray attach -v $!
. Theattach
call hangs, because it's waiting for an allocation in the HTTP server process which will never come (unless you send it an HTTP request). But, if you Ctrl-C thememray attach
call, the HTTP server process dies with a segfault, in at least some cases (I'm having trouble reproducing this, but it reproduced for @sarahmonod consistently).The text was updated successfully, but these errors were encountered: