SOLVED!
The issue appears to have been caused by keeping pointers for drawing
on offscreen images.
I have a six or seven small offscreen images in memory that are
updated periodically. I was maintaining a Canvas pointer for each of
them, e.g.:
Bitmap bitmap = Bitmap.createBitmap( 128, 32,
Hi,
After some more experimentation it appears that this is nothing to do
with the drawing per se. The app still crashes even if I just load a
fullscreen image at a certain point (though it doesn't actually crash
at the moment the image is loaded but about a second after) even if I
remove all
SIGSEGV is a memory access violation.
Some piece of code somewhere has a stray pointer, and accesses memory
pages that it doesn't own.
And from the information you posted, it looks like it's Dalvik
(libdvm.so) that makes a call to C language utilities (libcutils.so).
How complex is your
Can you post some code? Specifically the portion that does the
drawing.
On Nov 23, 1:44 am, Muleskinner ja...@maturusmobile.com wrote:
Hi,
I have an app that is working fine in 1.6 and up but crashing for
apparently no reason in 1.5. The app suddenly quits with the following
message...
Hi Jason,
Thanks for the reply. It's quite difficult to post code as there's a
whole bunch of APIs I've ported over from JavaME that make up what's
going on. I am going to try and whittle everything down to a simple
test case.
The basic 'draw' loop is the same as in the 'Lunar Lander' source,
5 matches
Mail list logo