On Wed, Feb 4, 2009 at 8:47 AM, fadden <[email protected]> wrote:

>
> On Feb 3, 9:53 am, "[email protected]" <[email protected]>
> wrote:
> >  dalvikvmSplitting out new zygote heap
> >  dalvikvm-heapCan't create VM heap of size 262144
> >  dalvikvmerror in post-zygote initialization
>
> The failure message comes from dalvik/vm/alloc/HeapSource.c, which is
> calling create_contiguous_mspace_with_name() unsuccessfully.  Over in
> system/core/libcutils/mspace.c you can see it calling
> ashmem_create_region(); there's a reasonable chance that this is
> what's failing.  You'll want to check the return value and errno from
> that call to see.
>

I added printfs in mspace.c but those don't come out. LOGW isn't defined in
that file. I made some permission changes to /dev/ashmem and now it gets
further. I now see err from pmem and hgl. Not fatal so ignored. Then error
from zygote signal 11. Don't know why. Any ideas?

 dalvikvmGC freed 30 objects / 1112 bytes in 102ms
 dalvikvmSplitting out new zygote heap
 dalvikvmSystem server process 1769 has been created ZygoteAccepting command
socket connections dalvikvmTrying to load lib
/system/lib/libandroid_servers.so0
 dalvikvmAdded shared lib /system/lib/libandroid_servers.so 0x0
 sysprocEntered system_init() sysprocServiceManager: 0xc8390
 SurfaceFlingerSurfaceFlinger is starting
 SurfaceFlingerSurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
 MemoryHeapBaseerror opening /dev/pmem: No such file or directory
 SurfaceFlingerCouldn't open /sys/power/wait_for_fb_sleep or
/sys/power/wait_for_fb_wake
 SurfaceFlingerCan't open /dev/tty0
 GLLoggercouldn't load <libhgl.so> library (Cannot find library)
 SurfaceFlingerEGL informations:
 SurfaceFlinger# of configs : 6
 SurfaceFlingervendor    : Android
 SurfaceFlingerversion   : 1.3 Android META-EGL
 SurfaceFlingerextensions: EGL_ANDROID_query_string_config
EGL_ANDROID_swap_rectangle
 SurfaceFlingerext/config: EGL_ANDROID_swap_rectangle
 SurfaceFlingerClient API: OpenGL ES
 GLLoggervalidate_display_surface:799 error 300d (EGL_BAD_SURFACE)
SurfaceFlingerro.sf.lcd_density not defined, using 160 dpi by default.
 GLLoggercall to OpenGL ES API with no current context
 SurfaceFlingerOpenGL informations:
 GLLoggercall to OpenGL ES API with no current context
 ZygoteProcess 1769 terminated by signal (11)
 ZygoteExit zygote because system server (1769) has terminated

I put the newlines manually. The actual output is:
ket connections dalvikvmTrying to load lib /system/lib/libandroid_servers.so
0x0
 dalvikvmAdded shared lib /system/lib/libandroid_servers.so 0x0
 sysprocEntered system_init() sysprocServiceManager: 0xc8390
 SurfaceFlingerSurfaceFlinger is starting SurfaceFlingerSurfaceFlinger's
main thread ready to run. Initializing graphics H/W... MemoryHeapBaseerror
opening /dev/pmem: No such file or directory SurfaceFlingerCouldn't open
/sys/power/wait_for_fb_sleep or
/sys/power/wait_for_fb_wake SurfaceFlingerCan't open
/dev/tty0 GLLoggercouldn't load <libhgl.so> library (Cannot find
library) SurfaceFlingerEGL informations: SurfaceFlinger# of configs :
6 SurfaceFlingervendor    : Android SurfaceFlingerversion   : 1.3 Android
META-EGL SurfaceFlingerextensions: EGL_ANDROID_query_string_config
EGL_ANDROID_swap_rectangle SurfaceFlingerext/config:
EGL_ANDROID_swap_rectangle SurfaceFlingerClient API: OpenGL
ES GLLoggervalidate_display_surface:799 error 300d
(EGL_BAD_SURFACE)SurfaceFlingerro.sf.lcd_density not defined, using 160 dpi
by default. GLLoggercall to OpenGL ES API with no current
context SurfaceFlingerOpenGL informations: GLLoggercall to OpenGL ES API
with no current context ZygoteProcess 2123 terminated by signal (11)
 ZygoteExit zygote because system server (2123) has terminated

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to