Skip to content

Test issue after upgrade on Windows #11613

Answered by dbolduc
lordgamez asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, so I asked for a second opinion and @coryan pointed out that the test executable is both

  • linking the minifi-gcp library directly
  • calling LoadLibraryEx() on minifi-gcp.dll

This means there are two versions of the libraries symbols. (I did notice that the address of thread_local current_options was different in the test executable and plugin.)

After checking the example it seems to me that the issue can be fixed solely by implementing the DllMain in the google-cloud-cpp library and initializing the thread_local there without the need to modify core-minifi as there is no need to access the variable explicitly outside the dll.

I think I led you astray here. In reading further, I don'…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@dbolduc
Comment options

@lordgamez
Comment options

@lordgamez
Comment options

@dbolduc
Comment options

Answer selected by lordgamez
@lordgamez
Comment options

@lordgamez
Comment options

@dbolduc
Comment options

@lordgamez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants