found a bug where specifying both read|write for a single event let to a crash; found by Bruno Achauer svn:r73