I can't help you with native crashes unfortunately :(

On Mar 9, 10:36 am, Ron <[email protected]> wrote:
> Sorry, the last time I posted I couldn't figure out how to get the
> logcat text... then I found it was relatively simple.  Here is the
> dump:
>
> 03-09 12:29:05.734: INFO/DEBUG(28): *** *** *** *** *** *** *** ***
> *** *** *** *** *** *** *** ***
> 03-09 12:29:05.734: INFO/DEBUG(28): Build fingerprint: 'android-
> devphone1/dream_devphone/dream/trout:1.0/UNLOCKED/116222:userdebug/
> test-keys'
> 03-09 12:29:05.734: INFO/DEBUG(28): pid: 8966, tid: 8966  >>>
> mobiliti.android.ui <<<
> 03-09 12:29:05.734: INFO/DEBUG(28): signal 11 (SIGSEGV), fault addr
> 00000008
> 03-09 12:29:05.734: INFO/DEBUG(28):  r0 0000baf0  r1 00000007  r2
> ad03e18d  r3 00000000
> 03-09 12:29:05.734: INFO/DEBUG(28):  r4 0000baf0  r5 00000000  r6
> ad33f411  r7 4104d880
> 03-09 12:29:05.744: INFO/DEBUG(28):  r8 bef5c630  r9 4104d878  10
> 4104d868  fp 00000000
> 03-09 12:29:05.744: INFO/DEBUG(28):  ip ad33f411  sp bef5c610  lr
> ad0471bd  pc ad03e1a0  cpsr 00000030
> 03-09 12:29:06.194: INFO/DEBUG(28):          #00  pc ad03e1a0  /system/
> lib/libdvm.so
> 03-09 12:29:06.214: INFO/DEBUG(28):          #01  pc ad33f426  /system/
> lib/libandroid_runtime.so
> 03-09 12:29:06.224: INFO/DEBUG(28):          #02  pc ad00d9f4  /system/
> lib/libdvm.so
> 03-09 12:29:06.224: INFO/DEBUG(28):          #03  pc ad04120e  /system/
> lib/libdvm.so
> 03-09 12:29:06.234: INFO/DEBUG(28):          #04  pc ad012748  /system/
> lib/libdvm.so
> 03-09 12:29:06.234: INFO/DEBUG(28):          #05  pc ad02a92c  /system/
> lib/libdvm.so
> 03-09 12:29:06.234: INFO/DEBUG(28):          #06  pc ad0169d0  /system/
> lib/libdvm.so
> 03-09 12:29:06.244: INFO/DEBUG(28):          #07  pc ad052096  /system/
> lib/libdvm.so
> 03-09 12:29:06.244: INFO/DEBUG(28):          #08  pc ad03ccbc  /system/
> lib/libdvm.so
> 03-09 12:29:06.254: INFO/DEBUG(28):          #09  pc ad012748  /system/
> lib/libdvm.so
> 03-09 12:29:06.254: INFO/DEBUG(28):          #10  pc ad02a92c  /system/
> lib/libdvm.so
> 03-09 12:29:06.254: INFO/DEBUG(28):          #11  pc ad0169d0  /system/
> lib/libdvm.so
> 03-09 12:29:06.264: INFO/DEBUG(28):          #12  pc ad051f10  /system/
> lib/libdvm.so
> 03-09 12:29:06.264: INFO/DEBUG(28):          #13  pc ad03f87a  /system/
> lib/libdvm.so
> 03-09 12:29:06.274: INFO/DEBUG(28):          #14  pc ad3282b4  /system/
> lib/libandroid_runtime.so
> 03-09 12:29:06.274: INFO/DEBUG(28):          #15  pc ad328d40  /system/
> lib/libandroid_runtime.so
> 03-09 12:29:06.274: INFO/DEBUG(28):          #16  pc 00008c12  /system/
> bin/app_process
> 03-09 12:29:06.284: INFO/DEBUG(28):          #17  pc afe1dbd2  /system/
> lib/libc.so
> 03-09 12:29:06.294: INFO/DEBUG(28):          #18  pc afe0b010  /system/
> lib/libc.so
> 03-09 12:29:06.304: INFO/DEBUG(28):          #19  pc b0000d70  /system/
> bin/linker
> 03-09 12:29:06.304: INFO/DEBUG(28): stack:
> 03-09 12:29:06.304: INFO/DEBUG(28):     bef5c5d0  0000a000  [heap]
> 03-09 12:29:06.304: INFO/DEBUG(28):     bef5c5d4  ad0481ab  /system/
> lib/libdvm.so
> 03-09 12:29:06.314: INFO/DEBUG(28):     bef5c5d8  00000322
> 03-09 12:29:06.314: INFO/DEBUG(28):     bef5c5dc  00000000
> 03-09 12:29:06.314: INFO/DEBUG(28):     bef5c5e0  400240b8
> 03-09 12:29:06.314: INFO/DEBUG(28):     bef5c5e4  ad060361  /system/
> lib/libdvm.so
> 03-09 12:29:06.314: INFO/DEBUG(28):     bef5c5e8  4476be28
> 03-09 12:29:06.314: INFO/DEBUG(28):     bef5c5ec  00000003
> 03-09 12:29:06.314: INFO/DEBUG(28):     bef5c5f0  0000baf0  [heap]
> 03-09 12:29:06.324: INFO/DEBUG(28):     bef5c5f4  00000001
> 03-09 12:29:06.324: INFO/DEBUG(28):     bef5c5f8  00000007
> 03-09 12:29:06.324: INFO/DEBUG(28):     bef5c5fc  ad0471bd  /system/
> lib/libdvm.so
> 03-09 12:29:06.324: INFO/DEBUG(28):     bef5c600  0000baf0  [heap]
> 03-09 12:29:06.324: INFO/DEBUG(28):     bef5c604  00000000
> 03-09 12:29:06.324: INFO/DEBUG(28):     bef5c608  df002777
> 03-09 12:29:06.324: INFO/DEBUG(28):     bef5c60c  e3a070ad
> 03-09 12:29:06.334: INFO/DEBUG(28): #00 bef5c610  00000320
> 03-09 12:29:06.334: INFO/DEBUG(28):     bef5c614  0000a870  [heap]
> 03-09 12:29:06.334: INFO/DEBUG(28):     bef5c618  ad35bcf8
> 03-09 12:29:06.334: INFO/DEBUG(28):     bef5c61c  ad33f429  /system/
> lib/libandroid_runtime.so
> 03-09 12:29:06.334: INFO/DEBUG(28): #01 bef5c620  00000018
> 03-09 12:29:06.334: INFO/DEBUG(28):     bef5c624  bef5c650  [stack]
> 03-09 12:29:06.334: INFO/DEBUG(28):     bef5c628  00000000
> 03-09 12:29:06.344: INFO/DEBUG(28):     bef5c62c  ad00d9f8  /system/
> lib/libdvm.so
> 03-09 12:29:07.294: DEBUG/dalvikvm(4482): GC freed 3599 objects /
> 241312 bytes in 259ms
> 03-09 12:29:08.254: DEBUG/AudioHardwareMSM72XX(31): Going to standby
> 03-09 12:29:08.284: INFO/DEBUG(28): debuggerd committing suicide to
> free the zombie!
> 03-09 12:29:08.314: INFO/DEBUG(8986): debuggerd: Nov  3 2008 12:56:23
> 03-09 12:29:08.324: DEBUG/dalvikvm(51): GC freed 25597 objects /
> 941072 bytes in 397ms
> 03-09 12:29:08.344: INFO/ActivityManager(51): Process
> mobiliti.android.ui (pid 8966) has died.
> 03-09 12:29:08.344: DEBUG/LocationManagerService(51): Location
> listener died
> 03-09 12:29:08.344: DEBUG/LocationManagerService(51): _removeUpdates:
> listener = android.os.binderpr...@435b1850
> 03-09 12:29:08.354: DEBUG/Zygote(30): Process 8966 terminated by
> signal (11)
> 03-09 12:29:08.364: INFO/WindowManager(51): WIN DEATH: Window{43535270
> mobiliti.android.ui/mobiliti.android.ui.Launcher}
> 03-09 12:29:08.364: INFO/WindowManager(51): WIN DEATH: Window{436618f8
> mobiliti.android.ui/mobiliti.android.ui.Controller}
> 03-09 12:29:08.434: INFO/ActivityManager(51): Start proc
> mobiliti.android.ui for activity mobiliti.android.ui/.Launcher:
> pid=8987 uid=10028 gids={3003}
> 03-09 12:29:08.534: INFO/jdwp(8987): received file descriptor 10 from
> ADB
>
> On Mar 7, 2:39 pm, Romain Guy <[email protected]> wrote:
>
> > > Everything runs ok until the constructor forNinePatch(bitmap, chunk,
> > > src) causes the app to crash... no stacktrace, but a ton of internal
> > > debug diagnostics are sent to logcat... none of which makes any sense
> > > to me nor points to the problem.
>
> > It necessarily does. And without seeing the logs...
>
> > > On Mar 2, 8:14 pm, Romain Guy <[email protected]> wrote:
> > >> The nine patch chunk can be returned by the Bitmap class. Load a
> > >> Bitmap with BitmapFactory, then call getNinePatchChunk() to get the
> > >> chunks. The padding is a bit more complicated. You need to first
> > >> create a Rect and pass that Rect to the approprite
> > >> BitmapFactor.decode*() method. While decoding the 9patch,
> > >> BitmapFactory will fill that Rect with the padding as encoded in the
> > >> 9patch.
>
> > >> On Mon, Mar 2, 2009 at 6:11 PM, Dianne Hackborn <[email protected]> 
> > >> wrote:
> > >> > This isn't really intended to be used much by apps.  The byte[] is the 
> > >> > raw
> > >> > data of the PNG 9-patch extension chunk that we defined for android, 
> > >> > which
> > >> > aapt generates; you'll have to build that all yourself, and look at the
> > >> > ResourceTypes.h header file for a description of its contents.  The 
> > >> > padding
> > >> > is just the padding around the image, which is returned by the 
> > >> > Drawable.
>
> > >> > On Mon, Mar 2, 2009 at 5:37 PM,Rmac<[email protected]> wrote:
>
> > >> >> I am trying to create a NinePatchDrawable programmatically, but there
> > >> >> is no documentation on the constructor's argruments (Bitmap bitmap,
> > >> >> byte[] chunk, Rect padding, String srcName).  Does anyone know what
> > >> >> chunk and padding are... and how to specify them?
>
> > >> >> Thanks.
>
> > >> > --
> > >> > Dianne Hackborn
> > >> > Android framework engineer
> > >> > [email protected]
>
> > >> > Note: please don't send private questions to me, as I don't have time 
> > >> > to
> > >> > provide private support.  All such questions should be posted on public
> > >> > forums, where I and others can see and answer them.
>
> > >> --
> > >> Romain Guy
> > >> Android framework engineer
> > >> [email protected]
>
> > >> Note: please don't send private questions to me, as I don't have time
> > >> to provide private support.  All such questions should be posted on
> > >> public forums, where I and others can see and answer them
>
> > --
> > Romain Guy
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them
--~--~---------~--~----~------------~-------~--~----~
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