Log in or register to post comments

Device specific crashing...

January 14, 2011 - 3:37pm #1

This one sure came out of left field, first the history...

- Been developing game for QCAR competition for last few weeks
- All as been well testing on a Droid2
- All of the sudden yesterday, when i navigate to my AR scene in my game. The app crashes instantly
- Tore the project apart, went to barebones ARcam and image target, updated QCAR (Already had beta2 but i reimported anyway), and found crashes only occur on loading a scene that uses the QCAR plugin.
- Fare enuf, when all of the sudden, after trying to run a build a few times, the scene starts working again. Yeae right? Well...
- This morning at the office, did another test build n' run. Broken again. Every QCAR scene crashes. Luckily i was at the office and tested on other devices (HTC) works flawlessly. So i'm gathering its a devices specific crash or something went wrong in the phone's OS.
- Currently, i had just factory reset my Droid2 to see if that corrects the issue, no dice.

Below is the Logcat's output from just after you hit the button on the main menu to play: (Sorry for the long post)

Unloading 9 unused Assets to reduce memory usage. Loaded Objects now: 143.
01-14 18:25:08.325  2110  2117 D Unity   : Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
01-14 18:25:08.364  2110  2117 D Unity   : Platform assembly: /assets/bin/Data/Managed/Boo.Lang.dll (this message is harmless)
01-14 18:25:16.364  2110  2117 D Unity   : 
01-14 18:25:16.364  2110  2117 D Unity   : Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 425.
01-14 18:25:16.364  2110  2117 D Unity   : Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
01-14 18:25:16.817  2110  2117 D Unity   : Registered Trackable 32lbsOfShotMarker with TrackerScript
01-14 18:25:16.817  2110  2117 D Unity   : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:16.817  2110  2117 D Unity   : UnityEngine.Debug:Log(Object)
01-14 18:25:16.817  2110  2117 D Unity   : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:16.817  2110  2117 D Unity   : TrackerScript:RegisterTrackable(TrackableScript)
01-14 18:25:16.817  2110  2117 D Unity   : TrackableScript:Awake()
01-14 18:25:16.817  2110  2117 D Unity   :  
01-14 18:25:16.817  2110  2117 D Unity   : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:16.817  2110  2117 D Unity   : 
01-14 18:25:16.840  2110  2117 D Unity   : Trackable 32lbsOfShotMarker lost
01-14 18:25:16.840  2110  2117 D Unity   : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:16.840  2110  2117 D Unity   : UnityEngine.Debug:Log(Object)
01-14 18:25:16.840  2110  2117 D Unity   : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:16.840  2110  2117 D Unity   : TrackableScript:OnTrackingLost()
01-14 18:25:16.840  2110  2117 D Unity   : TrackableScript:Awake()
01-14 18:25:16.840  2110  2117 D Unity   :  
01-14 18:25:16.840  2110  2117 D Unity   : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:16.840  2110  2117 D Unity   : 
01-14 18:25:16.895  2110  2117 D Unity   : Error: Failed to initialize QCAR.
01-14 18:25:16.895  2110  2117 D Unity   : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:16.895  2110  2117 D Unity   : UnityEngine.Debug:Log(Object)
01-14 18:25:16.895  2110  2117 D Unity   : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:16.895  2110  2117 D Unity   : TrackerScript:handleError(Int32)
01-14 18:25:16.895  2110  2117 D Unity   : <Start>c__Iterator0:MoveNext()
01-14 18:25:16.895  2110  2117 D Unity   :  
01-14 18:25:16.895  2110  2117 D Unity   : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:16.895  2110  2117 D Unity   : 
01-14 18:25:17.067  2110  2117 V Unity   : time to quit..
01-14 18:25:17.067  2110  2110 V Unity   : onPause
01-14 18:25:17.200  2110  2117 D Unity   : OnDisable
01-14 18:25:17.200  2110  2117 D Unity   : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:17.200  2110  2117 D Unity   : UnityEngine.Debug:Log(Object)
01-14 18:25:17.200  2110  2117 D Unity   : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:17.200  2110  2117 D Unity   : TrackerScript:OnDisable()
01-14 18:25:17.200  2110  2117 D Unity   :  
01-14 18:25:17.200  2110  2117 D Unity   : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:17.200  2110  2117 D Unity   : 
01-14 18:25:17.981  2110  2110 V Unity   : onDestroy

Other specs:
- QCAR beta2
- Unity3D 3.1.0f3
- Droid2 Android2.2

If i don't get this figured out i'm going to have to submit to the competition as is. Which is scary seeing i have no way to do any final tests here at home.

Any thoughts?:confused:
Yar,
CapnJ

Re: Device specific crashing...

January 14, 2011 - 5:14pm #10

Looks like it sent. Let me know how it goes!

Re: Device specific crashing...

January 14, 2011 - 5:02pm #9

Project source is on it's way! 46mb

Thanks again,
capnj

Re: Device specific crashing...

January 14, 2011 - 4:55pm #8

Yup, got your email. In process of sending back the .apk with your alt email. Zipping project to see about sending it as well.

Re: Device specific crashing...

January 14, 2011 - 4:53pm #7

Hmm, still haven't received anything. I sent you an email to whichever address you signed up here with, let me know if you get it!

- Kim

Re: Device specific crashing...

January 14, 2011 - 4:47pm #6

Just sent the email.

Just wanted to let you know you've been VARY helpful manning the forum boards. Thank ye mate!

Re: Device specific crashing...

January 14, 2011 - 4:44pm #5

Hmm, I haven't received it yet. Ping me with a simple email to make sure everything is working?

- Kim

Re: Device specific crashing...

January 14, 2011 - 4:26pm #4

Just sent it 11.6 mb.

Thanks,
CapnJ

Re: Device specific crashing...

January 14, 2011 - 4:04pm #3

Could you send me the apk file?

Thanks,

- Kim

Re: Device specific crashing...

January 14, 2011 - 3:51pm #2

Here is some of the DDMS log:

01-14 18:50:21.309: DEBUG/Unity(2157): Creating OpenGLES2.0 graphics device
01-14 18:50:21.309: DEBUG/Unity(2157): InitializeGfxDevice OK
01-14 18:50:21.348: DEBUG/Unity(2157): Non platform assembly: data-0x4a1a3008 (this message is harmless)
01-14 18:50:21.348: DEBUG/Unity(2157): Non platform assembly: data-0x3b1a00 (this message is harmless)
01-14 18:50:21.348: DEBUG/Unity(2157): Non platform assembly: data-0x3bb310 (this message is harmless)
01-14 18:50:21.348: DEBUG/Unity(2157): Non platform assembly: data-0x3b0020 (this message is harmless)
01-14 18:50:21.356: DEBUG/Unity(2157): Non platform assembly: data-0x3c9f20 (this message is harmless)
01-14 18:50:21.575: DEBUG/Unity(2157): PlayerInitEngineGraphics OK
01-14 18:50:22.864: DEBUG/dalvikvm(1230): GC_EXPLICIT freed 1360 objects / 84920 bytes in 97ms
01-14 18:50:25.411: DEBUG/Unity(2157): Unloading 9 unused Assets to reduce memory usage. Loaded Objects now: 143.
01-14 18:50:25.411: DEBUG/Unity(2157): Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
01-14 18:50:25.442: DEBUG/Unity(2157): Platform assembly: /assets/bin/Data/Managed/Boo.Lang.dll (this message is harmless)
01-14 18:50:33.419: DEBUG/Unity(2157): Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 425.
01-14 18:50:33.426: DEBUG/Unity(2157): Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
01-14 18:50:33.879: DEBUG/Unity(2157): Registered Trackable 32lbsOfShotMarker with TrackerScript
01-14 18:50:33.879: DEBUG/Unity(2157): UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:50:33.879: DEBUG/Unity(2157): UnityEngine.Debug:Log(Object)
01-14 18:50:33.879: DEBUG/Unity(2157): UnityEngine.MonoBehaviour:print(Object)
01-14 18:50:33.879: DEBUG/Unity(2157): TrackerScript:RegisterTrackable(TrackableScript)
01-14 18:50:33.879: DEBUG/Unity(2157): TrackableScript:Awake()
01-14 18:50:33.879: DEBUG/Unity(2157):  
01-14 18:50:33.879: DEBUG/Unity(2157): (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:50:33.911: DEBUG/Unity(2157): Trackable 32lbsOfShotMarker lost
01-14 18:50:33.911: DEBUG/Unity(2157): UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:50:33.911: DEBUG/Unity(2157): UnityEngine.Debug:Log(Object)
01-14 18:50:33.911: DEBUG/Unity(2157): UnityEngine.MonoBehaviour:print(Object)
01-14 18:50:33.911: DEBUG/Unity(2157): TrackableScript:OnTrackingLost()
01-14 18:50:33.911: DEBUG/Unity(2157): TrackableScript:Awake()
01-14 18:50:33.911: DEBUG/Unity(2157):  
01-14 18:50:33.911: DEBUG/Unity(2157): (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:50:33.926: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.926: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.926: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.926: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.934: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.934: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.934: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.934: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.934: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.934: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.942: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.942: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.942: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.942: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.950: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.950: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.950: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.950: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.958: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:33.958: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:33.973: DEBUG/Unity(2157): Error: Failed to initialize QCAR.
01-14 18:50:33.973: DEBUG/Unity(2157): UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:50:33.973: DEBUG/Unity(2157): UnityEngine.Debug:Log(Object)
01-14 18:50:33.973: DEBUG/Unity(2157): UnityEngine.MonoBehaviour:print(Object)
01-14 18:50:33.973: DEBUG/Unity(2157): TrackerScript:handleError(Int32)
01-14 18:50:33.973: DEBUG/Unity(2157): <Start>c__Iterator0:MoveNext()
01-14 18:50:33.973: DEBUG/Unity(2157):  
01-14 18:50:33.973: DEBUG/Unity(2157): (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:50:34.059: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:34.059: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:34.059: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:34.059: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:34.145: VERBOSE/Unity(2157): time to quit..
01-14 18:50:34.153: VERBOSE/Unity(2157): onPause
01-14 18:50:34.232: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:34.239: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:34.239: DEBUG/dalvikvm(2157): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x458c96d8
01-14 18:50:34.239: DEBUG/dalvikvm(2157): Shared lib '/data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so' already loaded in same CL 0x458c96d8
01-14 18:50:34.247: DEBUG/Unity(2157): OnDisable
01-14 18:50:34.247: DEBUG/Unity(2157): UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:50:34.247: DEBUG/Unity(2157): UnityEngine.Debug:Log(Object)
01-14 18:50:34.247: DEBUG/Unity(2157): UnityEngine.MonoBehaviour:print(Object)
01-14 18:50:34.247: DEBUG/Unity(2157): TrackerScript:OnDisable()
01-14 18:50:34.247: DEBUG/Unity(2157):  
01-14 18:50:34.247: DEBUG/Unity(2157): (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:50:34.247: DEBUG/QCAR(2157): stopVideo
01-14 18:50:34.247: DEBUG/QCAR(2157): stopVideoInternal
01-14 18:50:34.254: DEBUG/QCAR(2157): deinitTracker
01-14 18:50:34.348: DEBUG/QCAR(2157): stopVideoInternal
01-14 18:50:34.356: INFO/WindowManager(1230): Setting rotation to 0, animFlags=1
01-14 18:50:34.372: INFO/ActivityManager(1230): Config changed: { scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/1 orien=1 layout=34 uiMode=17 seq=15}
01-14 18:50:34.434: VERBOSE/Mms(1470): onConfigurationChanged
01-14 18:50:34.614: WARN/WidgetAidService(1917): BroadcastReceiver onReceive called
01-14 18:50:34.614: DEBUG/WidgetAidService(1917): ACTION_HOME_SCREEN_CHANGED - 3
01-14 18:50:34.629: DEBUG/WidgetAidService(1917): HomeScreen gained focus/panned
01-14 18:50:34.708: DEBUG/WidgetAidService(1917): widgetScreenIndex - 5
01-14 18:50:34.848: VERBOSE/Unity(2157): onDestroy
01-14 18:50:34.919: INFO/UnityGLSurfaceView(2157): onDetachedFromWindow
01-14 18:50:34.958: INFO/Process(2157): Sending signal. PID: 2157 SIG: 9
01-14 18:50:34.965: INFO/ActivityManager(1230): Process com.qualcomm.QCARUnityPlayer (pid 2157) has died.
01-14 18:50:34.965: INFO/WindowManager(1230): WIN DEATH: Window{45b86bc8 com.qualcomm.QCARUnityPlayer/com.qualcomm.QCARUnityPlayer.PlayerActivity paused=false}
01-14 18:50:36.598: DEBUG/dalvikvm(1230): GC_EXPLICIT freed 2417 objects / 105280 bytes in 107ms
Log in or register to post comments