kurento media server gstreamer 1.5/1.0, glib

100 views
Skip to first unread message

st...@belochka.kz

unread,
Apr 18, 2021, 1:52:24 PM4/18/21
to BigBlueButton-Setup
good day,
help plz, so I do not have enough knowledge to solve it

problem started after upgrading bbb from ~2.2.11 to 2.2.3x through 
apt upgrade
apt downloaded new version of kurento-media-server 

~$ kurento-media-server -v
Kurento Media Server version: 6.15.0

As far as I understand new version works with gstreamer1.5, but previous builds in 2.2.11 work with gstreamer1.0 (i think so). 

~$ systemctl status kurento-media-server
Apr 16 21:22:38 live03 kurento-media-server[27945]: - remove it and restart.
Apr 16 21:22:38 live03 kurento-media-server[27945]: - run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
Apr 16 21:22:38 live03 kurento-media-server[27945]: 0:00:00.381312474 27945 0x5626a82f66f0 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/x86_64-linux-gnu/gstreamer-1.5/include/gst/gstreamer-1.5/libgsttcp.so failed to load. Blacklisting
Apr 16 21:22:38 live03 kurento-media-server[27945]: (gst-plugin-scanner:28252): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/include/gst/gstreamer-1.5/libgstsdpelem.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc
Apr 16 21:22:38 live03 kurento-media-server[27945]: ERROR: Caught a segmentation fault while loading plugin file:
Apr 16 21:22:38 live03 kurento-media-server[27945]: /usr/lib/x86_64-linux-gnu/gstreamer-1.5/include/gst/gstreamer-1.5/libgstgdkpixbuf.so
Apr 16 21:22:38 live03 kurento-media-server[27945]: Please either:
Apr 16 21:22:38 live03 kurento-media-server[27945]: - remove it and restart.
Apr 16 21:22:38 live03 kurento-media-server[27945]: - run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
Apr 16 21:22:38 live03 kurento-media-server[27945]: (gst-plugin-scanner:28421): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/include/gst/gstreamer-1.5/libgstgdkpixbuf.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc

/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 go to symbolic link to  /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.6400.2

if change it to /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.2 and a few more similar files (libgobject and etc) from *6400* to *4800* kurento starts to work correctly (comes to life). This solution i got in article about glib https://medium.com/@Aenon/glib-symbol-lookup-bug-in-debian-or-ubuntu-def678dab5a6

after that the problem is that everything works for a while, but after 5-7 days the symbolic links automatically (without my intervention) fall into the old places and the kurento falls off again with error which I described above. Tell me in which direction I need to look to fix this bug?

the reason why files of alternative glib files appeared on the server - 
earlier I tried to install a new version of the glib for setting up the latest version of janus-gateway.


 ~$ bbb-conf -v

ii  bbb-apps                              1:2.2.0-56                                      amd64        BigBlueButton applications for Red5
ii  bbb-apps-akka                         2.2.0-104                                       all          BigBlueButton Apps (Akka)
ii  bbb-apps-screenshare                  1:2.2.0-56                                      amd64        BigBlueButton screenshare module for Red5
ii  bbb-apps-sip                          1:2.2.0-11                                      amd64        BigBlueButton SIP module for Red5
ii  bbb-apps-video                        1:2.2.0-54                                      amd64        BigBlueButton video module for Red5
ii  bbb-apps-video-broadcast              1:2.2.0-8                                       amd64        BigBlueButton video broadcast module for Red5
ii  bbb-client                            1:2.2.0-40                                      amd64        BigBlueButton Flash client
ii  bbb-config                            1:2.2.0-240                                     amd64        BigBlueButton configuration utilities
ii  bbb-etherpad                          1:2.2.0-79                                      amd64        The EtherPad Lite components for BigBlueButton
ii  bbb-freeswitch-core                   2:2.2.0-113                                     amd64        BigBlueButton build of FreeSWITCH
ii  bbb-freeswitch-sounds                 1:1.6.7-6                                       amd64        FreeSWITCH Sounds
ii  bbb-fsesl-akka                        2.2.0-79                                        all          BigBlueButton FS-ESL (Akka)
ii  bbb-html5                             1:2.2.0-1157                                    amd64        The HTML5 components for BigBlueButton
ii  bbb-mkclean                           1:0.8.7-3                                       amd64        Clean and optimize Matroska and WebM files
ii  bbb-playback-presentation             1:2.2.0-35                                      amd64        BigBluebutton playback of presentation
ii  bbb-record-core                       1:2.2.0-78                                      amd64        BigBlueButton record and playback
ii  bbb-red5                              1:1.0.10-16                                     amd64        The Red5 server for BigBlueButton
ii  bbb-transcode-akka                    2.2.0-8                                         all          BigBlueButton Transcoder
ii  bbb-web                               1:2.2.0-156                                     amd64        BigBlueButton API
ii  bbb-webrtc-sfu                        1:2.2.0-117                                     amd64        BigBlueButton WebRTC SFU
ii  bigbluebutton                         1:2.2.0-5                                       amd64        Open source web conferencing platform (bbb)
ii  ffmpeg                                7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        Tools for transcoding, streaming and playing of multimedia files
ii  libavcodec-dev:amd64                  7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library with de/encoders for audio/video codecs - development files
ii  libavcodec58:amd64                    7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library with de/encoders for audio/video codecs - runtime files
ii  libavdevice58:amd64                   7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library for handling input and output devices - runtime files
ii  libavfilter7:amd64                    7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library containing media filters - runtime files
ii  libavformat-dev:amd64                 7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library with (de)muxers for multimedia containers - development files
ii  libavformat58:amd64                   7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library with (de)muxers for multimedia containers - runtime files
ii  libavresample4:amd64                  7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg compatibility library for resampling - runtime files
ii  libavutil-dev:amd64                   7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library with functions for simplifying programming - development files
ii  libavutil56:amd64                     7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library with functions for simplifying programming - runtime files
ii  libopusenc0                           0.2.1-1bbb1                                     amd64        High-level API for encoding Ogg Opus audio streams
ii  libpostproc55:amd64                   7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library for post processing - runtime files
ii  libswresample-dev:amd64               7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library for audio resampling, rematrixing etc. - development files
ii  libswresample3:amd64                  7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library for audio resampling, rematrixing etc. - runtime files
ii  libswscale5:amd64                     7:4.2.4-1ubuntu0.1bbb1~16.04.1                  amd64        FFmpeg library for image scaling and various conversions - runtime files

Paulo Lanzarin

unread,
Apr 18, 2021, 2:53:17 PM4/18/21
to bigbluebu...@googlegroups.com
> As far as I understand new version works with gstreamer1.5, but previous builds in 2.2.11 work with gstreamer1.0 (i think so).

No. Kurento always used gstreamer1.5 (which is their fork of gstreamer 1.8).


>  the reason why files of alternative glib files appeared on the server -
> earlier I tried to install a new version of the glib for setting up the latest version of janus-gateway.

Can't you purge the derelict glib version, bust the ldconfig cache/linking, clean the gstreamer registry and then see if that works?

s,

prlanzarin

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/647ec710-7f1f-466b-939f-2ad60e986ddfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages