Segfault - error 4 in libring.so.0.0.0
Hi!
After installing jami-gnome via snap I encounter a software error.
When trying to enter the Media
tab within the GUI, the app crashes.
Running dmesg | grep jami
shows:
[ 2691.292322] audit: type=1400 audit(1631183195.431:529): apparmor="DENIED" operation="open" profile="snap.jami-gnome.jami" name="/run/mount/utab" pid=13596 comm="jami-gnome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 2693.972799] audit: type=1400 audit(1631183198.111:530): apparmor="DENIED" operation="open" profile="snap.jami-gnome.jami" name="/proc/zoneinfo" pid=13596 comm="PressureMonitor" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 2694.221005] audit: type=1400 audit(1631183198.359:531): apparmor="DENIED" operation="mknod" profile="snap.jami-gnome.jami" name=2F6465762F73686D2F736E61702E6A616D692E4A616D69204461656D6F6E5F73686D5F31333539365F30 pid=13596 comm="jami-gnome" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[ 2694.746037] jami-gnome[14102]: segfault at 0 ip 00007fd581e61c23 sp 00007fd4aaff97d0 error 4 in libring.so.0.0.0[7fd58185a000+18e7000]
There is a lot of apparmor=denied. Relevant versions of software:
snap 2.51.7-1
snapd 2.51.7-1
series 16
kernel 5.10.0-kali9-amd64
snapd 2.51.4 12883 latest/stable canonical✓ snapd
jami-gnome 20210513.4.d69ac0a 1 latest/stable sfljami -
After running jami-gnome.jami
in the terminal, following is displayed:
[1631189468.276|25359|upnp_context.cpp :1019 ] Mapping JAMI-UDP:20404 (on IGD http://192.168.1.1:1780/control?WANIPConnection [PUPNP]) successfully performed
[1631189468.350|25367|pupnp.cpp :1496 ] PUPnP: Sent request to open port JAMI-UDP:23868
[1631189468.350|25367|mapping.cpp :107 ] Changed mapping JAMI-UDP:23868 state from IN_PROGRESS to OPEN
[1631189468.350|25359|pupnp.cpp :666 ] PUPnP: Opened mapping JAMI-UDP:23868
[1631189468.350|25359|mapping.cpp :107 ] Changed mapping JAMI-UDP:23868 state from IN_PROGRESS to OPEN
[1631189468.350|25359|upnp_context.cpp :1019 ] Mapping JAMI-UDP:23868 (on IGD http://IP-REMOVED:1780/control?WANIPConnection [PUPNP]) successfully performed
[1631189469.830|25381|archive_account_manager.cpp:488 ] [Contacts] received device sync data (2 devices, 0 contacts)
[1631189482.688|25367|pupnp.cpp :341 ] PUPnP: Already have a valid IGD. Skip the search request
[1631189484.482|25255|manager.cpp :2379 ] Audio device already selected ; doing nothing.
[1631189484.482|25255|manager.cpp :2379 ] Audio device already selected ; doing nothing.
[1631189484.482|25255|manager.cpp :2379 ] Audio device already selected ; doing nothing.
(jami-gnome:25255): Gtk-WARNING **: 14:11:24.484: Theme parsing error: <data>:1:79: Not using units is deprecated. Assuming 'px'.
[1631189484.485|25255|video_input.cpp :521 ] MRL: 'camera://Apple_Inc._FaceTime_HD_Camera__Built-in__CCG8123032XH34FF8'
[1631189484.485|25255|audio_input.cpp :54 ] Creating audio input with id: audiolayer_id
[1631189484.485|25255|audio_input.cpp :274 ] Switching audio source to match ''
[1631189484.485|25255|audiostream.cpp :52 ] Record: Creating stream with device (44100Hz, 2 channels)
[1631189484.485|25481|sinkclient.cpp :279 ] SHMHolder ctor failure: ShmHolder[snap.jami.Jami Daemon_shm_25255_0]: shm_open failed, errno=13
[1631189484.485|25481|video_input.cpp :168 ] start sink failed
[1631189484.485|25481|video_input.cpp :170 ] VideoInput ready to capture
[1631189484.485|25255|audiostream.cpp :173 ] Stream is creating...
[1631189484.485|25481|media_decoder.cpp :133 ] Trying to open device /dev/video0 with format video4linux2, pixel format mjpeg, size 1024x576, rate 29.970000
[1631189484.487|25482|audio_input.cpp :76 ] Switching to default audio input
[1631189484.526|25377|audiostream.cpp :181 ] Stream successfully created, connected to alsa_input.pci-0000_00_1f.3.analog-stereo
[1631189484.526|25377|pulselayer.cpp :364 ] All streams ready, starting audio
[1631189484.647|25481|media_decoder.cpp :145 ] Using format video4linux2
[1631189484.975|25481|accel.cpp :206 ] -- Starting decoding init for cuda with default device.
[AVHWDeviceContext @ 0x7f7c14004e80] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x7f7c14004e80] Could not dynamically load CUDA
[1631189484.975|25481|accel.cpp :169 ] Failed to create cuda device: -1313558101.
[1631189484.975|25481|accel.cpp :219 ] -- Init failed for cuda with default device.
[1631189484.975|25481|accel.cpp :229 ] -- Init decoding for cuda with device 1.
[AVHWDeviceContext @ 0x7f7c14005ec0] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x7f7c14005ec0] Could not dynamically load CUDA
[1631189484.975|25481|accel.cpp :169 ] Failed to create cuda device: -1313558101.
[1631189484.975|25481|accel.cpp :238 ] -- Init failed for cuda with device 1.
[1631189484.975|25481|accel.cpp :229 ] -- Init decoding for cuda with device 2.
[AVHWDeviceContext @ 0x7f7c14006400] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x7f7c14006400] Could not dynamically load CUDA
[1631189484.975|25481|accel.cpp :169 ] Failed to create cuda device: -1313558101.
[1631189484.975|25481|accel.cpp :238 ] -- Init failed for cuda with device 2.
[1631189484.975|25481|media_decoder.cpp :495 ] Decoding video using MJPEG (Motion JPEG) (mjpeg)
[1631189484.975|25481|media_decoder.cpp :505 ] Not using hardware decoding for mjpeg
[1631189484.979|25481|video_input.cpp :337 ] created decoder with video params : size=1024X576, fps=29.970000 pix=yuvj422p
[1631189484.979|25481|sinkclient.cpp :429 ] Start sink <local / >, size=1024x576, mixer=0
Segmentation fault
Edited by Henrik Johnsen