DB Error: constraint violation on anonymous user event registration after 5.8.2 -> 5.9.0 update
I could solve the problem... I had disabled the Mail module of CiviCRM as I do yet not use it. After reenabling it, the error was gone. Looks like that even disabled modules leave remnants in the database causing possible trouble.