The sequence lives in the object header, and the object is containing the shm struct. The code was reading before the dummy_shm variable and sometimes asserted that the sequence isn't initialized to zero.
Fixes a random wineserver crash, sorry about that.
-- v2: server: Use a shared_object_t for the dummy object.