Tuesday, March 1, 2011

[android-developers] Re: Activity touch event leading to EPIPE in ginger bread !!

My application is getting crashed.

But i am not getting the reasin for that crash.

Can any body tell me the reason?

On Mar 2, 11:31 am, Dianne Hackborn <hack...@android.com> wrote:
> Um, it looks like your application crashed.
>
>
>
>
>
> On Tue, Mar 1, 2011 at 5:25 AM, Pink <sivareddy.j...@gmail.com> wrote:
> > In activity A i have one surface view.
>
> > After EPIPE in activity it is leading to IlegalArgumentException.
>
> > 3-01 17:51:01.107 W/PowerManagerService(  127): Timer 0x7->0x3|0x3
> > 03-01 17:51:01.107 I/PowerManagerService(  127): Ulight 7->3|0
> > 03-01 17:51:01.107 D/LightsService(  127): BUTTON : 0
> > 03-01 17:51:01.388 I/InputReader(  127): dispatchTouch::touch event's
> > action is 0
> > 03-01 17:51:01.388 E/InputDispatcher(  127): channel '40977f60
> > com.android.test/com.android.test.B (server)' ~ Could not send
> > dispatch signal, status=-32
> > 03-01 17:51:01.388 E/InputDispatcher(  127): channel '40977f60
> > com.android.test/com.android.test.B (server)' ~ Channel is
> > unrecoverably broken and will be disposed!
> > 03-01 17:51:01.388 D/PowerManagerService(  127):
> > reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false
> > 03-01 17:51:01.388 I/PowerManagerService(  127): Ulight 3->7|0
> > 03-01 17:51:01.392 D/LightsService(  127): BUTTON : 116
> > 03-01 17:51:01.392 I/WindowManager(  127): WINDOW DIED Window{40977f60
> > com.android.test/com.android.test.B paused=false}
> > 03-01 17:51:01.407 E/Surface (  422): surface (identity=33) is
> > invalid, err=-19 (No such device)
> > 03-01 17:51:01.407 E/Surface (  422): queueBuffer (idx=0) failed (No
> > such device)
> > 03-01 17:51:01.407 D/AndroidRuntime(  422): Shutting down VM
> > 03-01 17:51:01.411 E/AndroidRuntime(  422): FATAL EXCEPTION: main
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):
> > java.lang.IllegalArgumentException
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > android.view.Surface.unlockCanvasAndPost(Native Method)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > android.view.ViewRoot.draw(ViewRoot.java:1551)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > android.view.ViewRoot.performTraversals(ViewRoot.java:1263)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > android.view.ViewRoot.handleMessage(ViewRoot.java:1865)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > android.os.Handler.dispatchMessage(Handler.java:99)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > android.os.Looper.loop(Looper.java:123)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > android.app.ActivityThread.main(ActivityThread.java:3661)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > java.lang.reflect.Method.invokeNative(Native Method)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > java.lang.reflect.Method.invoke(Method.java:507)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > com.android.internal.os.ZygoteInit
> > $MethodAndArgsCaller.run(ZygoteInit.java:842)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
> > 03-01 17:51:01.411 E/AndroidRuntime(  422):     at
> > dalvik.system.NativeStart.main(Native Method)
> > Force finishing activity com.android.test/com.android.test.B
>
> > On Mar 1, 5:24 pm, Pink <sivareddy.j...@gmail.com> wrote:
> > > Hi,
>
> > >   I am working on ginger bread. Some times i am getting error no 32
> > > for touch event.
>
> > >   I did as follows.
> > >       Started activty A.
> > >       From activity A i am trying launch activity B bad finishing A.
> > >       After B is displayed i am closing B also.
>
> > >   This i am repeating for multiple times and after some successfull
> > > scenarios.
>
> > >     Suddenly i am getting "Could not send dispatch signal, status=-32"
> > > after Activity  B resume called.
>
> > >   After searching for status 32 (EPIPE), i came to know it as broken
> > > PIPE.
>
> > >   This i am getting in activity B.
>
> > >   Why am i getting this error ?
>
> > >   Where am i doing wrong?
>
> > > Thanks,
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.- Hide quoted text -
>
> - Show quoted text -

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

No comments:

Post a Comment