 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Seagaetcm
Joined: 30 Jun 2007 Posts: 10 Location: Peking, China
|
Posted: Sat Jul 21, 2007 2:34 am Post subject: I had a bus error. Please help! |
|
|
I render a model with PSPGL. But there is a Bus error when called function glDrawRangeElements:
| Code: |
glDrawRangeElements (mode=4, start=53, end=464, count=1884, type=5123,
indices=0x8a28ff0) at pspgl_varray_draw_range_elts.c:199
199 __pspgl_varray_draw_range_elts(mode, type, indices, count, start
, end);
Current language: auto; currently c
(gdb) n
__pspgl_varray_draw_range_elts (mode=4, idx_type=5123, indices=0x8a28ff0,
count=1884, minidx=53, maxidx=464) at pspgl_varray_draw_range_elts.c:77
77 {
(gdb)
90 prim = __pspgl_glprim2geprim(mode);
(gdb)
91 if (unlikely(prim < 0))
(gdb)
94 if (unlikely(count == 0))
(gdb)
102 if (__pspgl_cache_arrays()) {
(gdb)
117 __pspgl_ge_vertex_fmt(pspgl_curctx, &vfmt);
(gdb)
119 if (vfmt.hwformat == 0)
(gdb)
122 if (minidx == -1 || maxidx == -1) {
(gdb)
Program received signal SIGBUS, Bus error.
0x08999828 in memcpy ()
|
the memory Partitions is
| Code: |
N | BASE | SIZE | TOTALFREE | MAXFREE | ATTR |
--|------------|----------|-----------|-----------|------|
1 | 0x88000000 | 3145728 | 388352 | 378368 | 000C |
2 | 0x08800000 | 25165824 | 1015040 | 752896 | 000F |
3 | 0x88000000 | 3145728 | 388352 | 378368 | 000C |
4 | 0x88300000 | 1048576 | 1048576 | 1048576 | 000C |
|
Maybe someone can help me.
thanks! |
|
| Back to top |
|
 |
Seagaetcm
Joined: 30 Jun 2007 Posts: 10 Location: Peking, China
|
Posted: Sun Jul 22, 2007 2:39 pm Post subject: |
|
|
I think this infor will be useful for help
| Code: |
Exception - Bus error (data)
Thread ID - 0x04D55737
Th Name - GDBServer
Module ID - 0x0280F875
Mod Name - GDBServer
EPC - 0x088232E8
Cause - 0x1000001C
BadVAddr - 0x00010004
Status - 0x20088613
zr:0x00000000 at:0x0008FF00 v0:0x08836ED0 v1:0x00000000
a0:0x0882FA38 a1:0x00000000 a2:0x0060F809 a3:0x089317C4
t0:0x00000030 t1:0x00000000 t2:0x0000001C t3:0x00000007
t4:0x09F7FB60 t5:0x00000E00 t6:0x08821AD0 t7:0x00088600
s0:0x00000070 s1:0x08830000 s2:0x00000073 s3:0x08830250
s4:0x00000023 s5:0x08836EC4 s6:0x09F7FB80 s7:0x08830000
t8:0x00000001 t9:0x880107E0 k0:0x09F7FF00 k1:0x00000000
gp:0x08836870 sp:0x09F7FB70 fp:0x08830000 ra:0x0882321C
|
|
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sun Jul 22, 2007 4:50 pm Post subject: |
|
|
| Do a search in the forum and search for "addr2line" |
|
| Back to top |
|
 |
|
|
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
|