Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

hi,

i am developing a game.... and everything seems to be fine.... except that..... if i choose exit option from the main menu.....then the app. freezes and i have to reset the device....

the app. is working fine in the emulator.....

i had checked my PFNFREEAPPDATA function..... for any unreleased resources..... but..... everything has been released... and looks ok....

please... help in this issue.....

thanx,
pradyp7.

Sounds like a NULL pointer access issue. Also check for a double free or a possible memory access outside of a buffer. If you could post your code that is run when the exit option is selected, we could try to debug your code.

Sounds like a NULL pointer access issue. Also check for a double free or a possible memory access outside of a buffer. If you could post your code that is run when the exit option is selected, we could try to debug your code.

Hi Jonathan,
thanks for your reply.....
i got the solution....... actually.....i am implementing evt_key_press..... evt_key_release...... and evt_key...... so....my ishell_closeapplet is getting called twice.... resulting PFNFREEAPPDATA function to be called twice (double free)...
regards,
pradyp7.

Hi Jonathan,
thanks for your reply.....
i got the solution....... actually.....i am implementing evt_key_press..... evt_key_release...... and evt_key...... so....my ishell_closeapplet is getting called twice.... resulting PFNFREEAPPDATA function to be called twice (double free)...
regards,
pradyp7.