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

ZeroMQ address already in use when sometimes initializing android CameraManager #11

Open
MankaranSingh opened this issue Nov 7, 2022 · 0 comments
Labels
android issues related to android bug Something isn't working

Comments

@MankaranSingh
Copy link
Contributor

Happens when switching between apps and sometimes on startup.

java.lang.RuntimeException: Unable to start activity ComponentInfo{ai.flow.android/ai.flow.android.AndroidLauncher}: org.zeromq.ZMQException: Address already in use(0x62)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3707)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3864)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2253)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7870)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: org.zeromq.ZMQException: Address already in use(0x62)
	at org.zeromq.ZMQ$Socket.bind(Native Method)
	at messaging.ZMQPubHandler.createPublisher(ZMQPubHandler.java:35)
	at ai.flow.android.sensor.CameraManager.<init>(CameraManager.java:99)
	at ai.flow.android.AndroidLauncher.onCreate(AndroidLauncher.java:104)
	at android.app.Activity.performCreate(Activity.java:8057)
	at android.app.Activity.performCreate(Activity.java:8037)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1341)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3688)
	... 12 more
@MankaranSingh MankaranSingh added bug Something isn't working android issues related to android labels Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android issues related to android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant