[yocto] Tcl SIGCHLD lost process error
mircea.gliga at vitheia.com
Tue Nov 1 23:32:46 PDT 2016
Does anyone has this issue also ?
Any input ?
On 28/10/16 15:36, Valentina Skorpion wrote:
> Hello everyone,
> I have been using yocto jethro in order to build my custom Linux
> distribution for several devices ( qemuarm , sama5d4, etc) . I have
> used the linux-yocto 4.1.5 kernel version and latest version packages.
> After upgrading to yocto krogoth I have used a newer version of linux
> kernel ( version 4.7.2 ) and newer version packages. I had some tcl
> scripts which worked fine before but now the following error has been
> error waiting for process to exit : child process lost is sigchld
> ignored or trapped? )
> This error is being triggered when tcl *exec *function is
> executed. Even simpler commands such as "exec ls" triggers the same
> error (the command is not executed).
> I have tried to reproduce the error on yocto krogoth with older
> versions of linux kernel. On linux-yocto 4.4 the same error appeared.
> On linux-yocto 4.1.5 with some outdated packages (with older version,
> only Tcl had the same version in all test cases) the exec function
> runned fine (as I have mentioned before). To reproduce the error in
> this case, SIGCHLD had to be trapped outside tclsh (with trap command
> : trap "" CHLD), but even then, the command inside exec was executed
> and only after that the mentioned error was triggered (similar to this
> http://www.rkeene.org/projects/tcl/tcl.fossil/info/2982713fffffffff ).
> It seemed at a package (on which depends Tcl) traps or ignores
> the SIGCHLD. After some research, a similar issue has been reported (
> https://sourceware.org/bugzilla/show_bug.cgi?id=19861 ). In a newer
> glibc version, fork functionality could not use IFUNC resolver so it
> would trigger in tcl the SIGCHLD error. A patch has been applied to
> glib pt-fork.c (
> ) in order to fix the issue and now works fine.
> Has somebody encountered this issue too? Has anyone used this
> patch to fix the problem or used another fix? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the yocto