Yes i should have shown more. I try to be better next time.
I have fixed the issue. I cant believe, that i have found again not just one error.
First, i had a catch implemented, that would not let it come to a wrong memory acces, but this had an error so it came too early.
Second, feof() (C on windows) does not tell you, when you just read the last byte, and have reached the EOF. omfg
And while dealing with this issue, i had several BSOD's. What a nice time i have....