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 

Reserved Instruction exception

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



Joined: 22 Apr 2004
Posts: 230

PostPosted: Sun Jun 11, 2006 3:24 am    Post subject: Reserved Instruction exception Reply with quote

while trying to make lua 5.1 running on the ps2, i got this exception

Quote:

EE Exception handler: Reserved instruction exception

Cause 70008028 BadVaddr 0000000c Status 70030c13 EPC 00100764


I dumped the elf and have at the following instructions at the specified EPC :

Quote:

100750: 24c5004c addiu a1,a2,76
100754: 00a0382d move a3,a1
100758: 8c820004 lw v0,4(a0)
10075c: 8c430000 lw v1,0(v0)
100760: 24020005 li v0,5
100764: 8c64000c lw a0,12(v1)
100768: aca20004 sw v0,4(a1)
10076c: 1000ffd0 b 1006b0 <index2adr+0x30>
100770: acc4004c sw a0,76(a2)
100774: 00000000 nop


can anyone help me with this ? I'm bit confused and lost with the exception type...

[EDIT] Solved ! in my interpreter I was loading 2 times the io library.. (bad cut/paste), seems the the EE doesn't like it anyway !
Back to top
View user's profile Send private message Visit poster's website
cheriff
Regular


Joined: 23 Jun 2004
Posts: 262
Location: Sydney.au

PostPosted: Sun Jun 11, 2006 1:20 pm    Post subject: Reply with quote

Also (mainly for anyone else who finds this and is looking for a solution), on IRC recently there was a dicussion about a Reserved instruction exception was thrown. This was later found to really be a NULL pointer dereference...

Just FYI, something to look out for future reference.
_________________
Damn, I need a decent signature!
Back to top
View user's profile Send private message
evilo



Joined: 22 Apr 2004
Posts: 230

PostPosted: Sun Jun 11, 2006 7:40 pm    Post subject: Reply with quote

thanks for the info :)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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