[openbox] openbox started from .xinitrc partially deadlock if started htop.

Piotr Karbowski jabberuser at gmail.com
Sun Jan 1 15:57:49 EST 2017


Hi,

So, as per subject, chectic but in fact true.

I have 'openbox' in the .xinitrc and start it via 'startx'.

I have configured a hotkey to start 'gmrun'. So the parent of gmrun is 
openbo.

If I try to start htop (ncurses application) via gmrun, the parent of 
htop become openbox, the htop goes into T state and half of my system 
deadlocks. Deadbeef, Firefox and Thunderbird goes gray and does not 
respond/refresh. I can still use openbox, switch windows and spawn new 
processes.

It's not possible to kill neither htop nor openbox, but if I kill the 
'sh /home/piotr/.xinitrc' which shares the process group with both 
openbox and htop then system recovers, everything spawned from it is 
killed, I can start it up again and things works.

If I start urxvt (terminal emulator) and then run gmrun there, run htop 
thru gmrun, then the htop displays itself on the terminal from where I 
started gmrun from. This confusess me greatly.

Can someone help me understand what is going on here and where the 
problem is, actually? A ncurses application that try to overtake the 
terminal of parent, or openbox not handling such bizzare usecase? 
Running ncurses application outside of terminal emulator should fail 
anyway, but not in such way.

-- Piotr.


More information about the openbox mailing list