Arduino behaves non-deterministic?

Or your code is riddled with bugs. Post your code, in code tags.

Pete