forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crashing On Exit?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
TheBuzzer



Joined: 06 Feb 2006
Posts: 49

PostPosted: Mon Aug 28, 2006 5:07 am    Post subject: Crashing On Exit? Reply with quote

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.
Back to top
View user's profile Send private message
TheBuzzer



Joined: 06 Feb 2006
Posts: 49

PostPosted: Mon Aug 28, 2006 6:40 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mbf



Joined: 18 Aug 2006
Posts: 55

PostPosted: Mon Aug 28, 2006 7:03 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
TheBuzzer



Joined: 06 Feb 2006
Posts: 49

PostPosted: Tue Aug 29, 2006 10:22 am    Post subject: Reply with quote

i do just call sceKernelExitGame but it freezes.

no clue why.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group