Qt application crashes while recording or typing

Last edited on

Symptoms

You may get the following or similar error messages:

# ** The application CRASHED at this point! ** # RtlInitUnicodeString+0x1f3 in ntdll # RtlFreeHeap+0x7e in ntdll # HeapFree+0x14 in kernel32 # free+0x1c in MSVCR100 # public: virtual void __thiscall Squish::SquishClass_char::deleteObjectData(void *,class Squish::ObjectAttribute const &)const +0x24 in squishhook # private: bool _thiscall Squish::QtWrapper::Application::eatEventAfter(class QEvent *,class QObject *,class Squish::EventData const &,bool *)+0x14bf in squishqtwrapper # public: bool __thiscall Squish::QtWrapper::Application::notify(class QObject *,class QEvent *,bool (_cdecl*)(class QApplication *,class QObject *,class QEvent *))+0x1e7e in squishqtwrapper # appNotify+0x24 in squishqtwrapper # public: bool __thiscall OverloadApplication::notify(class QObject *,class QEvent *)+0x34 in squishqtpre # private: static bool __cdecl QCoreApplication::sendSpontaneousEvent(class QObject *,class QEvent *)+0x22 in QtCore4 […]

Detail Test ‘test.py’ aborted because the AUT crashed RtlInitUnicodeString+0x196 in ntdll RtlFreeHeap+0x7e in ntdll HeapFree+0x14 in kernel32 free+0x1c in MSVCR100 public: virtual void __thiscall Squish::SquishClass_char::deleteObjectData(void *,class Squish::ObjectAttribute const &)const +0x24 in squishhook appNotify+0x24 in squishqtwrapper public: bool __thiscall OverloadApplication::notify(class QObject *,class QEvent *)+0x34 in squishqtpre private: static bool __cdecl QCoreApplication::sendSpontaneousEvent(class QObject *,class QEvent *)+0x22 in QtCore4 in addressbook (+0x4f30) […]

Possible causes

Compiler mismatch between Squish and the application

This can occur if Squish for Qt is built with MSVC10, but the application (or its Qt libraries) was built with MSVC9.

The solution is to use a Squish for Qt package that has been compiled with the same compiler as the one used to build the Qt libraries used by the application.

Related information

Requirements of Squish for Qt