Have you tried it in the debugger to see where the crash occurs?