Bug 38500 - Debugged Android app crashes for no apparent reason
Summary: Debugged Android app crashes for no apparent reason
Status: NEEDINFO
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger (show other bugs)
Version: 5.10 (C6SR3)
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: David Karlaš
URL:
Depends on:
Blocks:
 
Reported: 2016-02-05 16:20 UTC by Miha Markic
Modified: 2017-09-03 10:24 UTC (History)
4 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Miha Markic 2016-02-05 16:20:05 UTC
Soon after it starts the debugged Android app  crashes.

Logcat:

Error(8392)/art: art/runtime/fault_handler.cc:117] Check failed: !initialized_ 
Warning(2166)/InputDispatcher: channel 'd7cb6b7 com.aioss.aps.android/md5b900d3a2161e2fa31b70bf9a3c51a926.LoginActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
Error(2166)/InputDispatcher: channel 'd7cb6b7 com.aioss.aps.android/md5b900d3a2161e2fa31b70bf9a3c51a926.LoginActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
Warning(2166)/InputDispatcher: channel '95e6b05 Processing (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
Error(2166)/InputDispatcher: channel '95e6b05 Processing (server)' ~ Channel is unrecoverably broken and will be disposed!
Info(1717)/Zygote: Process 8392 exited due to signal (11)
Info(2166)/WindowState: WIN DEATH: Window{95e6b05 u0 Processing}
Warning(2166)/InputDispatcher: Attempted to unregister already unregistered input channel '95e6b05 Processing (server)'
Debug(2166)/GraphicsStats: Buffer count: 5
Info(2166)/ActivityManager: Process com.aioss.aps.android (pid 8392) has died
Warning(2166)/ActivityManager: Force removing ActivityRecord{9dc7f63 u0 com.aioss.aps.android/md5b900d3a2161e2fa31b70bf9a3c51a926.LoginActivity t16743}: app died, no saved state
Info(2166)/WindowState: WIN DEATH: Window{d7cb6b7 u0 com.aioss.aps.android/md5b900d3a2161e2fa31b70bf9a3c51a926.LoginActivity}
Warning(2166)/InputDispatcher: Attempted to unregister already unregistered input channel 'd7cb6b7 com.aioss.aps.android/md5b900d3a2161e2fa31b70bf9a3c51a926.LoginActivity (server)'
Warning(2166)/WindowAnimator: Failed to dispatch window animation state change.
Warning(2166)/WindowAnimator: android.os.DeadObjectException
Warning(2166)/WindowAnimator: 	at android.os.BinderProxy.transactNative(Native Method)
Warning(2166)/WindowAnimator: 	at android.os.BinderProxy.transact(Binder.java:503)
Warning(2166)/WindowAnimator: 	at android.view.IWindow$Stub$Proxy.onAnimationStarted(IWindow.java:520)
Warning(2166)/WindowAnimator: 	at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:282)
Warning(2166)/WindowAnimator: 	at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)
Warning(2166)/WindowAnimator: 	at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)
Warning(2166)/WindowAnimator: 	at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)
Warning(2166)/WindowAnimator: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)
Warning(2166)/WindowAnimator: 	at android.view.Choreographer.doCallbacks(Choreographer.java:670)
Warning(2166)/WindowAnimator: 	at android.view.Choreographer.doFrame(Choreographer.java:603)
Warning(2166)/WindowAnimator: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
Warning(2166)/WindowAnimator: 	at android.os.Handler.handleCallback(Handler.java:739)
Warning(2166)/WindowAnimator: 	at android.os.Handler.dispatchMessage(Handler.java:95)
Warning(2166)/WindowAnimator: 	at android.os.Looper.loop(Looper.java:148)
Warning(2166)/WindowAnimator: 	at android.os.HandlerThread.run(HandlerThread.java:61)
Warning(2166)/WindowAnimator: 	at com.android.server.ServiceThread.run(ServiceThread.java:46)
Comment 1 Miha Markic 2016-02-05 16:20:20 UTC
Just to add, this happens on Nexus 6 device.
Comment 2 Thetyne 2016-05-04 15:50:47 UTC
Reproduce when i launch debug application. (after one or more debug with visual studio).
When i launch a debug application without visual studio debugger, app crash with the error:

InputDispatcher: Attempted to unregister already unregistered input channel.

Reproduce on hyperV android emulator and on my honor 7.


if i package in release mode, it's ok.
Comment 3 David Karlaš 2016-05-19 09:31:05 UTC
@Thetyne sorry for late response can you open new bug in Visual Studio?
Because it seems to me like it could be different bug.
Comment 4 Lluis Sanchez 2017-09-01 16:07:38 UTC
Is this still happening?
Comment 5 Thetyne 2017-09-03 10:24:46 UTC
No, it does not happen anymore.

Note You need to log in before you can comment on or make changes to this bug.