Jump to content
Welcome to our new Citrix community!
  • 0

Error 1107 when custom virtual channel app fails to load on M1 Mac


Brent Thompson

Question

My team developed a custom Virtual Channel driver and it's been working fine for many years on Mac. We and our customers have been using the Intel/Rosetta-emulated versions of Citrix Workspace app for Mac . Recently, we discovered the driver won't load on an M1 Mac when using versions 2211 or 2304 of the 'universal architecture' Citrix Workspace App for M1. It does load with version 2301 of the same, which may be a fluke. All I get in the logs when it doesn't load is error 1107.

 

| 04-21-2023 | 10:20:30.310 | 2611 | 1 | inifile.c | 193 | LoadINIFileSection | TC_LIB | TT_API2 | LoadINIFileSection(</Users/test/Library/Application Support/Citrix Receiver/Modules>, <myDriver>)

|04-21-2023 | 10:20:30.342 | 2611 | 1 | engload.m | 354 | LoadLegacyVirtualChannels | TC_VD | TT_API1 | Loading custom VC 'myDriver.PlugIn'. DriverName: myDriver.PlugIn

| 04-21-2023 | 10:20:30.342 | 2611 | 1 | dll.c | 249 | ModuleLoad | TC_LIB | TT_API1 | ModuleLoad: myDriver.PlugIn

| 04-21-2023 | 10:20:30.343 | 2611 | 1 | dll.c | 387 | ModuleLoad | TC_LIB | TT_API1 | ModuleLoad: myDriver.PlugIn, rc=1107

| 04-21-2023 | 10:20:30.343 | 2611 | 1 | cfgload.c | 327 | LoadDriver | TC_LIB | TT_API1 | LoadDriver: ModuleName myDriver.PlugIn, DllPath , LoadPath myDriver.PlugIn, rc=1107

| 04-21-2023 | 10:20:30.343 | 2611 | 1 | engload.m | 365 | LoadLegacyVirtualChannels | TC_VD | TT_ERROR | Failed to load custom VC 'myDriver.PlugIn'. Error: 1107

 

All I can find in the VCSDK code for that error code is:

mac/Common/clterr.h:#define CLIENT_ERROR_DLL_NOT_FOUND                1107

 

but I know the Plugin is being found.

I downloaded the latest VCSDK for M1, built the Ping test plugin, installed it in the same location (~/Library/Application Support/Citrix/Plugins/) and it loads fine.

 

I've recompiled my driver for arm64, no difference.

I've rebuilt the driver with the latest VCSDK for M1, no difference.

 

Does anyone know what that error indicates, and how to resolve it?

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...