Crashing On Exit?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
TheBuzzer
Posts: 49
Joined: Mon Feb 06, 2006 10:02 am

Crashing On Exit?

Post by TheBuzzer »

What cause the psp to crash on exit?

I am not sure what causes it but the psp crash on exit sometimes.

Like it is tying to quit but quits too slow or something and just crashes.
TheBuzzer
Posts: 49
Joined: Mon Feb 06, 2006 10:02 am

Post by TheBuzzer »

weird. i remove a variable i dont need anymore and it crashes but if i add it back in it does not crash on exit.
mbf
Posts: 55
Joined: Fri Aug 18, 2006 7:43 pm

Post by mbf »

check out the last Q/A in the FAQ: http://wiki.pspdev.org/psp:programming_faq.

It's not really clear though. Instead of calling sceKernelExitGame from your exit callback, try sending a signal to your main thread and perform the cleanup/exit from there (shutdown other threads, etc.)

btw, does anyone know in which context is called the exit callback? Is it in the kernel thread handling the home button, or in the callback thread? In the latter case, does it have to be put back to sleep or something like that?
TheBuzzer
Posts: 49
Joined: Mon Feb 06, 2006 10:02 am

Post by TheBuzzer »

i do just call sceKernelExitGame but it freezes.

no clue why.
Post Reply