If it pops open the console, you are seeing a fatal error then. Without any log information nobody is going to be able to help you.I've been running into this problem too. If I drag the stack to the bottom of my inventory I can split it, but if it's in the upper half, it sometimes brings up the [Open Codex] prompt. I only see it when I'm not solo/hosting.