I have a big problem that confused me many weeks. For project needs, I have to rebuild the kurento-media-server with statically libraries. I rebuild all dependent libraries statically and modified some cmakelist.txt, and finally I rebuild it successful. But when I run it use command /usr/bin/kurento-media-server -d . an error occurred and show :
(gdb) run -d .
Starting program: /usr/bin/kurento-media-server -d .
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
(process:72889): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(process:72889): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
**
GLib:ERROR:gquark.c:60:g_quark_init: assertion failed: (quark_seq_id == 0)
Program received signal SIGABRT, Aborted.
0x00007ffff73451c8 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff73451c8 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff734664a in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x0000000000ed27e7 in g_assertion_message ()
#3 0x0000000000ed2863 in g_assertion_message_expr ()
#4 0x0000000000ebbb48 in g_quark_init ()
#5 0x0000000000ea7206 in glib_init ()
#6 0x0000000000e709d7 in gobject_init ()
#7 0x0000000000e70bed in gobject_init_ctor ()
#8 0x000000000108921d in __libc_csu_init ()
#9 0x00007ffff73326bf in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000b3e679 in _start ()
(gdb)
(I show this messages use dynamic build version, my static version show the same error as mentioned above when I run /usr/bin/kurento-media-server -v)
Version: 6.5.1~6.gd13f82e
Found modules:
Module: 'core' version '6.5.1~7.g57c337d'
Module: 'elements' version '6.5.1~7.g57c337d'
Module: 'filters' version '6.5.1~1.ge5b1703'
Other libraries versions:
Because I build and install libraries from source code, dpkg -l | egrep -i "kurento|gst.*1.5|nice" won't show libraries informations. I list all my source code below :
boost_1.55.0.tar.bz2
bzip2-1.0.6.tar.gz
glib-2.48.1.tar.xz
glibmm-2.37.5.tar.xz
glib-networking-2.48.1.tar.xz
gmp-5.0.5.tar.xz
gnutls-3.3.0.tar.xz
libevent-2.0.19-stable.tar.gz
libffi-3.2.1.tar.gz
libsigc++-2.2.10.tar.xz
libsoup-2.42.2.tar.xz
libsrtp-1.5.0.tar
libvpx-1.6.0.tar.bz2
libxext_1.3.2.orig.tar.gz
libxml2-2.9.3.tar.gz
nettle-2.7.tar.gz
openssl-1.0.1e.tar.gz
pcre-8.39.zip
python2.7_2.7.12.orig.tar.gz
sqlite-autoconf-3130000.tar.gz
util-linux_2.20.1.orig.tar.gz
xextproto-7.2.0.tar.gz
zlib-1.2.8.tar.gz
jsoncpp-1.6.3-dev
libnice
usrsctp
gst-libav
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gstreamer
openwebrtc-gst-plugins
Platform information:
$ uname -a
Linux nts30 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt25-2~bpo70+1 (2016-04-12) x86_64 GNU/Linux
Can someone help me fix this runtime error ? Thank you for all your assistance. (My English is very poor, I am very sorry if I have any English grammar error.)
Closing old issues. I don't know if this is still a problem with newer versions of Kurento (current version: 6.14). Please comment if you want to add more information.
I have a big problem that confused me many weeks. For project needs, I have to rebuild the kurento-media-server with statically libraries. I rebuild all dependent libraries statically and modified some cmakelist.txt, and finally I rebuild it successful. But when I run it use command
/usr/bin/kurento-media-server -d .
an error occurred and show :I use gdb to debug it :
and there are the rest of dynamic libraries :
This is the final linker command that I copied from console output, it's different from the original because I modified the CMakeList.txt :
KMS Version:
(I show this messages use dynamic build version, my static version show the same error as mentioned above when I run
/usr/bin/kurento-media-server -v
)Version: 6.5.1~6.gd13f82e Found modules: Module: 'core' version '6.5.1~7.g57c337d' Module: 'elements' version '6.5.1~7.g57c337d' Module: 'filters' version '6.5.1~1.ge5b1703'
Other libraries versions:
Because I build and install libraries from source code,
dpkg -l | egrep -i "kurento|gst.*1.5|nice"
won't show libraries informations. I list all my source code below :Platform information:
Can someone help me fix this runtime error ? Thank you for all your assistance. (My English is very poor, I am very sorry if I have any English grammar error.)