202109292122 segfaults at 720p webcam resolution
Hi, today, after upgrading to 202109292122, Jami crashed everytime it tried to acquire the camera. I could not even look into the audio/video settings anymore since opening that section of the settings would trigger the camera on, and the client crashed.
In order to reset it to default settings but with the goal of setting it back to a higher resolution later, I removed .config/jami/dring.yml* and restarted. At this point the camera was set to a lower (default) res, and the client not crashing. But as soon as I set it to 720p resolution, the client segfaulted again.
This is what is printed in the console starting from the moment I click and select the 720p resolution:
[1632994994.012| 7757|manager.cpp :1918 ] Saving Configuration to XDG directory /home/user/.config/jami/dring.yml
[1632994994.074| 7847|sinkclient.cpp :481 ] [Sink:0x560ef3607a30] Stopped - size=0x0, mixer=No
[1632994994.074| 7847|sinkclient.cpp :494 ] [Sink:0x560ef3607a30] Change frame position from [0, 0] to [0, 0]
[1632994994.075| 7847|video_input.cpp :209 ] VideoInput closed
[1632994994.076| 7757|sinkclient.cpp :333 ] [Sink:0x560ef35590d0] Sink [local] created
[1632994994.076| 7757|video_input.cpp :521 ] MRL: 'camera://Microsoft_Microsoft®_LifeCam_HD-3000'
[1632994994.076| 7757|audio_input.cpp :266 ] Switching audio source to match 'camera://Microsoft_Microsoft®_LifeCam_HD-3000'
[1632994994.076| 7757|threadloop.cpp :74 ] already started
[1632994994.076| 7852|sinkclient.cpp :191 ] [ShmHolder:Jami Daemon_shm_7757_0] New size: f=0, a=103
[1632994994.076| 7852|sinkclient.cpp :158 ] [ShmHolder:Jami Daemon_shm_7757_0] New holder created
[1632994994.076| 7852|sinkclient.cpp :282 ] [Sink:0x560ef35590d0] Shared memory [Jami Daemon_shm_7757_0] created
[1632994994.076| 7852|video_input.cpp :170 ] VideoInput ready to capture
[1632994994.076| 7852|media_decoder.cpp :127 ] Trying to open device /dev/video0 with format video4linux2, pixel format mjpeg, size 1280x720, rate 30,000000
[1632994994.303| 7852|media_decoder.cpp :145 ] Using format video4linux2
[1632994994.406| 7852|accel.cpp :204 ] -- Starting decoding init for cuda with default device.
[1632994994.406| 7852|media_decoder.cpp :495 ] Decoding video using MJPEG (Motion JPEG) (mjpeg)
[1632994994.406| 7852|media_decoder.cpp :505 ] Not using hardware decoding for mjpeg
[mjpeg @ 0x7fa090026640] overread 8
[1632994994.422| 7852|sinkclient.cpp :473 ] [Sink:0x560ef35590d0] Started - size=1280x720, mixer=No
[1632994994.422| 7852|sinkclient.cpp :191 ] [ShmHolder:Jami Daemon_shm_7757_0] New size: f=3686400, a=7372903
[1632994994.431| 7852|video_input.cpp :333 ] created decoder with video params : size=1280X720, fps=30,000000 pix=yuvj422p
[1632994994.431| 7852|sinkclient.cpp :473 ] [Sink:0x560ef35590d0] Started - size=1280x720, mixer=No
<here it segfaults>
Maybe it's something with the camera (which btw was working fine until now with the previous Jami version)? I also upgraded another machine (different hardware), and there is no problem with the old settings (camera at 720p as well, working as before).
Thanks.