tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Workaround for Suspended (tty output) in python?



> Date: Wed, 27 Dec 2023 03:57:23 +0000 (UTC)
> From: John Klos <john%klos.com@localhost>
> 
> Does anyone have a clue about what to do about python's tendency to hang 
> with "Suspended (tty output)" when output is sent to a file? I'm not a fan 
> of running all things pkgsrc in tmux because of this rather annoying bug.

Can you:

1. put `INSTALL_UNSTRIPPED= yes' and `CFLAGS+= -g -O2' in mk.conf,
2. make sure to rebuild python and check for debug data with readelf/gdb,
3. attach gdb to the python process when it happens next, and
4. get a stack trace?


Home | Main Index | Thread Index | Old Index