Judging from the description of application's behaviour I would say that your application falls into some kind of recursion and events are contantly added to the event queue until the program crashes. Have you seen what's happening with the memory usage? Does it grow? Did you try to use a debugger to see where it exactly crashes and to examine the backtrace?
Bookmarks