Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2009

    "Thread has panicked" message when closing the application

    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?


  2. #2
    Super Contributor
    Join Date
    Nov 2009
    Minnesota, USA

    Re: "Thread has panicked" message when closing the application

    Your application has a bug in its heap management, and as it's closing down the bug is detected. Most likely you're attempting to free a heap-allocated object twice. This can happen, eg, if you explicitly free an object with a parent.

    It doesn't happen when you exit from Qt Creator because then the app is just killed, vs shutting down normally.

  3. #3
    Registered User
    Join Date
    Oct 2009

    Re: "Thread has panicked" message when closing the application

    Thank you, I'll search for it.

Similar Threads

  1. Add New MTM to "Contacts->Create message" and "Send" menu.
    By sice in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-09-12, 03:56
  2. Closing Application launched by fscommand("launch")
    By mrudulpen in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2008-05-12, 20:42
  3. "Allow application -- to send text message?" How can remove that message?
    By premlathiya in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2006-08-10, 00:17
  4. Replies: 1
    Last Post: 2002-10-08, 15:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts