Closed ccaltagi closed 3 months ago
@ccaltagi I noticed you have the 1.2.0.1 version of LabVIEW gRPC Library. We depend on the 1.0.1.1 version (see the assets in our release here). I'd suggest trying with that version to see if it still crashes. I ran the client several times on my machine here without crashing.
I just finished installing LabVIEW gRPC 1.2.0.1 and it also crashed for me.
Thanks! Downgrading to gRPC 1.0.1.1 fixed the crash.
@CPattar-NI The 1.2.0.1 release seems to have broken this. We looked through the changes and suspect maybe https://github.com/ni/grpc-labview/pull/335 could be the culprit. Would you take a look at this?
From the client code that is crashing, it's calling EnumerateServices on the discovery service. In the code below, that call is actually unnecessary since it's not using the result of the call. So perhaps it could be related to unwired outputs?
This is now fixed and is available as part of this release https://github.com/ni/grpc-labview/releases/tag/v1.2.2.1
Closing as the fix has been verified.
Bug Report
I am trying to run the shipping MeasurementLink Client example by first running
Run Service.vi
inService.lvproj
thenRun Client.vi
inClient.lvproj
, but this crashes very frequently.I am attaching the crash reports.
Run the example from measurementlink-labview-examples-2.0.0.1\MeasurementLink Client
Expected Behavior
The example should not crash.
Current Behavior
The example crashes when running the client. Attaching the stack trace.
Context
Evaluation of adding MeasurementLink support to FlexLogger.
Your Environment
ni-measurement-service
version 2.0.0.18b8a5ea8-93d6-4c56-a520-276ba41bf2fc.zip 3401af17-584c-45dd-9e00-8d4033496da2.zip
AB#2659707