App not starting

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

Moderators: cheriff, TyRaNiD

Post Reply
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

App not starting

Post by gambiting »

Hi! I've succesfuly build my program,but it hangs just after start...when lunched from psplink it shows:

Code: Select all

Exception - Bus error (instr)
Thread ID - 0x0398347F
Th Name   - SceModmgrStartKernel
EPC       - 0x02E17BA0
Cause     - 0x10000018
BadVAddr  - 0x090B567B
Status    - 0x20088603
zr:0x00000000 at:0xDEADBEEF v0:0x00000024 v1:0x00000001
a0:0x08C0764C a1:0x00000000 a2:0x00000024 a3:0x00000000
t0:0x08C00000 t1:0xDEADBEEF t2:0xDEADBEEF t3:0xDEADBEEF
t4:0xDEADBEEF t5:0xDEADBEEF t6:0xDEADBEEF t7:0xDEADBEEF
s0:0x08BDBC78 s1:0xFFFFFFFF s2:0x8890003C s3:0xDEADBEEF
s4:0xDEADBEEF s5:0xDEADBEEF s6:0xDEADBEEF s7:0xDEADBEEF
t8:0xDEADBEEF t9:0x00000000 k0:0x00000000 k1:0x00000000
gp:0x08BF1070 sp:0x09FFFF40 fp:0x09FFFF40 ra:0x08B24730
Could anyone help,please?
Ghoti
Posts: 288
Joined: Sat Dec 31, 2005 11:06 pm

Post by Ghoti »

well i don't think this is clear enough for anyone here to see exaclty what seems to be the problem. (not counting some of the guru's here maybe :D)

anyway, If I encounter such a problem I always do some interrupt in my code to see at what moment the crash occurs.

So if the first interrupt is launched and the second not than it is somewhere between that and than narrow it down untill you get the correct line and post that one or the function in its whole.

This is the way I do it and I am no where near being an expert let alone being a guru so maybe someone else has a better idea :S

ghoti
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

Ghoti wrote:well i don't think this is clear enough for anyone here to see exaclty what seems to be the problem. (not counting some of the guru's here maybe :D)

anyway, If I encounter such a problem I always do some interrupt in my code to see at what moment the crash occurs.

So if the first interrupt is launched and the second not than it is somewhere between that and than narrow it down untill you get the correct line and post that one or the function in its whole.

This is the way I do it and I am no where near being an expert let alone being a guru so maybe someone else has a better idea :S

ghoti
I know it's not simple,but no one said it will be.I've tried using gdb through psplink,and when I set breakpoint on main function and let it continue from that point it just ends.It gives no errors,it just don't start - which is very strange as gdb is debbuger so it should give some output.
Post Reply