Log in or register to post comments

Intermittent crash on Android

March 6, 2015 - 7:11pm #1

I am using unity 4.6.2.f1 and vuforia 4.0.103. I have an app that crashes right after the splash screen on certain samsung galaxy tabs.  It only crashes some of the time, but when it does it always seems to crash a the same spot.  I don't know what the error means but it doesn seem to be tied to trying to initialize the AR camera. Here's the relevant logcat output:


I/Unity   (17125): (Filename: /Users/smartgologodevlaptop1/el_monte/Assets/Qualcomm Augmented Reality/Scripts/DefaultTrackableEventHandler.cs Line: 106)
I/Unity   (17125):
F/libc    (17125): invalid address or address of corrupt block 0x20001b2 passed to dlfree
I/EDMNativeHelperService(  567): isCameraEnabled
D/CameraHardwareBase( 5300): releasePreviewFrameFromClient: indelible buffer key #0x3f1 returned.
W/InputDispatcher(  567): channel ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher(  567): channel ~ Channel is unrecoverably broken and will be disposed!
W/CameraService( 5300): Disconnecting camera client 0x43528840 since the binder for it died (this pid 5300)
D/SecCameraCoreManager( 5300): disableMsgType: 0xffff
D/CameraHardwareBase( 5300): -disableMsgType:0xffff
D/SecCameraCoreManager( 5300): stopPreview
D/SecCameraCoreManager( 5300): virtual void android::SecCameraCoreManager::stopPreview():stop IT Policy checking thread
D/Sensors (  567): poll__setDelay: handle:0 , ns:66000000
E/Surface ( 5300): queueBuffer: error queuing buffer to SurfaceTexture, -32
E/CameraDisplay( 5300): MrvlCameraHal_ERROR: _QueueFrame:vendor/marvell/generic/camera-hal/samsung/display/ANativeWindowDisplay.cpp:1098
E/CameraDisplay( 5300): enqueue_buffer failed: Broken pipe (32); cancel_buffer instead
E/CameraDisplay( 5300): _DequeueFrame: dequeueBuffer failed: Broken pipe (32)
E/CameraDisplay( 5300): _processIdle: _DequeueFrame fail
E/lights  (  567): write_int failed to open -1
W/InputDispatcher(  567): Attempted to unregister already unregistered input channel
I/SurfaceFlinger(  143): id=625 Removed TurfaceView (10/14)
I/SurfaceFlinger(  143): id=625 Removed TurfaceView (-2/14)
I/WindowState(  567): WIN DEATH: Window{435a0fb0 u0 com.elmonterv.emrv/com.unity3d.player.UnityPlayerNativeActivity}
I/ActivityManager(  567): Process com.elmonterv.emrv (pid 17125) (adj 0) has died.
D/PowerManagerService(  567): [api] handleWakeLockDeath : release WakeLock : FULL_WAKE_LOCK                 'Unity-ProjectRequestedWakeLock' (uid=10163, pid=17125, ws=null) (elapsedTime=2990)
W/ActivityManager(  567): Force removing ActivityRecord{4359c0a0 u0 com.elmonterv.emrv/com.unity3d.player.UnityPlayerNativeActivity t85}: app died, no saved state
W/WindowManager(  567): Force-removing child win Window{43132f98 u0 SurfaceView} from container Window{435a0fb0 u0 com.elmonterv.emrv/com.unity3d.player.UnityPlayerNativeActivity}
D/LockPatternUtils(  731): isPcwEnable = null
D/LockPatternUtils(  731): isPcwEnable = null
I/SurfaceFlinger(  143): id=624 Removed VnityPlayer (11/13)
I/SurfaceFlinger(  143): id=624 Removed VnityPlayer (-2/13)
D/KeyguardUpdateMonitor(  731): sendKeyguardVisibilityChanged(true)
I/KeyguardUpdateMonitor(  731): visibility is same
D/KeyguardUpdateMonitor(  731): sendKeyguardVisibilityChanged(true)
I/KeyguardUpdateMonitor(  731): visibility is same
W/ContextImpl(  567): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1509 com.android.internal.policy.impl.PhoneWindowManager.notifyToSSRM:5942 com.android.internal.policy.impl.PhoneWindowManager.access$200:187 com.android.internal.policy.impl.PhoneWindowManager$PolicyHandler.handleMessage:733 android.os.Handler.dispatchMessage:102
W/WindowManager(  567): Failed looking up window
W/WindowManager(  567): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@43132da8 does not exist
W/WindowManager(  567):     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9928)
W/WindowManager(  567):     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9919)
W/WindowManager(  567):     at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1493)
W/WindowManager(  567):     at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
W/WindowManager(  567):     at dalvik.system.NativeStart.run(Native Method)
I/WindowState(  567): WIN DEATH: null

Intermittent crash on Android

March 22, 2015 - 5:00am #5

Have you also tried any of the 4.6.3 "patch releases" ?




Intermittent crash on Android

March 21, 2015 - 6:52pm #4

The device is a Samsung tablet running 4.4.2.  I upgraded to Unity 4.6.3, but the problem persists. The crash doesn't happen every time, but it still consistently happens right after the splash screen.

Intermittent crash on Android

March 9, 2015 - 12:28am #3

Also, what OS version is your device ? (e.g. Android 5?)

googling around, I stumbled across this:


which suggests it might be a more general issue with Unity 4.6 and Android 5...

See also:


(seems that upgrading to Unity 4.6.3 might resolve the issue)


Intermittent crash on Android

March 8, 2015 - 12:59pm #2

If you take the Vuforia  Cloud Reco and/or the Books samples (unitypackages), those have a multi-scene setup (with 4 scenes, the last of which is the Vuforia scene with an ARCamera and other Vuforia prefabs);

can you reproduce the crash using one of those samples ?

Also, it would be good to know:

- exact model numbers and OS versions of the affected devices

- if the same problem persists when using the latest Unity 4.6.3 


Log in or register to post comments