Well it's the activity manager saying that some process came back to connect
to it, which it wasn't expecting.  It looks like for some reason the API to
get the calling PID from the Binder is not working, and returning 0 instead
of the caller's actual PID.  You might want to look in the kernel log and
see if the Binder driver is yelling about anything.

Oh wait...  it looks like your kernel version doesn't match the one Android
works on?  (2.6.22.6 vs 2.6.25).  That could likely be the problem.

On Mon, Dec 8, 2008 at 4:29 AM, deepak singal <[EMAIL PROTECTED]> wrote:

>
> Hello all,
>
>   I am trying to port android SDK 1.0 to IMX31.
>
>   I have  kernel linux2.6.22.6 which was released from freescale with
> linux-2.6.25-android-1.0_r1.tar.gz.
>
>   and the rootfs was pulled from android-sdk-windows-1.0_r1.
>
>   When i try to run android 1.0 on IMX31 board through SD card (ext2
> file system),
>
>   i get following error messages:
>
> D/PowerManagerService( 1710): system ready!
> I/ActivityManager( 1710): Starting activity: Intent
> { action=android.intent.action.MAIN categories=
> {android.intent.category.HOME} flags=0x10000000 comp={com}
> I/SystemServer( 1710): It is now time to start up the app processes...
> D/ActivityManager( 1710): Start running!
> I/Zygote  ( 1710): Process: zygote socket opened
> I/ActivityManager( 1710): Start proc com.android.phone for added
> application com.android.phone: pid=1748 uid=1001 gids={3001, 3003}
> I/ActivityManager( 1710): Start proc android.process.acore for
> activity com.android.launcher/.Launcher: pid=1750 uid=10000 gids=
> {3003}
> W/ActivityManager( 1710): No pending application record for pid 0
> (IApplicationThread [EMAIL PROTECTED]);
> dropping process
> W/ActivityManager( 1710): No pending application record for pid 0
> (IApplicationThread [EMAIL PROTECTED]);
> dropping process
> D/AndroidRuntime( 1750): Shutting down VM
> W/dalvikvm( 1750): threadid=3: thread exiting with uncaught exception
> (group=0x40010e28)
> E/AndroidRuntime( 1750): Uncaught handler: thread main exiting due to
> uncaught exception
> E/AndroidRuntime( 1750): java.lang.RuntimeException: Main thread not
> allowed to quit
> E/AndroidRuntime( 1750):        at
> android.os.MessageQueue.enqueueMessage(MessageQueue.java:177)
> E/AndroidRuntime( 1750):        at android.os.Looper.quit(Looper.java:
> 171)
> E/AndroidRuntime( 1750):        at android.app.ActivityThread
> $H.handleMessage(ActivityThread.java:1622)
> E/AndroidRuntime( 1750):        at android.os.Handler.dispatchMessage
> (Handler.java:88)
> E/AndroidRuntime( 1750):        at android.os.Looper.loop(Looper.java:
> 123)
> E/AndroidRuntime( 1750):        at android.app.ActivityThread.main
> (ActivityThread.java:3742)
> E/AndroidRuntime( 1750):        at
> java.lang.reflect.Method.invokeNative(Native Method)
> E/AndroidRuntime( 1750):        at java.lang.reflect.Method.invoke
> (Method.java:515)
> E/AndroidRuntime( 1750):        at com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:739)
> E/AndroidRuntime( 1750):        at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
> E/AndroidRuntime( 1750):        at dalvik.system.NativeStart.main
> (Native Method)
> W/ActivityManager( 1710): Some application object
> [EMAIL PROTECTED] tag AndroidRuntime has crashed, but I
> don't know who it is.
> W/ActivityManager( 1710): ShortMsg:Main thread not allowed to quit
> W/ActivityManager( 1710): LongMsg:java.lang.RuntimeException: Main
> thread not allowed to quit
> I/Process ( 1750): Sending signal. PID: 1750 SIG: 9
> D/AndroidRuntime( 1748): Shutting down VM
> W/dalvikvm( 1748): threadid=3: thread exiting with uncaught exception
> (group=0x40010e28)
> E/AndroidRuntime( 1748): Uncaught handler: thread main exiting due to
> uncaught exception
> E/AndroidRuntime( 1748): java.lang.RuntimeException: Main thread not
> allowed to quit
> E/AndroidRuntime( 1748):        at
> android.os.MessageQueue.enqueueMessage(MessageQueue.java:177)
> E/AndroidRuntime( 1748):        at android.os.Looper.quit(Looper.java:
> 171)
> E/AndroidRuntime( 1748):        at android.app.ActivityThread
> $H.handleMessage(ActivityThread.java:1622)
> E/AndroidRuntime( 1748):        at android.os.Handler.dispatchMessage
> (Handler.java:88)
> E/AndroidRuntime( 1748):        at android.os.Looper.loop(Looper.java:
> 123)
> E/AndroidRuntime( 1748):        at android.app.ActivityThread.main
> (ActivityThread.java:3742)
> E/AndroidRuntime( 1748):        at
> java.lang.reflect.Method.invokeNative(Native Method)
> E/AndroidRuntime( 1748):        at java.lang.reflect.Method.invoke
> (Method.java:515)
> E/AndroidRuntime( 1748):        at com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:739)
> E/AndroidRuntime( 1748):        at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
> E/AndroidRuntime( 1748):        at dalvik.system.NativeStart.main
> (Native Method)
> W/ActivityManager( 1710): Some application object
> [EMAIL PROTECTED] tag AndroidRuntime has crashed, but I
> don't know who it is.
> W/ActivityManager( 1710): ShortMsg:Main thread not allowed to quit
> W/ActivityManager( 1710): LongMsg:java.lang.RuntimeException: Main
> thread not allowed to quit
> I/Process ( 1748): Sending signal. PID: 1748 SIG: 9
>
> Is there any comments or any clue to track this problem ??
> Any help will be highly appreciated. Thanks in Advance.
>
> Thanks & Regards,
> Deepak Singal
>
>
> >
>


-- 
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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-porting" 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-porting?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to