When I close the application from the device (exit button) the next message is displayed

[Qt Message] loaded the Generic plugin
[Qt Message] Loaded the symbian sensor plugins
Process 579, thread 580 stopped at 0x80296bf1: Thread 0x244 has panicked. Category: USER; Reason: 42


In Forum Nokia Library:

42 This panic is raised by a number of RHeap member functions, AllocLen(), Free(), FreeZ(), ReAlloc(), ReAllocL(), Adjust() and AdjustL() when a pointer passed to these functions does not point to a valid cell.

But I don't find any pointer problem in my code.

It gets ever weirder when I notice that it just happens when I exit pressing the "exit" button from the device, it doesn't appear if I exit from the Qt Creator.


Does anybody had a similar problem and was able to solve it?

thanks!