Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple request/response sample crashes on Android 9 devices (Works great on Android 6) #931

Open
timothyparez opened this issue Aug 28, 2020 · 1 comment
Labels

Comments

@timothyparez
Copy link

timothyparez commented Aug 28, 2020

Environment

NetMQ Version:    NetMQ.4.0.0.207
Operating System: Android 6
.NET Version:     Mono 6.6.0.166

Expected behaviour

A very simple ResponseSocket:

responseSocket = new ResponseSocket();
responseSocket.Bind("tcp://*:32700");     

while(true)
{
    var data = responseSocket.ReceiveFrameBytes();
    responseSocket.SendFrame(data);            
}

And a RequestSocket:

var requestSocket = new RequestSocket()
requestSocket.Connect("tcp://127.0.0.1:32700");
requestSocket.SendFrame(new byte[]{0x01, 0x02, 0x03, 0x04, 0x05, 0x06});
var response = requestSocket.ReceiveFrameBytes()

When executing this on Android 6 devices this works great.
(Same results with .SendFrame("somestring") and .ReceiveFrameString())

Actual behaviour

On Android 9 devices (and I think it really starts on Android 7 but cannot confirm)
I can create the sockets and bind/connect them but as soon as the ResponseSocket receives
any data the application crashes immediately. There is nothing in logcat or the mono logs that
indicates what is going on.

Steps to reproduce the behaviour

I can reproduce this on custom Rockchip SoC's as well as Android phones.

I know this is very little to go on...
Perhaps the question is: Has anybody ever used NetMQ on Android 9?

@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.

@stale stale bot added the stale label Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant