Is there anything else it could result from? I've looked through the code and can't seem to find the function causing the crash.

In the meantime I'll keep looking, thanks.