Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782691 - net-im/skypeforlinux-8.69.0.77: Segfault for video calls
Summary: net-im/skypeforlinux-8.69.0.77: Segfault for video calls
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-13 17:03 UTC by Joerg Schaible
Modified: 2022-11-09 16:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2021-04-13 17:03:44 UTC
When using a video call (outgoing or incoming) the windows with the video is closing immediately again. The syslog shows following entry:

========== %< =========
Apr 13 18:43:20 floh kernel: skypeforlinux[12417]: segfault at 1500200030 ip 00007f694d262090 sp 00007f69481fb9c0 error 4 in libpthread-2.32.so[7f694d25e000+f000]
Apr 13 18:43:20 floh kernel: Code: ff ff 48 8d 0d 81 b7 00 00 ba a7 01 00 00 48 8d 35 07 b6 00 00 48 8d 3d 36 b5 00 00 e8 49 c1 ff ff 66 0f 1f 84 00 00 00 00 00 <8b> 47 10 89 c2 81 e2 7f 01 00 00 83 e0 7c 0f 85 7c 00 00 00 53 48
========== %< =========

This happens on two different machines one with Intel and one with AMD hardware. Both are using glibc-2.23.r7 compiled with gcc-10.2.0-r5.

Last installed version 8.67.0.96 works fine in this env after an downgrade.

Reproducible: Always

Steps to Reproduce:
1. Start a video call
2.
3.
Actual Results:  
No video call possible. window vanishes, segfault in syslog

Expected Results:  
working video call

Portage 3.0.17 (python 3.7.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r7, 5.4.80-gentoo-r1-x86_64 x86_64)
=================================================================
System uname: Linux-5.4.80-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.7
KiB Mem:    16393664 total,   6554192 free
KiB Swap:   17124348 total,  17124348 free
Timestamp of repository gentoo: Mon, 12 Apr 2021 06:20:08 +0000
Head commit of repository gentoo: fd7aecfac84fd826538db2af725c2e9df7cf01eb

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p8::gentoo, 3.7.10_p1::gentoo, 3.8.8_p1::gentoo, 3.9.2_p1::gentoo
dev-lang/rust:            1.47.0-r2::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /mnt/portage/tree/central
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

local
    location: /mnt/portage/tree/local
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.0/conf /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/maven-bin-3.1/conf /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.5/conf /usr/share/maven-bin-3.6/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
DISTDIR="/mnt/portage/distfiles/floh"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.fau.de/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en en_GB en_US fr"
MAKEOPTS="-j3 -s"
PKGDIR="/mnt/portage/packages/core-i7"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp/portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bmp branding bzip2 cairo caps cdda cdr cli crypt cups curl dbus declarative dga dri dts dvd dvdr egl elogind emboss encode exif flac fortran gbm gdbm gif gpm gstreamer gtk gui iconv icu idn jpeg jpeg2k kde kipi kwallet lcms libglvnd libnotify libtirpc lzma mad maildir mmap mmx mmxext mng mp3 mp4 mpeg multilib mysql ncurses nptl odbc ogg openexr opengl openmp openssh openvg pam pango pch pcre pdf phonon plasma png policykit popcnt ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog tcpd telemetry theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis wayland webp widgets wxwidgets x264 xattr xcb xml xpm xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="multiboot pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby26" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Joerg Schaible 2021-04-26 06:33:55 UTC
The segfault also happens for version 8.71.0.36. I am back to 8.67.0.96.
Comment 2 Joerg Schaible 2021-04-26 06:35:48 UTC
with 8.71.0.36:

========== %< =========
Apr 25 18:23:32 floh kernel: skypeforlinux[5600]: segfault at 30 ip 00007f62a3c82090 sp 00007f629c0549c0 error 4 in libpthread-2.32.so[7f62a3c7e000+f000]
Apr 25 18:23:32 floh kernel: Code: ff ff 48 8d 0d 81 b7 00 00 ba a7 01 00 00 48 8d 35 07 b6 00 00 48 8d 3d 36 b5 00 00 e8 49 c1 ff ff 66 0f 1f 84 00 00 00 00 00 <8b> 47 10 89 c2 81 e2 7f 01 00 00 83 e0 7c 0f 85 7c 00 00 00 53 48
========== %< =========
Comment 3 DaggyStyle 2021-04-27 16:04:12 UTC
I don't think it is a video call issue, I get the same with the test call
do you use pulseaudio?
Comment 4 Joerg Schaible 2021-04-27 21:31:45 UTC
No, both machines do not have pulseaudio installed.
Comment 5 David Seifert gentoo-dev 2021-05-01 16:04:53 UTC
does it work with 8.71.0.36?
Comment 6 Joerg Schaible 2021-05-01 21:10:05 UTC
No, as I've already written in my comment #1.The segfault seems the same.
Comment 7 Joerg Schaible 2021-07-12 18:02:57 UTC
It's still the same for skypeforlinux-8.73.0.92, even with a newer version of libpthread:

=================== %< ====================
Jul 12 19:32:44 floh kernel: skypeforlinux[31653]: segfault at 30 ip 00007fd85253eea0 sp 00007fd83c4b79c0 error 4 in libpthread-2.33.so[7fd85253b000+f000]
Jul 12 19:32:44 floh kernel: Code: 86 b9 00 00 ba 45 02 00 00 48 8d 35 fc b7 00 00 48 8d 3d 28 b8 00 00 e8 3e c3 ff ff e8 c9 c2 ff ff 66 0f 1f 84 00 00 00 00 00 <8b> 47 10 89 c2 81 e2 7f 01 00 00 83 e0 7c 0f 85 7c 00 00 00 53 48
=================== %< ====================
Comment 8 Alexander Bezrukov 2021-08-01 11:18:03 UTC
On my system this crash began to happen starting with 8.73.0.92 and continues with 8.74.0.152. The crash happens with any call (audio, video or the audio test call). The test sound is played back with no problem. I do not have pulseaudio installed. Dmesg reads:

skypeforlinux[3000]: segfault at 30 ip 00007fa7993c6dd0 sp 00007fa7941a7780 error 4 in libpthread-2.33.so[7fa7993c3000+f000]
Code: 56 ba 00 00 48 8d 35 d1 b8 00 00 48 8d 3d fd b8 00 00 ba 45 02 00 00 e8 0e c4 ff ff e8 99 c3 ff ff 66 0f 1f 84 00 00 00 00 00 <8b> 47 10 89 c2 81 e2 7f 01 00 00 83 e0 7c 0f 85 8c 00 00 00 48 89

When I downgrade to 8.73.0.92, everything seemingly works.
Comment 9 Alexander Bezrukov 2021-08-01 12:19:50 UTC
Two more discoveries after a little debug:

1. On my system, skypeforlinux reproducibly crashes when run from the DE (from skypeforlinux.desktop menu entry in Mate) and with a great probability does not crash when I launch it from bash in terminal. This probably indicates some access and use of uninitialized memory.

2. The mere existence of apulse in the system "fixes" skypeforlinux for me. I see that it opens libpulse.so.0. I did no LD_PRELOAD tricks nor used the apulse launcher, just installed the package.
Comment 10 Joerg Schaible 2021-08-03 18:30:17 UTC
For me there's no difference, apluse installed or not. Still with version skypeforlinux-8.74.0.152.
Comment 11 Joerg Schaible 2021-11-14 10:42:54 UTC
Still no difference with Skype 8.78.0.161:

================ %< ===============
Nov 14 11:30:43 floh kernel: skypeforlinux[2098]: segfault at 30 ip 00007f8cc690fea0 sp 00007f8c953f89c0 error 4 in libpthread-2.33.so[7f8cc690c000+f000]
Nov 14 11:30:43 floh kernel: Code: 86 b9 00 00 ba 45 02 00 00 48 8d 35 fc b7 00 00 48 8d 3d 28 b8 00 00 e8 3e c3 ff ff e8 c9 c2 ff ff 66 0f 1f 84 00 00 00 00 00 <8b> 47 10 89 c2 81 e2 7f 01 00 00 83 e0 7c 0f 85 7c 00 00 00 53 48
================ %< ===============

Back to 8.67.0.96, that last version that work on my machines.
Comment 12 Joerg Schaible 2021-12-11 09:05:35 UTC
Still for 8.79.0.95:

===================== %< ======================
Dec 11 09:59:35 floh kernel: skypeforlinux[6582]: segfault at 30 ip 00007f5c20f97ea0 sp 00007f5bf82f0980 error 4 in libpthread-2.33.so[7f5c20f94000+f000]
Dec 11 09:59:35 floh kernel: Code: 86 b9 00 00 ba 45 02 00 00 48 8d 35 fc b7 00 00 48 8d 3d 28 b8 00 00 e8 3e c3 ff ff e8 c9 c2 ff ff 66 0f 1f 84 00 00 00 00 00 <8b> 47 10 89 c2 81 e2 7f 01 00 00 83 e0 7c 0f 85 7c 00 00 00 53 48
Dec 11 09:59:35 floh kernel: skypeforlinux[6393]: segfault at e8 ip 0000555d68a212b4 sp 00007ffd1a0081d0 error 4 in skypeforlinux[555d667f2000+60c8000]
Dec 11 09:59:35 floh kernel: Code: 28 00 00 00 48 3b 45 d8 75 10 48 81 c4 60 01 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 e7 2b e9 03 cc cc cc cc cc cc cc 55 48 89 e5 <48> 8b bf e8 00 00 00 5d e9 6f 7e 0c fe cc cc cc cc cc cc cc cc cc
===================== %< ======================

I am still using 8.67.0.96, the last working version.
Comment 13 Joerg Schaible 2022-11-09 16:25:02 UTC
This is still happening for 8.87.0.403-r1.

However, after facing the same segmentation faults with the Teams client, I came across issue 816774.

It seems that both clients from Microsoft fail, if your setup does not use PulseAudio. These clients are failing on all installations with pure ALSA as audio backend. After installing and switching to PulseAudio (resp. PipeWire), latest versions of Skype (and Teams) work.