"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

App crashes when accessing vuImageGetImageInfo



I need to grab the camera image which I am accessing trough the attached code. When I run from the IDE, it works fine, but when I sign the code, it crashes when calling this line:


if (vuImageGetImageInfo(image, info) != VU_SUCCESS) {}


This is the error:


Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 24378 (GLThread 5756), pid 23872 (snoopstar.stage)


I used the Vuforia Sample and the latest SDK.

How can I debug this problem? I tried a lot of classes in the proguard file, but onyl vuforia code is called in this steps..

This is the code executed in prepareToRender:

    VuCameraFrame *frame = nullptr;
    if (vuStateGetCameraFrame(state, &frame) != VU_SUCCESS) {

    VuImageList *images = nullptr;
    if (frame != nullptr) {
        vuCameraFrameGetImages(frame, images);
        int listSize = 0;
        vuImageListGetSize(images, &listSize);
        if (listSize > 0) {
            for (int i = 0; i < listSize; i++) {
                VuImage *image;
                if (vuImageListGetElement(images, i, &image) != VU_SUCCESS) {
                VuImageInfo* info;
                if (vuImageGetImageInfo(image, info) != VU_SUCCESS) {
                if (info->width <= 0 || info->height <= 0) {
                if (
                    info->format == VU_IMAGE_PIXEL_FORMAT_YUV420P
                    || info->format == VU_IMAGE_PIXEL_FORMAT_YUYV
                    || info->format == VU_IMAGE_PIXEL_FORMAT_YV12
                    || info->format == VU_IMAGE_PIXEL_FORMAT_NV21
                    || info->format == VU_IMAGE_PIXEL_FORMAT_NV12
                    ) {

Thanks for you help.


Thu, 02/09/2023 - 07:09

If you are looking for a game then [url=https://fallguys3.com]fall guys 3[/url] will be a satisfying game for you if you are looking for a way to provide some downtime for you and your kids. There are hundreds of fun and exciting games available for you to try.