Re: safe usage of clone() ?

From: Aaron Denney (wnoise@ugcs.caltech.edu)
Date: Wed Apr 19 2000 - 14:12:55 EDT

  • Next message: Florian Lohoff: "include/linux/serial.h"

    On Wed, 19 Apr 2000 16:04:17 +0100, Frederick Barnes <frmb2@ukc.ac.uk> wrote:
    > I've got a program which creates 10 clone()s of itself, sharing
    > VM, FS info and file descriptors (CLONE_VM|CLONE_FS|CLONE_FILES).
    ...
    > it segfaults.
    >
    > The problem could well be in my code, but I've not spotted it yet.
    > If anybody has any ideas as to what the problem might be, I'd be
    > most grateful, cos it's giving me headaches.

    Sharing VM includes sharing stack. Are you setting up seperate stacks
    for the seperate tasks?

    -- 
    Aaron Denney
    -><-
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Wed Apr 19 2000 - 14:30:27 EDT