[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1111: signal bug with session manager
From:       Harri Porten <porten () tu-harburg ! de>
Date:       1999-04-01 1:02:54
[Download RAW message or body]

Navindra Umanee wrote:
> 
> The session manager has a signal bug that interferes with the Debian
> package manager.  Typical symptoms:
> 
> [asimov] [/var/cache/apt/archives] sudo dpkg -i isapnptools_1.16-4.1.deb
> (Reading database ... 46936 files and directories currently installed.)
> Preparing to replace isapnptools 1.13-3.1 (using isapnptools_1.16-4.1.deb) ...
> Unpacking replacement isapnptools ...
> gzip: stdout: Broken pipe

I believe to have tracked down the problem. I don't have a proper fix
yet but please try the following patch to see if the problem
dissappears. I hope that you *do* compile from the sources. Otherwise
we'll have to find someone who has and could do this experiment.

Harri.

--- kdelibs/kdecore/kprocctrl.cpp.bak	Thu Apr  1 01:37:30 1999
+++ kdelibs/kdecore/kprocctrl.cpp	Thu Apr  1 02:54:46 1999
@@ -76,7 +76,7 @@
   sigemptyset(&(act.sa_mask));
   sigaddset(&(act.sa_mask), SIGPIPE);
   act.sa_flags = 0;
-  sigaction( SIGPIPE, &act, 0L);
+  //  sigaction( SIGPIPE, &act, 0L);
 }
 
 void KProcessController::theSigCHLDHandler(int )

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic