i have a problem i can't understand.
I ported the libmsn to pspsdk, compiled -> ok.
But when i execute it, at a certain points the psp shuts down with this exception:
Code: Select all
Exception details:
Exception - Bus error (data)
EPC - 08907450 / tform_test".text + 00007414
Cause - 1000001C
Status - 00008613
BadVAddr - EF19757D
zr:00000000 at:DEADBEEF v0:1FFFFFFC v1:FFFFFFFF
a0:00000000 a1:29FBFC8C a2:09FBFCB8 a3:08DBD9F8
t0:00000003 t1:00000000 t2:00000003 t3:00000001
t4:09FBFC98 t5:00000001 t6:DEADBEEF t7:DEADBEEF
s0:08DBD9E8 s1:00000014 s2:08DC0000 s3:08DBD9EC
s4:FFFFFFFF s5:08DBDA84 s6:09FBFD08 s7:08A70E00
t8:DEADBEEF t9:DEADBEEF k0:09FBFF00 k1:00000000
gp:08AC5710 sp:09FBFC90 fp:08DBD9E4 ra:0890B8F0
I have 2 "main", main() is the one that initializes the psp callbacks, then i call main2() that is the msn main.
But as soon as i call main2() i get this exception.
Strange.
Stack overflow?