You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contents of $ACE_ROOT/bin/MakeProjectCreator/config/default.features
None.
AREA/CLASS/EXAMPLE AFFECTED:
CosEventChannelAdmin::EventChannel and possibly other generated client code.
The problem effects:
Runtime.
Synopsis
Invoking ->for_suppliers() on a CosEventChannelAdmin::EventChannel results in an internal system exception.
Description
When using ACE+TAO built with CMake, invoking ->for_suppliers() on a CosEventChannelAdmin::EventChannel results in an internal system exception. This is because the TAO::TAO_CO_THRU_POA_STRATEGY bit is not passed to the TAO::Invocation_Adapter constructor within the source implementation of that function (CosEventChannelAdminC.cpp).
However, when built with the "full source distribution" with build files already present, the Invocation_Adapter is constructed with the TAO::TAO_CO_THRU_POA_STRATEGY bit, as follows:
It appears the problem was this line (now this line), taken from OpenDDS/cmake/tao_idl_sources.cmake. Disabling default behavior without a flag is quite confusing.
Version
ACE: 7.0.11, TAO: 3.0.11 (and others)
Host machine and operating system
Occurs on all attempted builds (Windows and macOS).
Compiler name and version (including patch level)
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
and VS 2022The $ACE_ROOT/ace/config.h file
ace/config-windows.h
orace/config-macosx-mojave.h
The $ACE_ROOT/include/makeinclude/platform_macros.GNU file
None. (Using CMake build)
Contents of $ACE_ROOT/bin/MakeProjectCreator/config/default.features
None.
AREA/CLASS/EXAMPLE AFFECTED:
CosEventChannelAdmin::EventChannel
and possibly other generated client code.The problem effects:
Runtime.
Synopsis
Invoking
->for_suppliers()
on aCosEventChannelAdmin::EventChannel
results in an internal system exception.Description
When using ACE+TAO built with CMake, invoking
->for_suppliers()
on aCosEventChannelAdmin::EventChannel
results in an internal system exception. This is because theTAO::TAO_CO_THRU_POA_STRATEGY
bit is not passed to theTAO::Invocation_Adapter
constructor within the source implementation of that function (CosEventChannelAdminC.cpp
).However, when built with the "full source distribution" with build files already present, the
Invocation_Adapter
is constructed with theTAO::TAO_CO_THRU_POA_STRATEGY
bit, as follows:What causes this bit to be missing?
The text was updated successfully, but these errors were encountered: