Known Issues and Platform Notes
This page describes known issues and platform-specific notes for this Ice release.
On this page:
C++
C++98 Mapping and -std option on Linux ARM
gcc provides several C++ compilation modes through its -std
option: c++98, c++11, or an extended version of one of these two modes.
On Linux ARM, Ice for C++98 defines two incompatible layouts for an internal but publicly visible class (Atomic
), based on the selected compilation mode. As a result, your Ice C++98 application for Linux ARM must use the same compilation mode as the Ice C++98 library. c++98 and extensions such as gnu++98 are considered the same mode for Ice builds. Likewise c++11 and newer versions such as c++14 are considered the same.
This bug does not affect Linux x86/x64, where Atomic
remains compatible across compilation modes.
Ice for C++98 is built by default without specifying -std
, and the default C++ compilation mode is compiler-version dependent: c++11 for gcc 6 and greater, c++98 for earlier versions of gcc.
For example, with gcc 5.x, Ice for C++98 is built by default in c++98 mode. In order to create an Ice for C++98 application for Linux ARM built with -std=c++11
using this compiler, you need to build Ice for C++98 in c++11 mode.
Java
Socket connection issue in Android emulator
An Ice application that attempts to connect to an invalid address can generate "spurious wakeup" messages in logcat when running under an emulator for Android 4.2 or later. This issue does not occur on hardware devices, however you can still experience lengthy delays before receiving an exception. As a defensive measure, it is always a good idea to set reasonable timeouts on your proxies to avoid unexpected delays.
Android Bluetooth limitations
A process can only establish one Bluetooth connection at a time to a particular remote endpoint. This process can have multiple connections open at the same time, but each of those connections must be to a different endpoint.
Anonymous Diffie Hellman ciphersuites
Recent versions of Java require low-strength ADH ciphersuites to be disabled when using TLS 1.0. It is no longer sufficient to use this IceSSL configuration:
IceSSL.Ciphers=NONE (DH_anon) IceSSL.VerifyPeer=0
We recommend using this setting instead:
IceSSL.Ciphers=NONE (DH_anon.*AES) IceSSL.VerifyPeer=0
Entropy pool causes hangs
When using the Ice for Java SSL plug-in (IceSSL), you may experience occasional hangs. The most likely reason is that your system's entropy pool is empty. If you have sufficient system privileges, you can solve this issue by editing the file java.home
/jre/lib/security/java.security
and changing it to use /dev/urandom
instead of /dev/random
. If you do not have permission to modify the security file, you can also use the command-line option shown below:
java -Djava.security.egd=file:/dev/urandom MyClass ...
Linux
Bluetooth limitations
A process can only establish one Bluetooth connection at a time to a particular remote endpoint. This process can have multiple connections open at the same time, but each of those connections must be to a different endpoint.
Windows
Anti-Virus when testing WebSocket
If your anti-virus intercepts http
traffic on localhost, a number of tests in the Ice test suite may fail due to timeouts when running the test suite with the ws
(WebSocket) protocol. The work-around is to disable the "web access protection" feature of the anti-virus entirely or at least for localhost (127.0.0.1).
Multicast and Windows Store Apps
Network isolation for Windows Store Apps blocks multicast datagrams on the loopback interface. As a result, IceDiscovery and IceLocatorDiscovery won't be able to discover peers listening on the loopback interface.
TLS 1.2 with Windows 7, Windows 8.1 and Windows Server 2012
A bug in SChannel's implementation of TLS 1.2 that affects Windows versions prior to Windows 10 can result in SSL handshake failures when client and server negotiate a DHE-based cipher suite. Applications can work around this by disabling DHE cipher suites. See the links below for more information about this issue:
- https://connect.microsoft.com/IE/feedback/details/1253526/tls-serverkeyexchange-with-1024-dhe-may-encode-dh-y-as-127-bytes-breaking-internet-explorer-11
- https://github.com/dotnet/corefx/issues/7812#issuecomment-305848835