[Fiware-tech-help] Kurento crashes in one2many scenario

Alberto Bambala Arbea alberto.bambala at vento.tv
Mon Oct 26 10:38:00 CET 2015


Hi there!

We are implementig a on2many videoconference using Kurento. The 
procedure is like this:

* The transmitter opens the videoconference and emits video and audio 
using Firefox or Chrome
* A receiver joins the conference and gets de video and audio on his 
Chrome or Firefox
* 18 minutes approx. after initiating the conference, Kurento crashes

And syslog shows:

  kernel: [136447.115593] traps: KmsLoop[20422] general protection 
ip:7f6c9ed66d36 sp:7f6c3bffeb90 error:0 in 
libglib-2.0.so.0.4200.1[7f6c9ed0e000+10a000]
  kernel: [158988.522731] KmsLoop[9007]: segfault at 43 ip 
00007ffb8d669ec8 sp 00007ffb6277dbb0 error 4 in 
libnice.so.10.4.1[7ffb8d65f000+3a000]

Why Kurento crashes in a so predictably way? Any clue?

Our environment:

Distributor ID:    Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:    trusty


Version: 6.1.1
Found modules:
     Module: 'backgroundextractor' version '6.1.1'
     Module: 'chroma' version '6.1.1'
     Module: 'core' version '6.1.2'
     Module: 'crowddetector' version '6.1.1'
     Module: 'elements' version '6.1.1'
     Module: 'facesegmentator' version '6.1.1'
     Module: 'filters' version '6.1.1'
     Module: 'markerdetector' version '6.1.1'
     Module: 'platedetector' version '6.1.1'
     Module: 'pointerdetector' version '6.1.1'



ii  gstreamer1.5-libav:amd64 1.5.2.1~20150901123759.34.g07a7b16.trusty 
amd64        libav plugin for GStreamer
ii  gstreamer1.5-nice:amd64 0.1.7.1~20151001151322.10.ge060eb5.trusty 
amd64        ICE library (GStreamer plugin)
ii  gstreamer1.5-plugins-bad:amd64 
1.5.91~20151001151316.36.gdaf52b5.trusty  amd64        GStreamer plugins 
from the "bad" set
ii  gstreamer1.5-plugins-base:amd64 
1.5.91~20151001151055.18.g79a42eb.trusty  amd64        GStreamer plugins 
from the "base" set
ii  gstreamer1.5-plugins-good:amd64 
1.5.91~20151001151133.27.g3b1cc74.trusty  amd64        GStreamer plugins 
from the "good" set
ii  gstreamer1.5-plugins-ugly:amd64 
1.5.91~20151001151113.10.g1b92d89.trusty  amd64        GStreamer plugins 
from the "ugly" set
ii  gstreamer1.5-pulseaudio:amd64 
1.5.91~20151001151133.27.g3b1cc74.trusty  amd64        GStreamer plugin 
for PulseAudio
ii  gstreamer1.5-x:amd64 1.5.91~20151001151055.18.g79a42eb.trusty  
amd64        GStreamer plugins for X11 and Pango
ii  kms-background-extractor-6.0 
6.1.1.trusty                              amd64        Kurento 
Background Extractor Filter
ii  kms-chroma-6.0 6.1.1.trusty                              
amd64        Kurento Chroma Filter
ii  kms-core-6.0 6.1.2.trusty                              amd64        
Kurento core module
ii  kms-crowddetector-6.0 6.1.1.trusty                              
amd64        Kurento Crowd Detector Filter
ii  kms-elements-6.0 6.1.1.trusty                              
amd64        Kurento elements module
ii  kms-face-segmentator-6.0 6.1.1.trusty                              
amd64        Kurento Face Segmentator Filter
ii  kms-filters-6.0 6.1.1.trusty                              
amd64        Kurento filters module
ii  kms-jsonrpc-1.0 1.0.0.trusty                              
amd64        Kurento jsonrpc library
ii  kms-markerdetector-6.0 6.1.1.trusty                              
amd64        AR Marker detector for Kurento
ii  kms-platedetector-6.0 6.1.1.trusty                              
amd64        Kurento Plate Detector Filter
ii  kms-pointerdetector-6.0 6.1.1.trusty                              
amd64        Kurento Pointer Detector Filter
ii  kmsjsoncpp 1.6.3~20151001151058.38.g263929e.trusty   amd64        
Kurento jsoncpp library
ii  kurento-media-server-6.0 6.1.1.trusty                              
amd64        Kurento Media Server
ii  libgstreamer-plugins-bad1.5-0:amd64 
1.5.91~20151001151316.36.gdaf52b5.trusty  amd64        GStreamer 
development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.5-0:amd64 
1.5.91~20151001151055.18.g79a42eb.trusty  amd64        GStreamer 
libraries from the "base" set
ii  libgstreamer1.5-0:amd64 1.5.91~20151001151012.86.g29e3bbd.trusty  
amd64        Core GStreamer libraries and elements
ii  libnice10:amd64 0.1.7.1~20151001151322.10.ge060eb5.trusty 
amd64        ICE library (shared library)
ii  openwebrtc-gst-plugins 0.10.0~20151001151244.100.g61cc54b.trusty 
amd64        OpenWebRTC specific GStreamer plugins


/etc/default/kurento-media-server-6.0

START_DAEMON=true

# Additional options that are passed to the Daemon.
DAEMON_OPTS=""

unset GST_PLUGIN_PATH

#enable core dump
ulimit -c unlimited
#unlimit open files
ulimit -n $((($(cat /proc/sys/fs/file-max) * 50) / 100 ))

# Next line enables debug for some kurento classes it can be modified to 
change
# log level and logged tags
#export GST_DEBUG=1,Kurento*:5
export GST_DEBUG=2,Kurento*:5

# whom the daemons should run as
DAEMON_USER=nobody

DAEMON_LOG=/var/log/kurento-media-server

export KURENTO_LOGS_PATH=$DAEMON_LOG
#export KURENTO_LOG_FILE_SIZE=300
#export KURENTO_NUMBER_LOG_FILES=20


/etc/kurento/kurento.conf.json

{
   "mediaServer" : {
     "resources": {
     //  //Resources usage limit for raising an exception when an object 
creation is attempted
     //  "exceptionLimit": "0.8",
       "exceptionLimit": "2.8",
     //  // Resources usage limit for restarting the server when no 
objects are alive
     //  "killLimit": "0.7",
       "killLimit": "2.7",
       // Garbage collector period in seconds
       // "garbageCollectorPeriod": 240
       "garbageCollectorPeriod": 600
     },
     "net" : {
       // Uncomment just one of them
       /*
       "rabbitmq": {
         "address" : "127.0.0.1",
         "port" : 5672,
         "username" : "guest",
         "password" : "guest",
         "vhost" : "/"
       }
       */
       "websocket": {
         "port": 8888,
         //"secure": {
         //  "port": 8433,
         //  "certificate": "defaultCertificate.pem",
         //  "password": ""
         //},
         //"registrar": {
         //  "address": "ws://localhost:9090",
         //  "localAddress": "localhost"
         //},
         "path": "kurento",
         // "threads": 10
         "threads": 20
       }
     }
   }
}


Any comment is more than welcome.

Thanks in advance,
Alberto.


	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20151026/218d7fb9/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy