Sony OSK intermittent crashing

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

Moderators: cheriff, TyRaNiD

Post Reply
justin
Posts: 15
Joined: Wed Oct 17, 2007 7:34 pm

Sony OSK intermittent crashing

Post by justin »

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?
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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)
justin
Posts: 15
Joined: Wed Oct 17, 2007 7:34 pm

Post by justin »

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: Select all

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?
Post Reply