Log in or register to post comments

Can't run vuforia on Android

June 24, 2013 - 6:41am #1

Vuforia SDK Version: 2.5.7 -

Description with steps to reproduce:

When we try to run the imagetarget example on a nexus 4 or on a galaxy prime, we get a crash with this error :

E/: vendor/qcom/proprietary/fastcv-noship/src/cpu/fastcvBlurC.cpp@59: srcImg && dstImg && srcWidth && srcHeight && (srcStride >= srcWidth) && dstStride Assertion failed

It does the same error when we try to run our app with the new SDK. It's working well on iOs. 

Any idea?

-

Development OS (Mac OS X, Windows, Linux): Mac -

Mobile OS and Version: Android 4.2.2 -

Mobile Device Manufacturer and Model name: LG Nexus -

Do the Vuforia Sample Applications show the same behavior?: Yes

Can't run vuforia on Android

July 24, 2015 - 10:59pm #27

Hi to all,

I am new to vuforia, I am working on tracking physical 3d object project using vuforia ObjectScanner, I scanned an object and uploaded my .od file in your target manager. then I downloaded and import in my project. It works fine in unity but Problem is when I create apk file and install in my Nexus9 device, camera not opened, black screen. Please Help me.

Can't run vuforia on Android

August 9, 2013 - 2:10am #26

Has anyone verified it on TF200 too?

e.g. lightwave ?

Can't run vuforia on Android

August 4, 2013 - 6:29pm #25

Great, you're welcome.

Can't run vuforia on Android

August 4, 2013 - 4:02pm #24

After updating to Vuforia 2.6.10 it works like a charm (Transformer TF700T). Thanks guys!

Can't run vuforia on Android

July 23, 2013 - 5:10am #23

no updates yet.

Can't run vuforia on Android

July 23, 2013 - 3:48am #22

i have the same error . any solution??

Can't run vuforia on Android

July 17, 2013 - 12:02am #21

Thanks.

Do you have any idea what causes this bug; i.e.: i'm looking for a way to get around this, and any info could be useful.

Cheers
Christian

Can't run vuforia on Android

July 16, 2013 - 2:23am #20

Thanks chnt for the reference.

And thanks AlessandroB for your response, please keep us informed.

Regards,

Daniele

Can't run vuforia on Android

July 16, 2013 - 1:23am #19

Just as a quick update: we expect to have a fix for this issue in the next release of Vuforia; I don't have official dates or ETA at the moment, but I'll try to give an update in the next couple of weeks.

 

Can't run vuforia on Android

July 16, 2013 - 12:27am #18

Adding further logging to the native code in order to narrow in on the problem revealed to me that the very last last function to be called is:

QCAR::Renderer::getInstance().drawVideoBackground();

I'll continue to investigate, but without access to the underlying source, it won't be very effective, but i need this to work - and soon...

Cheers 
Christian

Can't run vuforia on Android

July 12, 2013 - 12:49am #17

I'm having the same issue. I have modified the ImageTargets somewhat to suit my needs a bit better, but the essentails are the same. - i use QCAR to detect, rather than track images.

The app works nicely on a Sony Tablet S, running Android 4.0.3, and a Nexus-7 running 4.2.2 as well as a Nexus-10 (can't remember which version), but while testing on a Samsung Galaxy Tab, The app dies just after initializing QCAR. 
I don't have that tablet at hand, but a collegue is using it for testing, and this makes debugging a pain. I've tested it myself on the others. The app dies without an exeption, and no stacktrace is logged, thus i added some logging to indicate which functions are called in both the native and the java part. 
I asked my collegue to record the logcat-log and send it to me, and in that, i found the very same error-message as has been reported by the others. But instead of dying immidiately, i got one more line:

 
I/QCARSampleGLView( 6172): Creating OpenGL ES 2.0 context
D/ScanFragmentRenderer( 6172): onSurfaceCreated()
I/QCAR    ( 6172): Java_dk_libero_app_fragments_ScanFragmentRenderer_initRendering
D/ScanFragmentRenderer( 6172): onSurfaceChanged()
I/QCAR    ( 6172): Java_dk_libero_app_fragments_ScanFragmentRenderer_updateRendering
I/QCAR    ( 6172): Configure Video Background : Video (800,600), Screen (640,401), mSize (640,480)
D/DetectPuppetFragment( 6172): ScanFragment::updateRenderView
I/QCAR    ( 6172): Java_dk_libero_app_fragments_ScanFragmentRenderer_updateRendering
I/QCAR    ( 6172): Configure Video Background : Video (800,600), Screen (640,480), mSize (640,480)
I/QCAR    ( 6172): Java_dk_libero_app_fragments_DetectPuppetFragment_setProjectionMatrix
D/MPLSensor(  191): setDelay : handle=4, delay=66667000
I/        (  191): mpu3050_suspend: suspending sensors to 0000
I/WindowManager(  191): WIN DEATH: win
I/ActivityManager(  191): Process app.processName (pid 6172) (adj 0) has died.
W/ActivityManager(  191): Force removing r: app died, no saved state
 
The error apparantly happens right after the call to the native function "setProjectionMatrix".
 
Interestingly, i have previously had a similar issue, when using an imagedetection-algoritm implemented in OpenCV, also exiting the app just as the camera view appeared ready to start.
Even though it looks like you are using "FastCV" and not OpenCV, could these be related? Or does the Samsung Galaxy Tab, simply not like Computer-Vision as much as we do?
 
Cheers
Christian

Can't run vuforia on Android

July 11, 2013 - 5:20am #16

Thanks for the response.

Can you provide a way to test if the device will work before-hand or give instruction on how to catch that error / handle that exception?

I'd like at least to give a dialog to the user saying the feature is not yet supported on their device.

 

Thanks.

Can't run vuforia on Android

July 11, 2013 - 3:14am #15

No updates yet, but we are working on it.

Thank you for your patience.

Can't run vuforia on Android

July 11, 2013 - 2:45am #14

Hitting this exact same error.

Vuforia 2.5.7, Samples 2.5.5 - ImageTargets - Samsung Galaxy Tab

 

 

07-11 11:38:20.058: D/QCAR(4801): ImageTargets::updateRenderView
07-11 11:38:20.058: I/QCAR(4801): Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargetsRenderer_updateRendering
07-11 11:38:20.058: I/QCAR(4801): Configure Video Background : Video (800,600), Screen (1024,600), mSize (1024,768)
07-11 11:38:20.058: I/QCAR(4801): Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargets_setProjectionMatrix
07-11 11:38:20.085: E/(4801): vendor/qcom/proprietary/fastcv-noship/src/cpu/fastcvBlurC.cpp@59: srcImg && dstImg && srcWidth && srcHeight && (srcStride >= srcWidth) && dstStride Assertion failed
 
 
It's been a while now this is open with no reply. Can you provide some information?

Can't run vuforia on Android

July 1, 2013 - 12:58am #13

Hi, we are still investigating the issue, but unfortunately I cannot provide an estimate yet.

I will update this thread as soon as I have some news.

 

Can't run vuforia on Android

June 30, 2013 - 11:09pm #12

I Alessandro,

Any news on the problem ? Do you think this will be solved soon ?

Thanks!

Can't run vuforia on Android

June 26, 2013 - 8:57am #11

I don't have an estimate at the moment.

Can't run vuforia on Android

June 26, 2013 - 8:38am #10

Is it possible to estimate what interval is more likely to be needed to get the fix --- few days or weeks?

Can't run vuforia on Android

June 26, 2013 - 4:48am #9

2.0.30 is no longer available, but we are working to solve the issue on 2.5.7....

Can't run vuforia on Android

June 26, 2013 - 3:37am #8

Uhm, is there a way to obtain SDK 2.0.30? It seems there's only 2.5.7 available for download.

Can't run vuforia on Android

June 26, 2013 - 3:10am #7

Hi!

I have the same problem, again on an Asus Transformer Prime (TF201). I changed the SDK to 2.5.7 and the same error is thrown.

com.qualcomm.QCARSamples.ImageTargets	ERROR		vendor/qcom/proprietary/fastcv-noship/src/cpu/fastcvBlurC.cpp@59: srcImg && dstImg && srcWidth && srcHeight && (srcStride >= srcWidth) && dstStride Assertion failed

I have some logs attached, one with sdk 2.0.30 and one with 2.5.7, where the example runs fine with 2.0.30 and fails with 2.5.7

Best regards, Peter

 

Can't run vuforia on Android

June 25, 2013 - 10:40pm #6

Thanks ALL for the valuable information and updates on this issue. This will help us identify the problem.

 

 

Can't run vuforia on Android

June 25, 2013 - 4:21pm #5

Exactly the same problem here:

vendor/qcom/proprietary/fastcv-noship/src/cpu/fastcvBlurC.cpp @59: srcImg && dstImg && srcWidth && srcHeight && (srcStride >= srcWidth) && dstStride Assertion failed

What's interesting, I have also Asus (Transformer TF700T) tablet. Android 4.2.1, camera version TF700T-B03400, kernel 3.1.10-g9827b9a.

One thing I had to change was setting Android Target to 4.2.2, otherwise ImageTargets won't compile (it needed some lower target, but I haven't that one installed). Building of *.so went OK (well, I had to change file permissions manually first, as make couldn't read some files), importing ImageTargets into Eclipse went OK (however I needed to change the target, as I mentioned above), building went OK, application was started on my pad, it showed splash screen, then instructions about printing PDF and I pressed Start button. It seemed to perform some operations (there was progress indicator displayed) and after 5--10 seconds it went back to instruction screen. In the LogCat there where this error mentioned at the beginning (it was the last entry in the log).

The other device I have is XPERIA X10 Pro Mini, but it runs on Android 2.1, so it's useless.

I work on Windows 7 64b.

After several attempts to run the app, I discovered some more errors in the log (whole log included).

AttachmentSize
Plain text icon image-targets-log.txt19.04 KB

Can't run vuforia on Android

June 25, 2013 - 3:26am #4

Hi,

Correction: this issue only appears on the other device we use, an Asus Transformer Prime tf201, we get the assertion failure my colleague sent you just after QCAR initialization, at the first frame render. (Sorry for misleading you)

The tablet runs Android 4.1.1, nothing special about it...

Thanks

Can't run vuforia on Android

June 24, 2013 - 7:51am #3

Hi again: could you provide as many details as possible on your LG Nexus 4 ?

We tested on Nexus 4 here with Android 4.2, but we were unable to reproduce the issue. Any extra details on the device would be appreciated.

Can't run vuforia on Android

June 24, 2013 - 7:08am #2

Hi, thanks for the report!

I have brought this to the attention of our product team.

I will keep you informed.

Log in or register to post comments