You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to package an application that can access mouse movement as a docker container. It is possible to pass many other devices (webcams etc) to docker by mounting them as volumes/devices. Unfortunately, when I attempt that here, I receive a seg fault, but cannot determine how to troubleshoot it.
Why docker?
It is an easy way to develop on any machine, and then test/deploy anywhere.
Reproducing the issue
This can easily be reproduced by creating the following files:
I would like to package an application that can access mouse movement as a docker container. It is possible to pass many other devices (webcams etc) to docker by mounting them as volumes/devices. Unfortunately, when I attempt that here, I receive a
seg fault
, but cannot determine how to troubleshoot it.Why docker?
It is an easy way to develop on any machine, and then test/deploy anywhere.
Reproducing the issue
This can easily be reproduced by creating the following files:
Then simply run
docker-compose up
and the app will exit with code 139 (128+ 11)The log shows
Segmentation fault (core dumped)
When I run
dmesg
, I see the following:Any thoughts on how to investigate this?
Thanks
The text was updated successfully, but these errors were encountered: