×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2005
    Location
    Paris
    Posts
    9

    About USER 45 panic

    Hi, I have a USER 45 panic, which is explained in the SDK that:

    This panic is raised by the Free() and FreeZ() member functions of an RHeap. It is caused when the cell being freed overlaps the previous cell on the free list (i.e. the last cell on the free list with an address lower than the one being freed).

    but I dont really understand it. Could anyone give me more explaination, please? Thanks

    Dinh Tran

  2. #2
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122

    Re: About USER 45 panic

    You're trying to free some memory that has not been allocated. Usually it is calling delete on the same pointer twice. It's a good habit to set your pointers to zero after delete. (Exception: in destructors, you can safely just delete.)

    Lauri

  3. #3
    Registered User
    Join Date
    Aug 2005
    Location
    Paris
    Posts
    9

    Re: About USER 45 panic

    cooooooolllll, thanks again Lauri. I am a newbie, i spent 2 days just on this bug and thanks for your answer, the bug is gone ....

    do u know any ebook on C++ symbian; please? i want to learn but didnt really find something.

    thanks so much again, Lauri

    Dinh Tran

Similar Threads

  1. user 23 panic
    By liadalex in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-02-03, 08:35
  2. Panic User 23
    By liadalex in forum Symbian
    Replies: 2
    Last Post: 2005-02-02, 15:51
  3. Replies: 2
    Last Post: 2004-09-15, 22:47
  4. User 23 Panic, because of resource definition
    By doctordwarf in forum Symbian
    Replies: 2
    Last Post: 2004-02-10, 07:36
  5. Replies: 0
    Last Post: 2003-02-20, 13:38

Posting Permissions

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