* need help on bus error problem
@ 2003-10-25 16:44 Teresa Tao
2003-10-25 16:44 ` Teresa Tao
2003-10-27 17:49 ` Jun Sun
0 siblings, 2 replies; 3+ messages in thread
From: Teresa Tao @ 2003-10-25 16:44 UTC (permalink / raw)
To: linux-mips
Hi there,
I am working on an real time video playback applicaion on a mips cpu. But after my video application play a while like 5 to 10 minutes, a bus error happened.
We add some debug meesage in the kernel, so we know that after the do_ade function inside the unalign.c, the bus error happens for the opcode lw or sw. So my guess is that I have an unaligned memory pointer(not in 4 byte boundary).
But my puzzle is that if I have an unaligned memory pointer, it should happen at the first loop I playback, how come it happens after it plays several loops?
Is there a possibility that my application's stack being trashed after a while? but I don't have recursive calls inside my application.
Thanks in advance!
Teresa
^ permalink raw reply [flat|nested] 3+ messages in thread
* need help on bus error problem
2003-10-25 16:44 need help on bus error problem Teresa Tao
@ 2003-10-25 16:44 ` Teresa Tao
2003-10-27 17:49 ` Jun Sun
1 sibling, 0 replies; 3+ messages in thread
From: Teresa Tao @ 2003-10-25 16:44 UTC (permalink / raw)
To: linux-mips
Hi there,
I am working on an real time video playback applicaion on a mips cpu. But after my video application play a while like 5 to 10 minutes, a bus error happened.
We add some debug meesage in the kernel, so we know that after the do_ade function inside the unalign.c, the bus error happens for the opcode lw or sw. So my guess is that I have an unaligned memory pointer(not in 4 byte boundary).
But my puzzle is that if I have an unaligned memory pointer, it should happen at the first loop I playback, how come it happens after it plays several loops?
Is there a possibility that my application's stack being trashed after a while? but I don't have recursive calls inside my application.
Thanks in advance!
Teresa
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need help on bus error problem
2003-10-25 16:44 need help on bus error problem Teresa Tao
2003-10-25 16:44 ` Teresa Tao
@ 2003-10-27 17:49 ` Jun Sun
1 sibling, 0 replies; 3+ messages in thread
From: Jun Sun @ 2003-10-27 17:49 UTC (permalink / raw)
To: Teresa Tao; +Cc: linux-mips, jsun
On Sat, Oct 25, 2003 at 09:44:35AM -0700, Teresa Tao wrote:
> Hi there,
>
> I am working on an real time video playback applicaion on a mips cpu. But after my video application play a while like 5 to 10 minutes, a bus error happened.
>
> We add some debug meesage in the kernel, so we know that after the do_ade function inside the unalign.c, the bus error happens for the opcode lw or sw. So my guess is that I have an unaligned memory pointer(not in 4 byte boundary).
> But my puzzle is that if I have an unaligned memory pointer, it should happen at the first loop I playback, how come it happens after it plays several loops?
>
There are many reasons for having bus error, cache, errant pointers,
unstable hardware, or some tricky kernel bugs which happens when
certain conditions happen together.
> Is there a possibility that my application's stack being trashed after a while? but I don't have recursive calls inside my application.
Everything is possible. :)
Jun
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-27 17:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-25 16:44 need help on bus error problem Teresa Tao
2003-10-25 16:44 ` Teresa Tao
2003-10-27 17:49 ` Jun Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox