PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Application crashes without stack trace

hi all,

i've got the following problem:

a large library that i ported to the PDA crashes *sometimes* (around every 6th or 7th time i start it) during heavy usage of the 2700G. i'm not sure if the crash happens in my code or in the 2700G driver since the stack trace does not tell me anything useful.

i think (at least that's what evc4 tells me) that this is due to an unaligned 32-bit memory access.

does anybody have an idea how to find out where that crash happens (assuming that it is in my code)? unfortunately the code basis is to large and diverted to add logs into every code section...

thanks,
Daniel
i think (at least that's what evc4 tells me) that this is due to an unaligned 32-bit memory access.


It looks like you have an unaligned memory access in your code. This is most likely within your library, since this kind of things can happen if you port code over from sources which run fine on x86 based systems, where aligned memory access is no issue.

Thinking about it, this can also happen in a native OS library if you pass a not aligned pointer.

Tala
that's what evc4 says.
the question is how to find and fix it.

i'll try out the new ROM image for the x50v.
the readme states that it "improves video driver stability". maybe they fixed this issue.

the fact that i don't get a stack trace makes me feel that this could really be a driver issue...

Daniel