Log in or register to post comments

Android ARCamera on/off fail

July 4, 2013 - 11:05am #1

Ahoy, got a bit of a problem. I think it all boils down to activating and deactivating the ARCamera via code (SetActive). Here's the details:

- 2 scene project (main menu, game)

- 1 scene, three different control types. FPS, Pinch zoom, and AR (switch controls via activating one control set at a time including cameras)

- multiplatform ( works fine on iOS ipads, application crash on Android)

- crash only occurs when "development build" checkbox is OFF. That was really frustrating to figure out. At the end of QC process too! All was well until I wanted the dev build tag off.

- Vuforia v2.5.8, Unity3d pro 4.1.5f1, Updated Android SDK

- attempted : reinstalling vuforia plugin, versioning back Unity3d to 4.1.2 w/ Android SDK fix, debugged enough to absolutely know its the ARCamera turning on and off. if set Active at scene load it works fine, but that is not the default control mode.

Please let me know if you have any clues here. Or if there is a better way to turn the ARCamera on/ off via the plugin rather than the gameObject.

Thanks in advance,

CapnJ

Android ARCamera on/off fail

August 27, 2013 - 5:43am #8

Nice to hear, that it works :). I have often this error in my App (iOS-Version), with the change of orientation from Landscape Left to Portrait and deactivation ARCamera .

OpenGLES error 0x0502 in /......./Classes/iPhone_GlesSupport.cpp:224

WaitForSeconds () to help in this case, too.

Android ARCamera on/off fail

August 27, 2013 - 5:04am #7

Thank you, Russel. Your idea got me to a workaround. It seems a bit dirty to me but it works.

It is not enough with a single yield. It needed a couple of them (obviously inside a function that returns an IEnumerator)

yield return new WaitForSeconds(0.5f);
qCarBehaviour.enabled = false;
yield return new WaitForSeconds(0.5f);

As you can see, I also tried to reduce the time to wait, and I discovered that reducing it below 0.5 made it crash again.

 
I think that it can useful to add that I was also enabling another camera while doing this. Well, I had to do this inmediatly before. If I tried to do it after, I got another crash. So, finally:
 
if (!BGCamera.enabled)
{
      BGCamera.enabled = true;
}

yield return new WaitForSeconds(0.5f);
qCarBehaviour.enabled = false;
yield return new WaitForSeconds(0.5f);
Just a final advice to other people with the same problem:
My app is going to be installed on a specific device, so no more work needed for me, but this workaround seems to be basically empirical. It will probably crash on other devices with different specs.
 
Thank you very much for your help!
 
Alvaro.

Android ARCamera on/off fail

August 27, 2013 - 3:54am #6

Try a "yield return new WaitForSeconds(1);" before you hide or show the ARCamera.

Android ARCamera on/off fail

August 27, 2013 - 3:08am #5

Hello, David.

I am having exactly the same issue, with the exception that I am using qCarBehaviour.enabled = false; to disable the behaviour just as you suggested.

I am using Vuforia 2.6.7 and Unity 4.2.0f4.

The issue just dissapears as soon as I check the "Development build" check box in "Build settings". I guess it might be be a racing issue.

Any clues on what might be happening?

 

Thank you very much in advance and regards.

Android ARCamera on/off fail

July 4, 2013 - 2:03pm #4

That appears to be a segfault arising from a rendering error. Try disabling the QCARBehaviour instead, that's the recommended way to shut down tracking and background rendering of the camera image.

e.g.

(QCARBehaviour)UnityEngine.Object.FindObjectOfType(typeof(QCARBehaviour)).enabled = false

 

Android ARCamera on/off fail

July 4, 2013 - 1:54pm #3

I'd like to accomplish : Each control type has it's own camera and hierarchy (4 types totall) and AR is just one of them. So i'd like to be able to turn off the ARCamera and imageTracker so that i may turn on other cameras (all tagged "MainCamera") and their respective control scripts. I'd also like to keep it all in one scene as its already built that way and worked until i turned off "development build". (Plus we are in the final stages of Quality Control)

 

Here be the log:

 

07-04 16:34:03.246: I/InputReader(2020): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.2901 ]
07-04 16:34:03.246: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x0
07-04 16:34:03.246: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x0
07-04 16:34:03.246: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x0
07-04 16:34:03.246: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x0
07-04 16:34:03.336: I/InputReader(2020): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=]
07-04 16:34:03.336: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x1
07-04 16:34:03.336: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x1
07-04 16:34:03.336: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x1
07-04 16:34:03.336: I/InputDispatcher(2020): Delivering touch to current input target: action: 0x1
07-04 16:34:03.491: W/AlarmManager(2020): FACTORY_ON= 0
07-04 16:34:04.371: I/Unity(21209): StartQCAR
07-04 16:34:04.371: I/Unity(21209):  
07-04 16:34:04.371: I/Unity(21209): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54)
07-04 16:34:04.376: I/SecCameraCoreManager(10012): Opening camera 0
07-04 16:34:04.481: I/SecCameraHardware(10012): opened camera 0 (0x430454a0)
07-04 16:34:04.481: I/ShotCommon(10012): ShotCommon created: pid=10012
07-04 16:34:04.481: I/ShotCommon(10012): Preview width(640), height(480)
07-04 16:34:04.486: I/ShotCommon(10012): Preview color format [yuv420sp]
07-04 16:34:04.486: I/ShotCommon(10012): Picture width(3264), height(2448)
07-04 16:34:04.486: I/ShotCommon(10012): Picture color format [jpeg]
07-04 16:34:04.486: I/ShotSingle(10012): ShotSingle created: pid=10012
07-04 16:34:04.491: I/AwesomePlayer(10012): reset
07-04 16:34:04.491: I/AwesomePlayer(10012): cancel player events
07-04 16:34:04.491: I/AwesomePlayer(10012): cancel player events
07-04 16:34:04.491: I/AwesomePlayer(10012): setDataSource_l(URL suppressed)
07-04 16:34:04.506: W/AwesomePlayer(10012): couldn't get userdata - Weather
07-04 16:34:04.506: W/AwesomePlayer(10012): couldn't get userdata - Authorization 
07-04 16:34:04.506: W/AwesomePlayer(10012): couldn't get userdata - SnapShot 
07-04 16:34:04.506: W/AwesomePlayer(10012): couldn't get userdata - SMRD
07-04 16:34:04.506: I/AwesomePlayer(10012): AwesomePlayer::setDataSource_l():: This is not a DRM content
07-04 16:34:04.511: I/OMXCodec(10012): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
07-04 16:34:04.521: I/AwesomePlayer(10012): reset
07-04 16:34:04.521: I/AwesomePlayer(10012): cancel player events
07-04 16:34:04.526: I/AwesomePlayer(10012): cancel player events
07-04 16:34:04.526: I/AwesomePlayer(10012): setDataSource_l(URL suppressed)
07-04 16:34:04.536: W/AwesomePlayer(10012): couldn't get userdata - Weather
07-04 16:34:04.536: W/AwesomePlayer(10012): couldn't get userdata - Authorization 
07-04 16:34:04.536: W/AwesomePlayer(10012): couldn't get userdata - SnapShot 
07-04 16:34:04.536: W/AwesomePlayer(10012): couldn't get userdata - SMRD
07-04 16:34:04.541: I/AwesomePlayer(10012): AwesomePlayer::setDataSource_l():: This is not a DRM content
07-04 16:34:04.541: I/OMXCodec(10012): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
07-04 16:34:04.551: I/AwesomePlayer(10012): reset
07-04 16:34:04.551: I/AwesomePlayer(10012): cancel player events
07-04 16:34:04.556: I/AwesomePlayer(10012): cancel player events
07-04 16:34:04.556: I/AwesomePlayer(10012): setDataSource_l(URL suppressed)
07-04 16:34:04.571: W/AwesomePlayer(10012): couldn't get userdata - Weather
07-04 16:34:04.571: W/AwesomePlayer(10012): couldn't get userdata - Authorization 
07-04 16:34:04.571: W/AwesomePlayer(10012): couldn't get userdata - SnapShot 
07-04 16:34:04.571: W/AwesomePlayer(10012): couldn't get userdata - SMRD
07-04 16:34:04.571: I/AwesomePlayer(10012): AwesomePlayer::setDataSource_l():: This is not a DRM content
07-04 16:34:04.571: I/OMXCodec(10012): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
07-04 16:34:04.666: E/gralloc(21209): [GR_MD] unmapping from 0x6f580000, size=33554432
07-04 16:34:04.741: W/PowerManagerService(2020): Timer 0x7->0x3|0xf
07-04 16:34:05.031: I/Unity(21209): turning OFF renders
07-04 16:34:05.031: I/Unity(21209):  
07-04 16:34:05.031: I/Unity(21209): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54)
07-04 16:34:05.051: I/Unity(21209): ARCamera (UnityEngine.GameObject)
07-04 16:34:05.051: I/Unity(21209):  
07-04 16:34:05.051: I/Unity(21209): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54)
07-04 16:34:05.066: I/Unity(21209): turning OFF renders
07-04 16:34:05.066: I/Unity(21209):  
07-04 16:34:05.066: I/Unity(21209): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54)
07-04 16:34:05.086: I/Unity(21209): Trackable iQ3Dbooth_PlateTracker lost
07-04 16:34:05.086: I/Unity(21209):  
07-04 16:34:05.086: I/Unity(21209): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54)
07-04 16:34:05.171: A/libc(21209): Fatal signal 11 (SIGSEGV) at 0xc1b86b80 (code=1), thread 21235 (UnityMain)
07-04 16:34:05.276: I/DEBUG(1732): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-04 16:34:05.276: I/DEBUG(1732): Build fingerprint: 'samsung/GT-N7000/GT-N7000:4.1.2/JZO54K/N7000DXLSE:user/release-keys'
07-04 16:34:05.276: I/DEBUG(1732): pid: 21209, tid: 21235, name: UnityMain  >>> com.bluediesel.iQ3DboothDEV <<<
07-04 16:34:05.276: I/DEBUG(1732): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr c1b86b80
07-04 16:34:05.446: W/SignalStrength(2020): getGsmLevel=4
07-04 16:34:05.451: W/SignalStrength(2183): getGsmLevel=4
07-04 16:34:05.451: W/SignalStrength(2020): getLevel=4 (SignalStrength: 12 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 gsm|lte 4)
07-04 16:34:05.461: W/SignalStrength(2183): getLevel=4 (SignalStrength: 12 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 gsm|lte 4)
07-04 16:34:05.461: W/SignalStrength(2183): getGsmLevel=4
07-04 16:34:05.461: W/SignalStrength(2183): getLevel=4 (SignalStrength: 12 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 gsm|lte 4)
07-04 16:34:05.471: W/SignalStrength(2020): getGsmDbm=-89
07-04 16:34:05.476: W/SignalStrength(2020): getDbm=-89
07-04 16:34:05.481: W/SignalStrength(2020): getGsmAsuLevel=12
07-04 16:34:05.481: W/SignalStrength(2020): getAsuLevel=12
07-04 16:34:05.496: W/AlarmManager(2020): FACTORY_ON= 0
07-04 16:34:05.501: W/AlarmManager(2020): FACTORY_ON= 0
07-04 16:34:05.821: I/DEBUG(1732):     r0 c1b86b80  r1 60054bc0  r2 00000006  r3 00001403
07-04 16:34:05.821: I/DEBUG(1732):     r4 643eafc8  r5 643eb7c0  r6 00000000  r7 00000000
07-04 16:34:05.821: I/DEBUG(1732):     r8 c1b86b8c  r9 5ea32c08  sl ffffffff  fp 000000f6
07-04 16:34:05.821: I/DEBUG(1732):     ip 00001403  sp 5ea32b98  lr 5e14448c  pc 5e151cac  cpsr 80000010
07-04 16:34:05.821: I/DEBUG(1732):     d0  000000003f800000  d1  0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d2  3f80000000000000  d3  0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d4  0000000000000000  d5  000000003f800000
07-04 16:34:05.821: I/DEBUG(1732):     d6  0000000000000000  d7  3f80000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d8  0000000000000000  d9  4100000042700000
07-04 16:34:05.821: I/DEBUG(1732):     d10 4120000042640000  d11 3f8000003f800000
07-04 16:34:05.821: I/DEBUG(1732):     d12 0000000000000000  d13 0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d14 0000000000000000  d15 0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d16 000000003acccccc  d17 0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d18 bb23d70a00000000  d19 0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d20 0000000000000000  d21 00000000bca237c3
07-04 16:34:05.821: I/DEBUG(1732):     d22 3f800000bf800000  d23 3f800000bf7aee42
07-04 16:34:05.821: I/DEBUG(1732):     d24 000000003acccccc  d25 0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d26 bb23d70a00000000  d27 0000000000000000
07-04 16:34:05.821: I/DEBUG(1732):     d28 0000000000000000  d29 00000000bca237c3
07-04 16:34:05.821: I/DEBUG(1732):     d30 3f800000bf800000  d31 3f800000bf7aee42
07-04 16:34:05.821: I/DEBUG(1732):     scr 6000001e
07-04 16:34:05.826: I/DEBUG(1732): backtrace:
07-04 16:34:05.826: I/DEBUG(1732):     #00  pc 00022cac  /system/lib/egl/libGLESv2_mali.so (_gles_gb_buffer_object_data_range_cache_get+532)
07-04 16:34:05.826: I/DEBUG(1732):     #01  pc 00015488  /system/lib/egl/libGLESv2_mali.so (_gles_init_draw_elements+212)
07-04 16:34:05.826: I/DEBUG(1732):     #02  pc 00026bec  /system/lib/egl/libGLESv2_mali.so (_gles2_draw_elements+196)
07-04 16:34:05.826: I/DEBUG(1732):     #03  pc 0000b438  /system/lib/egl/libGLESv2_mali.so (glDrawElements+76)
07-04 16:34:05.826: I/DEBUG(1732):     #04  pc 00386fa4  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #05  pc 001175f8  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #06  pc 00117a60  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #07  pc 002379a8  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #08  pc 00237b00  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #09  pc 0023b800  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #10  pc 0023b8bc  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #11  pc 0023bb68  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #12  pc 0023bc74  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #13  pc 003d0848  <unknown>
07-04 16:34:05.826: I/DEBUG(1732):     #14  pc 0000a14c  <unknown>
07-04 16:34:05.826: I/DEBUG(1732): stack:
07-04 16:34:05.826: I/DEBUG(1732):          5ea32b58  5ffa71d4  
07-04 16:34:05.826: I/DEBUG(1732):          5ea32b5c  5ea32b98  
07-04 16:34:05.826: I/DEBUG(1732):          5ea32b60  5ea32bac  
07-04 16:34:05.826: I/DEBUG(1732):          5ea32b64  5e13a360  /system/lib/egl/libGLESv2_mali.so (glDisable+40)
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b68  ffffffff  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b6c  60049cd0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b70  600213cc  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b74  5d699d00  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b78  5ffa70a4  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b7c  60049cd0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b80  5ffa62c0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b84  5d656018  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b88  5ffa7154  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b8c  5ffa70b8  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b90  e3a070ad  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b94  ef9000ad  
07-04 16:34:05.831: I/DEBUG(1732):     #00  5ea32b98  00000000  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32b9c  60088170  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32ba0  00000000  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32ba4  643eb7c4  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32ba8  5eb46dc0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bac  5a80aa50  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bb0  00000006  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bb4  00000000  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bb8  00001403  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bbc  60054bc0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bc0  5ea32c08  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bc4  5ea32c0c  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bc8  5ea32c0c  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bcc  5e14448c  /system/lib/egl/libGLESv2_mali.so (_gles_init_draw_elements+216)
07-04 16:34:05.831: I/DEBUG(1732):     #01  5ea32bd0  5ea32c0c  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bd4  5ea32c08  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bd8  00000004  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bdc  00000006  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32be0  5a80aa50  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32be4  00000000  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32be8  00001403  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bec  60054bc0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bf0  5a8c1490  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bf4  5e155bf0  /system/lib/egl/libGLESv2_mali.so (_gles2_draw_elements+200)
07-04 16:34:05.831: I/DEBUG(1732):     #02  5ea32bf8  60054bc0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32bfc  5ea32c0c  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c00  5ea32c08  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c04  5db3ffa8  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c08  00000000  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c0c  00000000  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c10  00001403  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c14  5a80aa50  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c18  00001403  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c1c  00000006  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c20  00000004  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c24  60054bc0  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c28  130dc4fb  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c2c  0a84a850  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c30  00000000  
07-04 16:34:05.831: I/DEBUG(1732):          5ea32c34  5e13a43c  /system/lib/egl/libGLESv2_mali.so (glDrawElements+80)
07-04 16:34:05.841: I/DEBUG(1732): memory near r1:
07-04 16:34:05.841: I/DEBUG(1732):     60054ba0 0000102b 000010c1 9ee763ff 5e0d5fc4  +........c..._.^
07-04 16:34:05.841: I/DEBUG(1732):     60054bb0 00000009 00000008 00002001 dfa50014  ......... ......
07-04 16:34:05.841: I/DEBUG(1732):     60054bc0 00020000 00010001 00030002 00050001  ................
07-04 16:34:05.841: I/DEBUG(1732):     60054bd0 00020002 00060005 00060002 00030003  ................
07-04 16:34:05.841: I/DEBUG(1732):     60054be0 00070006 00080004 00050005 00090008  ................
07-04 16:34:05.841: I/DEBUG(1732): memory near r3:
07-04 16:34:05.841: I/DEBUG(1732):     000013e0 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.841: I/DEBUG(1732):     000013f0 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.841: I/DEBUG(1732):     00001400 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.841: I/DEBUG(1732):     00001410 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.841: I/DEBUG(1732):     00001420 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.841: I/DEBUG(1732): memory near r4:
07-04 16:34:05.841: I/DEBUG(1732):     643eafa8 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.841: I/DEBUG(1732):     643eafb8 00000000 000009e3 3d300000 0000085b  ..........0=[...
07-04 16:34:05.841: I/DEBUG(1732):     643eafc8 617659e8 00000000 00000000 00000000  .Yva............
07-04 16:34:05.841: I/DEBUG(1732):     643eafd8 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.846: I/DEBUG(1732):     643eafe8 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.846: I/DEBUG(1732): memory near r5:
07-04 16:34:05.846: I/DEBUG(1732):     643eb7a0 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.846: I/DEBUG(1732):     643eb7b0 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.846: I/DEBUG(1732):     643eb7c0 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.846: I/DEBUG(1732):     643eb7d0 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.846: I/DEBUG(1732):     643eb7e0 00000000 00000000 00000000 00000000  ................
07-04 16:34:05.846: I/DEBUG(1732): memory near r9:
07-04 16:34:05.846: I/DEBUG(1732):     5ea32be8 00001403 60054bc0 5a8c1490 5e155bf0  .....K.`...Z.[.^
07-04 16:34:05.846: I/DEBUG(1732):     5ea32bf8 60054bc0 5ea32c0c 5ea32c08 5db3ffa8  .K.`.,.^.,.^...]
07-04 16:34:05.846: I/DEBUG(1732):     5ea32c08 00000000 00000000 00001403 5a80aa50  ............P..Z
07-04 16:34:05.846: I/DEBUG(1732):     5ea32c18 00001403 00000006 00000004 60054bc0  .............K.`
07-04 16:34:05.846: I/DEBUG(1732):     5ea32c28 130dc4fb 0a84a850 00000000 5e13a43c  ....P.......<..^
07-04 16:34:05.846: I/DEBUG(1732): memory near ip:
07-04 16:34:05.846: I/DEBUG(1732):     000013e0 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.846: I/DEBUG(1732):     000013f0 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.846: I/DEBUG(1732):     00001400 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.846: I/DEBUG(1732):     00001410 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.846: I/DEBUG(1732):     00001420 ffffffff ffffffff ffffffff ffffffff  ................
07-04 16:34:05.846: I/DEBUG(1732): memory near sp:
07-04 16:34:05.846: I/DEBUG(1732):     5ea32b78 5ffa70a4 60049cd0 5ffa62c0 5d656018  .p._...`.b._.`e]
07-04 16:34:05.846: I/DEBUG(1732):     5ea32b88 5ffa7154 5ffa70b8 e3a070ad ef9000ad  Tq._.p._.p......
07-04 16:34:05.846: I/DEBUG(1732):     5ea32b98 00000000 60088170 00000000 643eb7c4  ....p..`......>d
07-04 16:34:05.846: I/DEBUG(1732):     5ea32ba8 5eb46dc0 5a80aa50 00000006 00000000  .m.^P..Z........
07-04 16:34:05.846: I/DEBUG(1732):     5ea32bb8 00001403 60054bc0 5ea32c08 5ea32c0c  .....K.`.,.^.,.^
07-04 16:34:05.846: I/DEBUG(1732): code around pc:
07-04 16:34:05.846: I/DEBUG(1732):     5e151c8c e3a07000 e590a004 e59a0004 e3e0a000  .p..............
07-04 16:34:05.846: I/DEBUG(1732):     5e151c9c e3500000 10800001 e0808082 ea000004  ..P.............
07-04 16:34:05.846: I/DEBUG(1732):     5e151cac e0d0c0b2 e15a000c 21a0a00c e157000c  ......Z....!..W.
07-04 16:34:05.846: I/DEBUG(1732):     5e151cbc 31a0700c e1500008 1afffff8 eaffffb3  .p.1..P.........
07-04 16:34:05.846: I/DEBUG(1732):     5e151ccc e3a00080 e58d1008 e58d2004 e58d3000  ......... ...0..
07-04 16:34:05.846: I/DEBUG(1732): code around lr:
07-04 16:34:05.846: I/DEBUG(1732):     5e14446c e35a0000 0a000005 e1a01008 e1a02005  ..Z.......... ..
07-04 16:34:05.846: I/DEBUG(1732):     5e14447c e1a03007 e58da000 e58d9004 eb003582  .0...........5..
07-04 16:34:05.846: I/DEBUG(1732):     5e14448c e1a00006 e28dd008 e8bd87f0 e5943494  .............4..
07-04 16:34:05.846: I/DEBUG(1732):     5e14449c e3530000 1a000001 e3e06002 eafffff7  ..S......`......
07-04 16:34:05.846: I/DEBUG(1732):     5e1444ac e594c498 e35c0000 1affffcc e3e06002  ......\......`..
07-04 16:34:05.846: I/DEBUG(1732): memory map around fault addr c1b86b80:
07-04 16:34:05.846: I/DEBUG(1732):     beee9000-bef0a000 [stack]
07-04 16:34:05.846: I/DEBUG(1732):     (no map for address)
07-04 16:34:05.846: I/DEBUG(1732):     ffff0000-ffff1000 [vectors]
07-04 16:34:05.966: I/AudioFlinger(10012): AudioFlinger::MixerThread::prepareTracks_l stop_output_streamtype(1, 3) for 2
07-04 16:34:06.111: I/BootReceiver(2020): Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)
07-04 16:34:06.116: I/DEBUG(1732): !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 21209
07-04 16:34:06.136: I/dumpstate(21336): begin
 
Let me know if that helps.
 
 

Android ARCamera on/off fail

July 4, 2013 - 11:21am #2

Can you post, the relevant section of your runtime session log, surrounding the crash?  - you can write the log to a file if you don't have Eclipse installed - https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file

Why are you attempting to deactivate the ARCamera - what are you trying to accomplish?

 

Log in or register to post comments