 David Cronenberg (qv) wrote the film following the tumultuous  divorce and custody battle he waged against his former wife.  Cronenberg has said that Samantha Eggar (qv)s character possesses  some characteristics of his ex