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 

Sony OSK intermittent crashing

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



Joined: 17 Oct 2007
Posts: 16

PostPosted: Sat Feb 20, 2010 5:52 pm    Post subject: Sony OSK intermittent crashing Reply with quote

So I've been struggling with this problem for ages: using the sony osk in a game, and sometimes, it crashes. The variable I've narrowed it down to is the number of textures creates, so my guess is graphics memory. Using pspgl + sdl.

My main beef is, I can't debug under psplink, because as far as i know, psplink needs to run under 1.5 kernel, and i'm running 5.0m33 and the 1.5 kernel add on doesn't have the dialog library.

So:
1. is there any way to install the 1.5 dialogs to the 1.5 kernal add on so I can use the built in psp dialogs under psplink and debug this sucker
and
2. is large numbers of textures a likely reason for the osk to crash when loading sometimes, or am I barking up the wrong tree. Running out of heap space maybe?
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sat Feb 20, 2010 11:57 pm    Post subject: Reply with quote

psplink works quite happily on 3+ and has done for many a year. You need to get the latest version of psplinkusb out of subversion (unless you need the wifi or serial versions, then you are stuffed :P)
Back to top
View user's profile Send private message
justin



Joined: 17 Oct 2007
Posts: 16

PostPosted: Sun Feb 21, 2010 5:07 pm    Post subject: Reply with quote

Oh wow. Turns out I had even built the 3+ version, just for some reason have always used the 1.5 version. Thanks for pointing that out for me. I've got the dialogs going under psplink now. I'm not getting a crash out of psp-gdb for the dialog crash, just this:

Code:
Exception - Syscall
Thread ID - 0x048BFE57
Th Name   - SceDialogmainGraphics
Module ID - 0x048C943F
Mod Name  - sceDialogmain_Module
EPC       - 0x08771E8C
Cause     - 0x90000020
BadVAddr  - 0x00000000
Status    - 0x20088613
zr:0x00000000 at:0xBD400000 v0:0x00000000 v1:0x88020000
a0:0x00000000 a1:0x00000007 a2:0x08777CC0 a3:0x087744C0
t0:0xBC100000 t1:0x0000D63F t2:0x00000000 t3:0x0000D63D
t4:0x00000001 t5:0x00000000 t6:0x08773D04 t7:0x00000001
s0:0x08773CC0 s1:0x00130000 s2:0x00000000 s3:0x00000000
s4:0x00000001 s5:0x08770000 s6:0x08770000 s7:0x08770000
t8:0x00000001 t9:0xDEADBEEF k0:0x087FEF00 k1:0x00000013
gp:0x0877BC80 sp:0x882847C0 fp:0x00000002 ra:0x8809C744


Any ideas?
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