webrtc-java
webrtc-java copied to clipboard
Application crashs on startup
Hello !
Details The compilation went well, I had no problems... but when I try to launch the app, it crashes instantly. According to my tests, this line causes the problem (MainPresenter.java:100):
MediaDevices.addDeviceChangeListener(listener);
Crash log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f001ac9d905, pid=387620, tid=387662
#
# JRE version: OpenJDK Runtime Environment (14.0+36) (build 14+36-1461)
# Java VM: OpenJDK 64-Bit Server VM (14+36-1461, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libwebrtc-java.so+0x59d905]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/mathieu/Bureau/webrtc-java/core.387620)
#
# An error report file with more information is saved as:
# /home/mathieu/Bureau/webrtc-java/hs_err_pid387620.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
The crash log : hs_err_pid387620.log
Desktop:
OS: Ubuntu 20.10 JAVA: 14 All necessary libs are installed: libasound2-dev libpulse-dev libudev-dev libv4l-dev
Thanks in advance