In hplip, nearly every executable will segmentation fault at some point during execution. Following this segmentation fault in a debugger revealed that it occurs whenever os.forkpty() is called in Python 2.7. Finding an obscure reference to a similar problem in the PyPy project, sufficient google-fu was applied to track down the source of the error. This led to the discovery of an issue on the Gentoo bug tracker to a similar effect:
https://bugs.gentoo.org/show_bug.cgi?id=584916
Comment 12 makes reference to a bug in glibc causing forkpty to behave incorrectly, as well as an upstream patch from Florien Weimer:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=patch;h=f06f3f05b48c72e2c9b0fa78671f94fd22d67da8
@ikey is currently working on a local Solus patch to the same effect. This still needs testing to verify that it does in fact correct os.forkpty() functionality. However, we will need to begin an upstream discussion to make sure this patch gets incorporated into future versions of glibc.
