FS#13835 - following the output of a process is broken

Attached to Project: Release Engineering
Opened by Dieter Plaetinck (Dieter_be) - Tuesday, 17 March 2009, 21:16 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Tuesday, 07 April 2009, 20:43 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 2009.02
Due in Version 2009.08-alpha
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This should not be that hard to fix, but I can't find it myself. I must be looking over something.

Symptons:
pkg installation hangs at menu 'Package installation will begin now. You can watch the output.."
Pacman is launched in the background and there are 2 processes 'dialog --tailboxbg pacman.log'. You should then see the dialog with the tailboxbg, but it does not appear, unless you kill one of the dialog processes, then the other one seems to appear (?).

Same story when regenerating the mkinitcpio after configuring the system.

I think I probably broke it in one of these commits:
http://github.com/Dieterbe/aif/commit/a97a7ec396b082f8315a46bf57875c4088a9bbc8
http://github.com/Dieterbe/aif/commit/9b9ad8567f1246322904ee2a603b7e6f7f69c768

Note that I reorganized the code a bit after that, but this probably did not affect the already existing bug ( http://github.com/Dieterbe/aif/commit/81472eb69c02b643eb0b66b712013f104d060bdf )
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Tuesday, 07 April 2009, 20:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in http://github.com/Dieterbe/aif/commit/17 984a5dc1bf7ceea218489590f85c1181d91548
Finally *****
Comment by Dieter Plaetinck (Dieter_be) - Tuesday, 17 March 2009, 21:33 GMT
Note: this happens with at least cli and dia mode with the interactive procedure, and cli mode with the automatic mode. (other words: I think it just always happens, no matter the procedure and interface)
Comment by Dieter Plaetinck (Dieter_be) - Tuesday, 24 March 2009, 20:30 GMT
I can confirm that with version a6cc5cce7cf5d8a18f605c2764f57b512b5c8683 it still worked.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 25 March 2009, 13:29 GMT
after more playing, it seems that when you get the 2 dialog processes, and you kill one (I always kill the most recent one) you _won't_ see the tailbox dialog right away. you'll only see the final result one (with the full log) when the operation has completed.
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 04 April 2009, 12:55 GMT
seems like you must kill the 2nd. when i kill the first, nothing happens until i kill the 2nd too

Loading...