We tried running anbox cloud latest 1.14.2 while using image g5g.2xlarge image
When we start using iPhone safari browser, click on the Camera , Allowing permission, we get a crashed message from Anbox, however, if we are using Chrome OSX Browser or Android Chrome browser, it work perfectly fine. Also When we are using c4g.2xlarge instance there isn't any error for iOS Safari
$ amc logs cbfnopv6ndea9ecsosg0
Jul 26 05:32:51 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Reached target Multi-User System.
Jul 26 05:32:51 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Reached target Graphical Interface.
Jul 26 05:32:51 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Startup finished in 23.151s.
Jul 26 05:32:51 ams-cbfnopv6ndea9ecsosg0 anbox-starter[144]: (webrtc_video_engine.cc:1129): Attempting to get RTP parameters for the default, unsignaled video receive stream, but not yet configured to receive such a stream.
Jul 26 05:32:52 ams-cbfnopv6ndea9ecsosg0 anbox-starter[144]: (webrtc_video_engine.cc:1129): Attempting to get RTP parameters for the default, unsignaled video receive stream, but not yet configured to receive such a stream.
Jul 26 05:32:53 ams-cbfnopv6ndea9ecsosg0 anbox-starter[144]: (webrtc_video_engine.cc:1129): Attempting to get RTP parameters for the default, unsignaled video receive stream, but not yet configured to receive such a stream.
Jul 26 05:32:54 ams-cbfnopv6ndea9ecsosg0 anbox-starter[144]: (webrtc_video_engine.cc:1129): Attempting to get RTP parameters for the default, unsignaled video receive stream, but not yet configured to receive such a stream.
Jul 26 05:32:55 ams-cbfnopv6ndea9ecsosg0 anbox-starter[1907]: [1907:1907:20220726,053255.582570:ERROR elf_dynamic_array_reader.h:64] tag not found
Jul 26 05:32:55 ams-cbfnopv6ndea9ecsosg0 anbox-starter[1907]: [1907:1907:20220726,053255.582673:ERROR elf_dynamic_array_reader.h:64] tag not found
Jul 26 05:32:55 ams-cbfnopv6ndea9ecsosg0 anbox-starter[1907]: [1907:1907:20220726,053255.582754:ERROR elf_dynamic_array_reader.h:64] tag not found
Jul 26 05:32:55 ams-cbfnopv6ndea9ecsosg0 anbox-starter[1907]: [1907:1907:20220726,053255.582835:ERROR elf_dynamic_array_reader.h:64] tag not found
Jul 26 05:32:55 ams-cbfnopv6ndea9ecsosg0 anbox-starter[1907]: [1907:1907:20220726,053255.591449:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
Jul 26 05:32:55 ams-cbfnopv6ndea9ecsosg0 anbox-starter[1907]: [1907:1907:20220726,053255.591499:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: anbox.service: Main process exited, code=killed, status=11/SEGV
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 sh[1950]: 2022/07/26 05:32:56 Using deprecated hook: backup
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 amsctl[1957]: 2022/07/26 05:32:56 Dumping system.log ...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 amsctl[1957]: 2022/07/26 05:32:56 Dumping android.log ...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 amsctl[1957]: 2022/07/26 05:32:56 Copying crash logs from /var/lib/anbox/crashes/session ...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 amsctl[1957]: 2022/07/26 05:32:56 Copying crash logs from /var/lib/anbox/data/anr ...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 amsctl[1957]: 2022/07/26 05:32:56 Copying crash logs from /var/lib/anbox/data/tombstones ...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 amsctl[1957]: 2022/07/26 05:32:56 Status change notified: error 0 service killed with status SEGV
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: anbox.service: Failed with result 'signal'.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Received SIGRTMIN+3.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Removed slice Slice /system/modprobe.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Graphical Interface.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Multi-User System.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Login Prompts.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Network is Online.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Network.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Preparation for Network.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Remote File Systems.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped target Timer Units.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: dpkg-db-backup.timer: Deactivated successfully.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped Daily dpkg database backup timer.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: e2scrub_all.timer: Deactivated successfully.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: systemd-tmpfiles-clean.timer: Deactivated successfully.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopping Anbox Container Manager...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopping Anbox Network Bridge...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopping Create final runtime dir for shutdown pivot root...
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd-tmpfiles[2081]: /run/finalrd-libs.conf:8: Duplicate line for path "/run/initramfs/lib", ignoring.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: anbox-network-bridge.service: Deactivated successfully.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped Anbox Network Bridge.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: finalrd.service: Deactivated successfully.
Jul 26 05:32:56 ams-cbfnopv6ndea9ecsosg0 systemd[1]: Stopped Create final runtime dir for shutdown pivot root.
Jul 26 05:33:29 ams-cbfnopv6ndea9ecsosg0 anbox[2084]: Execution of hook stop failed: calling container hook timed out
Jul 26 05:34:00 ams-cbfnopv6ndea9ecsosg0 anbox[114]: Container cannot shutdown orderly, forcibly stopping it now
Jul 26 05:34:00 ams-cbfnopv6ndea9ecsosg0 anbox[114]: EPIPE while sending: write: Broken pipe
-------------------
id: cbfnopv6ndea9ecsosg0
name: ams-cbfnopv6ndea9ecsosg0
status: running
node: lxd0
created_at: 2022-07-26 05:32:23 +0000 UTC
application:
id: cbfnaqv6ndea9ecsos9g
network:
address: 192.168.100.2
public_address: **.**.**.**
services: []
stored_logs: []
error_message: ""
config:
platform: webrtc
app_id: cbfnaqv6ndea9ecsos9g
app_version: 0
image_id: ""
image_version: 0
------------------
ubuntu@ip-192-168-3-249:~$ amc show-log cbfnopv6ndea9ecsosg0 system.log
Error: log not found
------------------
ubuntu@ip-192-168-3-249:~$ amc show-log cbfnopv6ndea9ecsosg0 android.log
Error: log not found
Hey Terence
Thanks for the bug report.
We confirm the issue that when streaming from safari(IOS devices), a native crash happened if opening up the camera application. And this issue only happened to applications that are created with a GPU instance type, like g4.3. That's the reason why you hit this issue when you installed Anbox Cloud appliance on g5g.2xlarge instance(where Nvidia T4G GPU is plugged) but not on c4g.2xlarge.
I just created an internal bug tracking for this. The fix to this bug should be included in the next minor release(1.15.0) and I will keep you posted on any updates for the upcoming release.
BR
Gary