Android Server hung while using USB WebCam in my system

I am evaluating the feasibility for applying to our product with VirtualHere Android Server
The main application will be using WebCam(Video/Microphone/Speaker)
I have installed VirtualHere android server and activated my license.
The system is Android 7.1 (AOSP) with USB 2.0 Ports.
I did following testing from Android Server to Windows Client
Found and Connect Operating
USB Keyboard/Mouse OK OK
USB Mass Storage OK OK
USB WebCam OK Using Zoom, Client Disconnect, Sever hung
When Server hung, I need to reboot the Android System, other wise the Server process is not able to be killed.
How to I get log and send to the related people for analyse the cause?

#2

You have a bug in your Android kernel. What kernel are you running?

#4

Virtualhere doesnt have that bug so im certain it is in your kernel. My guess is that the kernel is causing an oops and its being logged somewhere. You will need search the android logs for that.

#5

Hi Michael
Follow is the log while running Android Server.
It would be great if you can tell us the possible cause.
P.S We do have bought license and activate it.

01-18 09:18:59.121 1687 1687 W linker : /data/app/com.virtualhere.androidserver-1/lib/arm64/libvhusbdan.so: unsupported flags DT_FLAGS_1=0x8000001
01-18 09:18:59.121 1607 1688 I vhusbd : WARNING: linker: /data/app/com.virtualhere.androidserver-1/lib/arm64/libvhusbdan.so: unsupported flags DT_FLAGS_1=0x8000001

01-18 09:19:25.174 1607 1607 E virtualhere-daemon: License query failed, Error: java.net.UnknownHostException: Unable to resolve host "www.virtualhere.com": No address associated with hostname

01-18 09:22:44.999 624 670 I InputDispatcher: Application is not responding: AppWindowToken{345ba90 token=Token{ca28d42 ActivityRecord{f6f78d u0 com.virtualhere.androidserver/.GUI t348}}} - Window{c83cfb5 u0 com.virtualhere.androidserver/com.virtualhere.androidserver.GUI}. It has been 5004.9ms since event, 5003.3ms since wait started. Reason: Waiting to send key event because the focused window has not finished processing all of the input events that were previously delivered to it. Outbound queue length: 0. Wait queue length: 28.

01-18 09:22:45.034 624 670 I WindowManager: Input event dispatching timed out sending to com.virtualhere.androidserver/com.virtualhere.androidserver.GUI. Reason: Waiting to send key event because the focused window has not finished processing all of the input events that were previously delivered to it. Outbound queue length: 0. Wait queue length: 28.

01-18 09:22:46.700 624 638 E ActivityManager: ANR in com.virtualhere.androidserver (com.virtualhere.androidserver/.GUI)
01-18 09:22:46.703 624 639 W ActivityManager: Force finishing activity com.virtualhere.androidserver/.GUI

#6

No sorry i dont debug/fix the android kernel. You need to contact the manufacturer of your reference design and ask them to fix it.