[arch-general] Defunct processes left behind for screen and firefox

David Houston root at crankyadmin.net
Tue Oct 6 11:55:52 EDT 2009


What terminal emulator are you using?

Also what happens if you start a screen session in VT and detach and
reattach once in X.

It sounds like a variable is wonky somewhere...

Dave
-------------
root at crankyadmin.net
cranky at archlinux.us



On Tue, Oct 6, 2009 at 4:40 PM, Ciprian Dorin, Craciun
<ciprian.craciun at gmail.com> wrote:
> On Tue, Oct 6, 2009 at 6:33 PM, David Houston <root at crankyadmin.net> wrote:
>> I Wonder weather it is your screen augments. Try using just -r rather than -RR
>>
>> Dave
>> -------------
>> root at crankyadmin.net
>> cranky at archlinux.us
>>
>>
>>
>> On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun
>> <ciprian.craciun at gmail.com> wrote:
>>> On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
>>>> On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun
>>>> <ciprian.craciun at gmail.com> wrote:
>>>>>    Hello all!
>>>>>
>>>>>    I'm having the following issue: after opening and closing some
>>>>> shells within the same screen session, I'm left with a bunch of
>>>>> defunct bash processes, that screen doesn't seem to wait for... Is
>>>>> there any issue with screen?
>>>>>
>>>>>    Or is there any issue in general, as Firefox plugin FireGPG seems
>>>>> to do the same with gpg. (Which it didn't on Debian.)
>>>>
>>>> I've never noticed this myself. Are you sure you're actually exiting
>>>> screen and not just detaching?
>>>
>>>    Bellow is the output of `ps axf`. The problem is that screen
>>> does't collect properly the defunct bash processes.
>>>
>>> 17030 ?        S      0:00 urxvt -title x-shell -e
>>> /home/ciprian/.bin/x-console -- screen -RR
>>> 17032 pts/1    Ss+    0:00  \_ screen -RR
>>> 17036 ?        Ss     0:00      \_ SCREEN -RR
>>> 17037 pts/2    Rs     0:00          \_ /bin/bash
>>> 17137 pts/2    R+     0:00          |   \_ ps axf
>>> 17044 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17046 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17048 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17050 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17051 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17054 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17055 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17057 ?        Zs     0:00          \_ [bash] <defunct>
>>> 17060 ?        Zs     0:00          \_ [bash] <defunct>
>
>
>    I've tried with only -r but it doesn't work as I have no open
> screen session.
>
>    But I've tried it with no argument at all (just `screen`), and it
> still has the defunct processes.
>
>    Strange enough, it seems that only when using screen under X, it
> behaves like this... (Directly in a VT works ok.)
>
>    Ciprian.
>


More information about the arch-general mailing list