Unstable processes in magnetic cataclysmic variables. I. Case of the long-period polar QQ vulpeculae