Re: BUG: NTPL: waitpid() doesn't return?

From: bert hubert (ahu_at_ds9a.nl)
Date: 01/31/04

  • Next message: Carl-Daniel Hailfinger: "Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"
    Date:	Sat, 31 Jan 2004 17:18:05 +0100
    To: Matthias Urlichs <smurf@smurf.noris.de>
    
    

    On Sat, Jan 31, 2004 at 04:51:55PM +0100, Matthias Urlichs wrote:

    > > Do you wait for all pids or for a specific one?
    > >
    > ... looking at the strace output, I see that thre are four different
    > threads calling fork+child-exec/parent-waitpid() in parallel. The last
    > one actually succeeds, so you might be right with this analysis.
    >
    > *Sigh* No matter how many people work at that code in the kernel, it's
    > _still_ fragile. :-/

    If they do not wait for a specific pid, the kernel is right. The kernel has
    no way of knowing which process a specific waitpid is waiting for otherwise!

    -- 
    http://www.PowerDNS.com      Open source, database driven DNS Software 
    http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Carl-Daniel Hailfinger: "Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"

    Relevant Pages

    • Re: [PATCH] waitid system call
      ... > Precisely what kernel version was the patch against? ... The build succeeds, but I am running into a strange kernel panic ... likelihood it's a bug caused by my patch, but such an error is so far ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 1/3] 2.6.8-rc4-mm1 - Fix UML build
      ... can access them all, and initialized data all before uninitialized, so ... SYMLINKS:= $,$/$f) ... semaphore.c-dir = kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24
      ... > rebooted to a kernel that doesn't have the RT-preempt patch but ... getting a very verbose running trail, almost like an strace output, ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
      ... Subject: Error mounting root fs on 72:01 using Promise FastTrak TX2000 ... > Now I'm sucessfully booting my system with the 2.4.23 kernel using ... I think it's when the ATARAID driver is about to fire up. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
      ... > Now I'm sucessfully booting my system with the 2.4.23 kernel using ... I think it's when the ATARAID driver is about to fire up. ... > the hard drives since this is the only thing that has changed. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)