We have a scenario where an application which uses libgap calls fork on itself. It appears to work, except in the case where the corresponding installation of GAP has Browse package installed. In this case fork call leads to a lock-up, involving libgap calling ncurses.so GAP kernel module from Browse, which in turns calls libncurses or its equvalent, and, oops, it all freezes. Hitting Ctrl-C produces a dump showing that just mentioned components involved. See e.g. gap-system/homebrew-gap#23 (comment)
As there is no Unload equivalent to LoadPackage, the most obvious workaround is not having Browse installed. Which is kind of silly. Should work be put into getting it fixed?
We have a scenario where an application which uses libgap calls fork on itself. It appears to work, except in the case where the corresponding installation of GAP has Browse package installed. In this case fork call leads to a lock-up, involving
libgapcallingncurses.soGAP kernel module from Browse, which in turns calls libncurses or its equvalent, and, oops, it all freezes. Hitting Ctrl-C produces a dump showing that just mentioned components involved. See e.g. gap-system/homebrew-gap#23 (comment)As there is no Unload equivalent to LoadPackage, the most obvious workaround is not having Browse installed. Which is kind of silly. Should work be put into getting it fixed?