Hello,
Are you debugging in Qt Creator? If so, you can see the stack trace when the crash ensues. What does it read? You can also navigate through the several nested calling contexts and inspect the contents of the variables of each one.
regards,
Paulo