From kde-core-devel Mon Aug 28 19:53:08 2000 From: Stephan Kulow Date: Mon, 28 Aug 2000 19:53:08 +0000 To: kde-core-devel Subject: [Fwd: Bug#9276: All KDE apps forget to reset signal mask on exec().] X-MARC-Message: https://marc.info/?l=kde-core-devel&m=96749222521943 Hi! Any experts on this issue? Greetings, Stephan -------- Original Message -------- Subject: Bug#9276: All KDE apps forget to reset signal mask on exec(). Resent-Date: Mon, 28 Aug 2000 19:33:02 GMT Resent-From: "Robert H. de Vries" Resent-To: kde-bugs-dist@master.kde.org Resent-CC: owner@bugs.kde.org Date: Mon, 28 Aug 2000 21:18:20 +0200 From: "Robert H. de Vries" Reply-To: "Robert H. de Vries" , 9276@bugs.kde.org To: submit@bugs.kde.org Package: all KDE apps Version: 1.92 When executing an application which uses SIGRTMIN and the application is not linked with -lpthreads, SIGRTMIN is blocked. SIGRTMIN is normally equal to 32. The Linux Pthreads library however uses this signal for its own. It increments SIGRTMIN and all blocks the signal. After forking and execing another program the signal mask is still blocking SIGRTMIN(32 variant). This is quite unexpected. Especially konsole and kdeinit should reset the sigprocmask before calling exec(2). Robert -- Robert de Vries rhdv@rhdv.cistron.nl