Hello,

   I've identified a possible bug, when rendering a bitmap with the
following code, the application occasionally, but unpredictably
crashes. More likely to crash the more times in a row this code has
been executed.

Code snippet:

   c=getHolder().lockCanvas();
   c.drawBitmap(bm, 0, 0, new Paint());
   getHolder().unlockCanvasAndPost(c);

produces this error trace from ddms

11-21 14:27:54.018: INFO/DEBUG(21): signal 11 (SIGSEGV), fault addr
00000024
11-21 14:27:54.018: INFO/DEBUG(21):  r0 001bd250  r1 001a93dc  r2
001a9404  r3 00000000
11-21 14:27:54.018: INFO/DEBUG(21):  r4 00000000  r5 001a9390  r6
ac1261c4  r7 001a9404
11-21 14:27:54.018: INFO/DEBUG(21):  r8 001bd250  r9 00000000  10
00000000  fp 00000000
11-21 14:27:54.018: INFO/DEBUG(21):  ip ac05c858  sp 447adc60  lr
ac05ca70  pc ac05c874  cpsr 60000010
11-21 14:27:54.057: INFO/DEBUG(21):          #00  pc ac05c874  /system/
lib/libsgl.so
11-21 14:27:54.057: INFO/DEBUG(21):          #01  pc ac05ca6c  /system/
lib/libsgl.so
11-21 14:27:54.057: INFO/DEBUG(21):          #02  pc ac05e398  /system/
lib/libsgl.so
11-21 14:27:54.057: INFO/DEBUG(21):          #03  pc ac05c13c  /system/
lib/libsgl.so
11-21 14:27:54.066: INFO/DEBUG(21):          #04  pc ad33b67a  /system/
lib/libandroid_runtime.so
11-21 14:27:54.066: INFO/DEBUG(21):          #05  pc ad00d9f4  /system/
lib/libdvm.so

  Any help is appreciated, I have not seen this particular bug
documented yet.

                                     Mark

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to