[Pkg-xfce-devel] Bug#863851: Bug#863851: xfce4-terminal: command and execute options do not work

Yves-Alexis Perez corsac at debian.org
Tue Jun 13 14:39:56 UTC 2017


On Tue, 2017-06-13 at 12:29 +1200, Ben Caradoc-Davies wrote:
> I was trying to run eight concurrent instances of memtester. It seems 
> that this problem affects programs that do not read input. Can you 
> confirm the failure with either of these?:
> 
> xfce4-terminal -H -x ls
> xfce4-terminal -H -e ls
> 
> (Note the typo in my original report (should be "-x" not "-c"))

We don't get the ls output because it terminates to early I think, but it
works fine with:

xfce4-terminal -x touch /tmp/test

for example.

Even with ls:

strace -fe trace=process xfce4-terminal --disable-server -x /bin/ls
execve("/usr/bin/xfce4-terminal", ["xfce4-terminal", "--disable-server", "-x", "/bin/ls"], [/* 51 vars */]) = 0
arch_prctl(ARCH_SET_FS, 0x3485fd45f00)  = 0
clone(strace: Process 3435 attached
child_stack=0x34853087c70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x348530889d0, tls=0x34853088700, child_tidptr=0x348530889d0) = 3435
[pid  3434] clone(strace: Process 3436 attached
child_stack=0x3485280ec70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x3485280f9d0, tls=0x3485280f700, child_tidptr=0x3485280f9d0) = 3436
[pid  3434] clone(strace: Process 3439 attached
child_stack=0x34849d89c70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x34849d8a9d0, tls=0x34849d8a700, child_tidptr=0x34849d8a9d0) = 3439
[pid  3434] clone(strace: Process 3440 attached
child_stack=0x3484951ec70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x3484951f9d0, tls=0x3484951f700, child_tidptr=0x3484951f9d0) = 3440
[pid  3434] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x3485fd461d0) = 3441
strace: Process 3441 attached
[pid  3441] execve("/bin/ls", ["/bin/ls"], [/* 51 vars */]) = 0
[pid  3434] wait4(3441, 0x5b6de1cbd4, WNOHANG, NULL) = 0
[pid  3441] --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
[pid  3441] arch_prctl(ARCH_SET_FS, 0x3be7e8eb3c0) = 0
[pid  3441] exit_group(0)               = ?
[pid  3441] +++ exited with 0 +++
[pid  3434] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3441, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
[pid  3435] wait4(3441, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 3441
[pid  3434] exit_group(0)               = ?
[pid  3439] +++ exited with 0 +++
[pid  3440] +++ exited with 0 +++
[pid  3436] +++ exited with 0 +++
[pid  3435] +++ exited with 0 +++
+++ exited with 0 +++

So the process is run. Maybe you have issues with stdin/stdout, I'm not sure.

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20170613/7f7c3e4f/attachment.sig>


More information about the Pkg-xfce-devel mailing list