[LLVMdev] ASan for Android Applications

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Jun 24 01:08:06 PDT 2013


This is one of the latest:
http://android.git.linaro.org/gitweb?p=platform/bionic.git;a=commit;h=9181a5dcfe69199415c7aebf93524cc3dd6f8a6f


> W/Zygote  (  144): Error reading pid from wrapped process, child may have died
> W/Zygote  (  144): java.io.EOFException
> W/Zygote  (  144): at libcore.io.Streams.readFully(Streams.java:83)
> W/Zygote  (  144): at java.io.DataInputStream.readInt(DataInputStream.java:124)
> W/Zygote  (  144): at
> com.android.internal.os.ZygoteConnection.handleParentProc(ZygoteConnection.java:908)
> W/Zygote  (  144): at
> com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:258)
> W/Zygote  (  144): at
> com.android.internal.os.ZygoteInit.runSelectLoopMode(ZygoteInit.java:654)
> W/Zygote  (  144): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
> W/Zygote  (  144): at dalvik.system.NativeStart.main(Native Method)
>
>
> I don't see any information from the child process though.  Do you a
> way to figure that out?

Nope, sorry, no idea. Maybe there is something useful in the log
before that? You could try replacing ASan with something simpler, like
strace, to verify that this wrapping machinery works correctly.



More information about the llvm-dev mailing list