Highlighted

[Windows 64-bit] 64-bit AIR application crashes with Logitech cameras

Engaged ,
Mar 12, 2019

Copy link to clipboard

Copied

Problem Description:

64-bit AIR application crashes when trying to use Logitech cameras.

When you just try to get Camera with connected Logitech camera application crashes.

There is no way to use 64-bit AIR applications with Logitech cameras.

It has been tested with AIR 32.0.0.89 and AIR 32.0.0.103 beta with 64-bit AIR runtime.

Tested with multiple Logitech HD Webcam C270, Logitech C960 and some others.

Same problem with both AIR runtime versions and with multiple Logitech cameras.

It works fine 32-bit AIR runtime.

Tracker link: https://tracker.adobe.com/#/view/AIR-4198808

Steps to Reproduce:

Launch 64-bit AIR application which try to get connected cameras names and trace it.

ActionScript 3.0 code:

var cameras:Array = Camera.names;

trace("Cameras:", cameras);

Actual Result:

Application crashes with:

Faulting application name: camera_64bit_crash.exe, version: 0.0.0.0, time stamp: 0x5c5b5e97

Faulting module name: Adobe AIR.dll, version: 32.0.0.103, time stamp: 0x5c5b61fe

Exception code: 0xc0000409

Fault offset: 0x000000000082c9bc

Faulting process ID: 0x3814

Faulting application start time: 0x01d4d8dee0630e74

Faulting application path: C:\camera_64bit_crash\camera_64bit_crash.exe

Faulting module path: C:\camera_64bit_crash\Adobe AIR\Versions\1.0\Adobe AIR.dll

Report ID: 1ec90cc0-44d2-11e9-83ba-7a31c1cfc3e0

Faulting package full name:

Faulting package-relative application ID:

Expected Result:

Application not crash and trace cameras names:

Cameras: Logitech HD Webcam C270

Any Workarounds: none

TOPICS
Performance issues

Views

1.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

[Windows 64-bit] 64-bit AIR application crashes with Logitech cameras

Engaged ,
Mar 12, 2019

Copy link to clipboard

Copied

Problem Description:

64-bit AIR application crashes when trying to use Logitech cameras.

When you just try to get Camera with connected Logitech camera application crashes.

There is no way to use 64-bit AIR applications with Logitech cameras.

It has been tested with AIR 32.0.0.89 and AIR 32.0.0.103 beta with 64-bit AIR runtime.

Tested with multiple Logitech HD Webcam C270, Logitech C960 and some others.

Same problem with both AIR runtime versions and with multiple Logitech cameras.

It works fine 32-bit AIR runtime.

Tracker link: https://tracker.adobe.com/#/view/AIR-4198808

Steps to Reproduce:

Launch 64-bit AIR application which try to get connected cameras names and trace it.

ActionScript 3.0 code:

var cameras:Array = Camera.names;

trace("Cameras:", cameras);

Actual Result:

Application crashes with:

Faulting application name: camera_64bit_crash.exe, version: 0.0.0.0, time stamp: 0x5c5b5e97

Faulting module name: Adobe AIR.dll, version: 32.0.0.103, time stamp: 0x5c5b61fe

Exception code: 0xc0000409

Fault offset: 0x000000000082c9bc

Faulting process ID: 0x3814

Faulting application start time: 0x01d4d8dee0630e74

Faulting application path: C:\camera_64bit_crash\camera_64bit_crash.exe

Faulting module path: C:\camera_64bit_crash\Adobe AIR\Versions\1.0\Adobe AIR.dll

Report ID: 1ec90cc0-44d2-11e9-83ba-7a31c1cfc3e0

Faulting package full name:

Faulting package-relative application ID:

Expected Result:

Application not crash and trace cameras names:

Cameras: Logitech HD Webcam C270

Any Workarounds: none

TOPICS
Performance issues

Views

1.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 12, 2019 0
Community Beginner ,
May 15, 2019

Copy link to clipboard

Copied

itlancer, have you solved this yet? A while back I created a 64-bit captive runtime application (similar to a photo booth) that uses a Logitech BRIO camera. Runs on 64 bit Windows 10. That project used AIR SDK 28, but I just built a version using SDK 32.0.0.116 and that worked fine too.

I am definitely not an AIR compiler expert, so in your crash output, I don't understand line 08 having "\Versions\1.0\" instead of version 32.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 15, 2019 0
Engaged ,
May 16, 2019

Copy link to clipboard

Copied

No, this issue still exist.

Only deleteing 64-bit Logitech drivers could help to avoid crash. But Logitech drivers for cameras almost always automatically installs when you plug in camera and users got crashes.

I think may be issue only with cameras that have 64-bit drivers.

Out application built with 64-bit captive runtime. Line 08 is from Windows Error Reporting error (crash) event. "C:\camera_64bit_crash\Adobe AIR\Versions\1.0\Adobe AIR.dll" - it's full path to "Adobe AIR.dll". "\Versions\1.0\" - it's just AIR SDK create this structure for me. It doesn't depend of AIR SDK version. We using AIR 32.0.0.89 right now.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 16, 2019 0
Enthusiast ,
May 16, 2019

Copy link to clipboard

Copied

have you tried to test the same app but launch it as Administrator?
eg. some USB drivers might need admin rights to be accessed

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 16, 2019 0
Engaged ,
May 16, 2019

Copy link to clipboard

Copied

Yes. The same problem with or without Administrator rights. Domain users etc also doesn't avoid crash. Default "Camera" Windows application works fine with these Logitech cameras. Other (non AIR) application also works fine with these cameras.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 16, 2019 0
Community Beginner ,
May 16, 2019

Copy link to clipboard

Copied

So why does it work for me?

I created a simple program to list the connected cameras on the stage using FlashDevelop. I created a new project of type: AIR AS3 Projector. I use SDK 32.  I package it as a 64-bit captive runtime application and it runs fine under Windows 10, listing my connected cameras. It runs fine with the adl debugger (32-bit) too.

I did run a firmware update on the camera about a year ago using BRIOFWUpdate_2.0.17.exe.

I also have used LogiCameraSettings_2.3.117.exe.

Let  me know if want any .bat files or want me to try anything.

package

{

    import flash.display.Sprite;

    import flash.media.Camera;

    import flash.text.TextField;

  

    /**

     * ...

     * @author BBartonW

     */

    public class Main extends Sprite

    {

      

        public function Main()

        {

            var textBox            :TextField;  

            var i                :uint;

          

            trace("Main Camera names   " + Camera.names);

            textBox            = new TextField();

            for (i = 0; i < Camera.names.length; i++)

            {

                textBox.text    += Camera.names + "\n";

            }

            stage.addChild(textBox);

            stage.color    = 0xbbffbb;

        }

      

    }

  

}

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 16, 2019 0
Engaged ,
May 16, 2019

Copy link to clipboard

Copied

I don't have Logitech BRIO camera to test it.

But with Logitech HD Webcam C270 and Logitech C960 cameras AIR applications (with 64-bit captive runtime) crashes with the same code as you wrote.

These cameras uses lvcod64.dll 64-bit driver: c:/Windows/System32/lvcod64.dll

Deleting this driver file (or completely remove Logitech camera drivers) avoid crash. By default this driver file installes automatically when you plug Logitech C270 or C960 camera so user will have crash with AIR app if he don't remove c:/Windows/System32/lvcod64.dll.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 16, 2019 0
Explorer ,
Feb 21, 2020

Copy link to clipboard

Copied

Personnally, I found there is a global issue when you have a virtual camera device. In my case, it comes with Logitech Capture, it creates a virtual camera. When you try to get the device list, it crashes my AIR app. Just uninstalling it works fine. A fix for this would be great but my guess is that nobody works on AIR at Adobe nowadays!

 

Update: I tried it with the latest SDK from Harman (33.0.2.338) and I still have the issue.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 21, 2020 0
jasenm LATEST
New Here ,
Aug 01, 2020

Copy link to clipboard

Copied

Hi 

 

I had exact same issue, gladly this has been resolved with the AIR 33.1.1.176 SDK update (see Gamua-320)

 

See:https://airsdk.harman.com/release_notes

 

Good work Harman!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 01, 2020 0