Log in or register to post comments

Crash on Vuforia::Device::getClassType()

May 8, 2017 - 6:25am #1

Hello,

We are creating an app with Vuforia and it is now in testing but we are encountering a weird error we can not put our finger on.

The crash seems to occur within the Vuforia SDK itself and it seems to be crashing on Vuforia::Device::getClassType(). The crash happens at random when the user is not doing anything in particular.

 

As you can see from the provided screenshots the crash occurs on different threads on different times in the app, altho the 2nd screenshot occurs the most.

There is notthing clear to me to tell me why this crash might occur or what we can do to prevent this. Does anyone know what I can do to prevent this crash from happening? Does it have something to do with multi-threading, dynamically loading of datasets or something else?

Important thing to note, the devices used are iPad Mini - 2nd generation with ios 9.3.5 installed.

The Vuforia SDK being used is 6.2.6.

Kind Regards,

Philippe Creytens

Crash on Vuforia::Device::getClassType()

April 26, 2018 - 11:02am #11

magglemitch wrote:

Has this issue been addressed yet? I'm seeing crashes in my app through Fabric and its giving the error of: Vuforia::Device::getClassType().

 

Built with Unity 2017.3.1p3 and Vuforia 7.0.47.

The fix for the original reporting of this issue was shipped with Vuforia 6.5 and is present in all releases after that. This fixes the getClassType() crash related to loading and activating multiple datasets.

If you are still encountering this issue, could you provide more information on when and how the crash occurs? Is it similar to the original report, or is there a different set of reproduction steps? Are you able to reproduce it in the samples or provide a small project that can reproduce the issue?

Thanks,

Vuforia Support

Crash on Vuforia::Device::getClassType()

April 25, 2018 - 4:03pm #10

Has this issue been addressed yet? I'm seeing crashes in my app through Fabric and its giving the error of: Vuforia::Device::getClassType().

 

Built with Unity 2017.3.1p3 and Vuforia 7.0.47.

Crash on Vuforia::Device::getClassType()

April 4, 2018 - 12:04am #9

The dataset you are trying to load is internal or external?if external,what I am meaning is: If it is server asset, you need to use async loader to load such assets and each async loader will have  an onComplete event.Stop the controller stalk at async loding and once the async task is completed then only exrcute next command in your code sequence.

 

It is only my susicion because when you use an asset which needs streaming and you passed to next statement without any required params from the object to be loaded by async task - The crash will occur!

Crash on Vuforia::Device::getClassType()

March 9, 2018 - 4:05pm #8

Hello,

I am experiencing a similar crash with this: Vuforia::Device::getClassType() in my iOS Unity app. I was wondering if this did get fixed in an earlier commercial release. I am currently using Vuforia 7.0.47. I have not yet been able to determine a pattern to reproduce it, but it has happened 6 times on various users' devices, ranging from iOS 9.2.1 to 11.2.2.

Thanks.

Crash on Vuforia::Device::getClassType()

June 9, 2017 - 12:32pm #7

Hello,

No additional update since my last post. I'm working to confirm that this fix is being targeted for our next commercial release.

Thanks.

Crash on Vuforia::Device::getClassType()

June 8, 2017 - 1:30am #6

Hello,

 

Have you any news regarding the progress on this issue? Any possible date a new version with this bug fixed might be released?

Kind Regards

Crash on Vuforia::Device::getClassType()

May 11, 2017 - 11:47am #5

Hello,

Thank you again for the report. We were able to reproduce the crash when multiple targets were present in the dataset, and only after several iterations of loading and unloading.

Further investigation will be required to isolate and patch the SDK. Will update this thread with relevant details as they become available.

Thanks.

Crash on Vuforia::Device::getClassType()

May 9, 2017 - 11:19am #4

Hello,

Thanks for the additional information. We're investigating. Will provide updates to this thread when available.

Thanks.

Crash on Vuforia::Device::getClassType()

May 9, 2017 - 3:38am #3

Hey, 

Thanks for the reply! That is the main issue we are encountering. I can not force reproduce the issue myself. It "happens" on the devices used by the client at random, out of 100 sessions about 5-16 times.

I have investigated the crash logs some more and I did find one interesting item. The app dynamically loads datasets according to your distance from one or multiple iBeacons and the crash always occurs when the app is loading a dataset or acitvating a dataset. 

I have added full crash logs & the code it is talking about. Also important to note, the loading of the dat files happens on a different thread, not the main thread. 

If you look at the crashlogs and look for customviewcontroller you'll note the crash always happens when one of 2 methods provided are being executed where line 270 = objectTracker->activateDataSet(set); and line 376 = if (!dataSet->load([dataFile cStringUsingEncoding:NSASCIIStringEncoding], !asAppResource ? Vuforia::STORAGE_ABSOLUTE : Vuforia::STORAGE_APPRESOURCE))

So this makes me believe that dynamically loading datasets might cause some internal crashing to occur within Vuforia

Crash on Vuforia::Device::getClassType()

May 8, 2017 - 1:29pm #2

Hello,

Can you provide a minimal repro project with some example steps to reach this crash? This would be very helpful is us isolating what the issue may be related to.

Thanks.

Log in or register to post comments