Gajim crashes on startup with gir1.2-farstream-0.2 installed

Bug #1777546 reported by Michael
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gajim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This error does not provide much information, sadly.

/usr/lib/python3/dist-packages/gajim/common/app.py:223: Warning: can't peek value table for type '(null)' which is not currently referenced
  session = conference.new_session(Farstream.MediaType.AUDIO)

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gajim 1.0.1-3
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic i686
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: i386
CurrentDesktop: LXDE
Date: Mon Jun 18 22:24:42 2018
InstallationDate: Installed on 2018-06-13 (5 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release i386 (20180426)
PackageArchitecture: all
SourcePackage: gajim
UpgradeStatus: No upgrade log present (probably fresh install)

==========

WORKAROUND: Remove gir1.2-farstream-0.2 <https://packages.ubuntu.com/bionic/gir1.2-farstream-0.2>.

Revision history for this message
Michael (michael976) wrote :
Revision history for this message
lovetox (lovetox) wrote :

It would be interesting if upgrading to

gir1.2-gst-plugins-base-1.0
gir1.2-gstreamer-1.0

these packages to version 1.14.1 fixes the problem

i cant reproduce the problem on debian 9

Revision history for this message
Andrey (andrg) wrote :

> Warning: can't peek value table for type '(null)' which is not currently referenced
This is printed by
g_warning ("can't peek value table for type '%s' which is not currently referenced"
from glib/gobject/gtype.c

Maybe you would like to install additional debug packages like libglib2.0-0-dbgsym gstreamer1.0-plugins-base-dbg gstreamer1.0-plugins-good-dbg libgstreamer1.0-0-dbg libfarstream-0.2-5-dbgsym

and obtain the backtrace again with
$ G_DEBUG=fatal-warnings gdb --ex r --args python3 $(which gajim)

Revision history for this message
Michael (michael976) wrote :

$ G_DEBUG=fatal-warnings gdb --ex r --args python3 $(which gajim)
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Lendo símbolos de python3...(no debugging symbols found)...concluído.
Starting program: /usr/bin/python3 /usr/bin/gajim
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
warning: Error reading shared library list entry at 0xb60
warning: Error reading shared library list entry at 0x4a70
warning: Error reading shared library list entry at 0xffffdc70
warning: Error reading shared library list entry at 0x2fa0
warning: Error reading shared library list entry at 0xffffbe60
warning: Error reading shared library list entry at 0x1cf0
warning: Error reading shared library list entry at 0x3cc0
[New Thread 0xb541db40 (LWP 12636)]
[New Thread 0xb4affb40 (LWP 12637)]
warning: Error reading shared library list entry at 0x20a0
warning: Error reading shared library list entry at 0x27b0
warning: Error reading shared library list entry at 0x40d0
warning: Error reading shared library list entry at 0xffff87e0
warning: Error reading shared library list entry at 0x2df0
warning: Error reading shared library list entry at 0x6290
warning: Error reading shared library list entry at 0xffffde00
warning: Error reading shared library list entry at 0xffffe300
warning: Error reading shared library list entry at 0x48f0
warning: Error reading shared library list entry at 0xffffe400
warning: Error reading shared library list entry at 0x1a10
warning: Error reading shared library list entry at 0xffffaa40
warning: Error reading shared library list entry at 0x1200
warning: Error reading shared library list entry at 0xffffc200
warning: Error reading shared library list entry at 0xffffe600
warning: Error reading shared library list entry at 0x1c00
warning: Error reading shared library list entry at 0xffffbc00

(gajim:12632): GLib-GObject-WARNING **: 20:16:41.536: can't peek value table for type '-g-type-private--GTypeFlags' which is not currently referenced

Thread 1 "python3" received signal SIGTRAP, Trace/breakpoint trap.
_g_log_abort (breakpoint=1) at ../../../../glib/gmessages.c:583
583 ../../../../glib/gmessages.c: Arquivo ou diretório inexistente. (translation: file missing)

Revision history for this message
Andrey (andrg) wrote :

Lucas, once Gajim has been interrupted by the warning, please let gdb issue a backtrace with "bt" command and post the output.

Revision history for this message
Michael (michael976) wrote :
Download full text (8.1 KiB)

(gdb) bt
#0 _g_log_abort (breakpoint=1) at ../../../../glib/gmessages.c:583
#1 0xb6ef39b9 in g_logv (log_domain=0xb700f7db "GLib-GObject", log_level=G_LOG_LEVEL_WARNING,
    format=0xb7016c74 "can't peek value table for type '%s' which is not currently referenced", args=0xbfffc98c "ss\001\267")
    at ../../../../glib/gmessages.c:1391
#2 0xb6ef3ae5 in g_log (log_domain=0xb700f7db "GLib-GObject", log_level=G_LOG_LEVEL_WARNING,
    format=0xb7016c74 "can't peek value table for type '%s' which is not currently referenced") at ../../../../glib/gmessages.c:1432
#3 0xb70088e7 in g_type_value_table_peek (type=<optimized out>) at ../../../../gobject/gtype.c:4267
#4 0xb3917a92 in gst_structure_set_valist_internal (structure=<optimized out>, fieldname=<optimized out>, varargs=0xbfffca98 "\324\312\377\277",
    varargs@entry=0xbfffca78 "\030") at gststructure.c:607
#5 0xb3918cb1 in gst_structure_set (structure=0x8850c40, field=0xb3e966d9 "channels") at gststructure.c:638
#6 0xb3e9355b in gst_opus_enc_get_sink_template_caps () at gstopusenc.c:879
#7 gst_opus_enc_sink_getcaps (benc=0x8a43908, filter=0x0) at gstopusenc.c:908
#8 0xb35f5677 in gst_audio_encoder_sink_query_default (enc=0x8a43908, query=0x8a63890) at gstaudioencoder.c:1750
#9 0xb38f504a in gst_pad_query (pad=0x8a552e0, query=0x8a63890) at gstpad.c:4024
#10 0xb39306d3 in gst_pad_query_caps (pad=0x8a552e0, filter=0x0) at gstutils.c:3043
#11 0xb38eb6be in gst_pad_link_check_compatible_unlocked (flags=GST_PAD_LINK_CHECK_DEFAULT, sink=0x8a552e0, src=0x8a556d0) at gstpad.c:2260
#12 gst_pad_link_prepare (srcpad=srcpad@entry=0x8a556d0, sinkpad=sinkpad@entry=0x8a552e0, flags=flags@entry=GST_PAD_LINK_CHECK_DEFAULT) at gstpad.c:2397
#13 0xb38f860a in gst_pad_link_full (srcpad=0x8a556d0, sinkpad=0x8a552e0, flags=GST_PAD_LINK_CHECK_DEFAULT) at gstpad.c:2524
#14 0xb38f8e2e in gst_pad_link (srcpad=0x8a556d0, sinkpad=0x8a552e0) at gstpad.c:2645
#15 0xb3854877 in create_codec_bin_from_blueprint (codec=0x8a5d560, blueprint=0x8a30a40, name=0xb386b071 "gather_send_codecbin",
    direction=FS_DIRECTION_SEND, error=0xbfffcdd8) at fs-rtp-discover-codecs.c:1735
#16 0xb3855884 in codec_blueprints_add_caps (media_type=FS_MEDIA_TYPE_AUDIO) at fs-rtp-discover-codecs.c:1841
#17 create_codec_lists (send_list=0x886f410, recv_list=0x8855a10, media_type=FS_MEDIA_TYPE_AUDIO) at fs-rtp-discover-codecs.c:351
#18 fs_rtp_blueprints_get (media_type=FS_MEDIA_TYPE_AUDIO, error=0x8a20280) at fs-rtp-discover-codecs.c:300
#19 0xb38470dc in fs_rtp_session_constructed (object=0x8a202c0) at fs-rtp-session.c:1218
#20 0xb6fe72c1 in g_object_new_internal (class=class@entry=0x8a70000, params=params@entry=0xbfffcffc, n_params=n_params@entry=3)
    at ../../../../gobject/gobject.c:1839
#21 0xb6fe9010 in g_object_new_valist (object_type=<optimized out>, first_property_name=<optimized out>, var_args=<optimized out>)
    at ../../../../gobject/gobject.c:2122
#22 0xb6fe90c9 in g_object_new (object_type=145144192, first_property_name=0xb3866ab4 "media-type") at ../../../../gobject/gobject.c:1642
#23 0xb384d22d in fs_rtp_session_new (media_type=FS_MEDIA_TYPE_AUDIO, conference=0x8a200a8, id=1, error=0xbfffd2ac) at fs-rtp-session.c:2412
#2...

Read more...

Changed in gajim (Ubuntu):
status: New → Confirmed
Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Same issue here. I get this from running "gajim -v" on bionic

(gajim:23062): dbind-WARNING **: 22:31:29.742: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Logger gajim level set to 10
Logger nbxmpp level set to 20
Monday 25 June 2018 22:31:30 (I) nbxmpp.tls_nb PyOpenSSL loaded
Segmentation fault

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Seeming telepathy-farstream causing this issue. https://dev.gajim.org/gajim/gajim/issues/9129

Removing gir1.2-farstream-0.2 fixes this issue for me. But empathy, pidgin uses it.

Revision history for this message
Michael (michael976) wrote :

Removing gir1.2-farstream-0.2 also "fixes" the crash for me.

description: updated
Daniel (wurstsalat3000)
summary: - Gajim crashes on startup
+ Gajim crashes on startup with gir1.2-farstream-0.2 installed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.