Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742707 - dev-libs/sord-0.16.4-r1 causes SIGSEGV in sord_find () from /usr/lib64/libsord-0.so.0
Summary: dev-libs/sord-0.16.4-r1 causes SIGSEGV in sord_find () from /usr/lib64/libsor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 743562
Blocks:
  Show dependency tree
 
Reported: 2020-09-15 21:16 UTC by paulverone91
Modified: 2020-09-23 10:55 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 paulverone91 2020-09-15 21:16:27 UTC
When I open ardour it often segfaults while scanning plugins.
When ardour opens it works properly for the only exception of the "scan plugins" function in preferences which often crashes ardour.

Ardour works properly removing media-plugins/calf.

Compiled ardour-6.3 from ardour.org works properly even with media-plugins/calf installed.

Attaching emerge --info and gdb backtrace tentative.

emerge --info

Portage 3.0.4 (python 3.6.11-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo x86_64)
=================================================================
System uname: Linux-5.4.60-gentoo-x86_64-Intel-R-_Core-TM-_i5-8600K_CPU_@_3.60GHz-with-gentoo-2.7
KiB Mem:    16318036 total,   9561076 free
KiB Swap:   16249852 total,  16249852 free
Timestamp of repository gentoo: Tue, 15 Sep 2020 10:30:01 +0000
Head commit of repository gentoo: 2953ae544c1f20301c7017c2323b167a8287d8c2
sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/startx /usr/share/config /usr/share/gnupg/qualified.txt"
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 -ggdb"
DISTDIR="/usr/portage/distfiles"
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="-march=native -O2 -pipe -ggdb"
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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -ggdb"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jack jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt4 qt5 readline realtime sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul 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="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

ardour6 --gdb

Thread 1 "ArdourGUI" received signal SIGSEGV, Segmentation fault.
0x00007ffff3d24ec3 in sord_find () from /usr/lib64/libsord-0.so.0
(gdb) bt
#0  0x00007ffff3d24ec3 in sord_find () at /usr/lib64/libsord-0.so.0
#1  0x00007ffff3d25cdf in sord_search () at /usr/lib64/libsord-0.so.0
#2  0x00007ffff5b8643d in lilv_world_load_bundle () at /usr/lib64/liblilv-0.so.0
#3  0x00007ffff5b86a61 in  () at /usr/lib64/liblilv-0.so.0
#4  0x00007ffff5b84095 in  () at /usr/lib64/liblilv-0.so.0
#5  0x00007ffff5b846bc in  () at /usr/lib64/liblilv-0.so.0
#6  0x00007ffff5b85b7b in lilv_world_load_all () at /usr/lib64/liblilv-0.so.0
#7  0x00007ffff7c66af9 in LV2World::load_bundled_plugins(bool)
    (this=0x7fffffffc4d0, verbose=<optimized out>)
    at ../libs/ardour/lv2_plugin.cc:3486
#8  0x00007ffff7c703b6 in ARDOUR::LV2PluginInfo::discover[abi:cxx11]() ()
    at ../libs/ardour/lv2_plugin.cc:3579
#9  0x00007ffff7a7cb55 in ARDOUR::PluginManager::lv2_refresh()
    (this=0x5555566bb800) at ../libs/ardour/plugin_manager.cc:953
#10 0x00007ffff7a80455 in ARDOUR::PluginManager::refresh(bool)
    (this=0x5555566bb800, cache_only=<optimized out>)
    at ../libs/ardour/plugin_manager.cc:358
#11 0x0000555555fdb249 in PluginScanDialog::start()
    (this=this@entry=0x7fffffffc9f0) at ../gtk2_ardour/plugin_scan_dialog.cc:136
#12 0x00005555560704e7 in RCOptionEditor::plugin_scan_refresh()
    (this=<optimized out>) at ../gtk2_ardour/rc_option_editor.cc:4344
#13 0x00007ffff6e80618 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () at /usr/lib64/libglibmm-2.4.so.1
#14 0x00007ffff6dd0ecb in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#15 0x00007ffff6de3927 in  () at /usr/lib64/libgobject-2.0.so.0
#16 0x00007ffff6deeb4f in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#17 0x00007ffff6def457 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff68d4f85 in  () at /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00007ffff6dd0ecb in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#20 0x00007ffff6de409e in  () at /usr/lib64/libgobject-2.0.so.0
#21 0x00007ffff6deeb4f in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#22 0x00007ffff6def457 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#23 0x00007ffff68d3ed9 in  () at /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00007ffff6979a1b in  () at /usr/lib64/libgtk-x11-2.0.so.0
#25 0x00007ffff6dd0ecb in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#26 0x00007ffff6de3685 in  () at /usr/lib64/libgobject-2.0.so.0
#27 0x00007ffff6dee681 in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#28 0x00007ffff6def457 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#29 0x00007ffff6a901cc in  () at /usr/lib64/libgtk-x11-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff69781cc in gtk_propagate_event () at /usr/lib64/libgtk-x11-2.0.so.0
#31 0x00007ffff69785ab in gtk_main_do_event () at /usr/lib64/libgtk-x11-2.0.so.0
#32 0x00007ffff67ec9ac in  () at /usr/lib64/libgdk-x11-2.0.so.0
#33 0x00007ffff6ce6867 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#34 0x00007ffff6ce6af0 in  () at /usr/lib64/libglib-2.0.so.0
#35 0x00007ffff6ce6dd3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#36 0x00007ffff6977627 in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
#37 0x00007ffff6fee276 in Gtkmm2ext::UI::run(Receiver&)
    (this=0x555556b7f160, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:293
#38 0x0000555555a268b6 in main(int, char**)
    (argc=<optimized out>, argv=<optimized out>) at ../gtk2_ardour/main.cc:437
Comment 1 Miroslav Šulc gentoo-dev 2020-09-17 07:48:58 UTC
do you have dev-libs/sord-0.16.4-r1 installed? and what version of calf? can you try calf-9999?
Comment 2 paulverone91 2020-09-17 13:22:05 UTC
(In reply to Miroslav Šulc from comment #1)
> do you have dev-libs/sord-0.16.4-r1 installed? and what version of calf? can
> you try calf-9999?

I'm using media-plugins/calf-0.90.3 

Yes, dev-libs/sord-0.16.4-r1 is installed

I tried rebuilding dev-libs/sord-0.16.4-r1 and installed calf-9999

Same problem: ardour crashes on startup 4 times out of 5.
When it starts it works without problems.
Comment 3 Miroslav Šulc gentoo-dev 2020-09-18 09:29:30 UTC
sord-9999 works fine for me
Comment 4 Larry the Git Cow gentoo-dev 2020-09-18 09:56:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b3bcd831b37c486ee24ef99b48d43013288440

commit 83b3bcd831b37c486ee24ef99b48d43013288440
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-09-18 09:56:22 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-09-18 09:56:35 +0000

    dev-libs/sord: bump to 0.16.4_p20200803 to fix crash in sord_find()
    
    Bug: https://bugs.gentoo.org/742707
    Package-Manager: Portage-3.0.7, Repoman-3.0.1
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-libs/sord/Manifest                     |  2 +
 dev-libs/sord/sord-0.16.4_p20200803.ebuild | 66 ++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
Comment 5 Miroslav Šulc gentoo-dev 2020-09-18 09:58:08 UTC
please test with 0.16.4_p20200803. if there are no issues, i will request stabilization of that one and will remove the broken one.
Comment 6 paulverone91 2020-09-18 10:47:04 UTC
(In reply to Miroslav Šulc from comment #5)
> please test with 0.16.4_p20200803. if there are no issues, i will request
> stabilization of that one and will remove the broken one.

dev-libs/sord-0.16.4_p20200803 fixed the problem here.

Thank you so much!
Comment 7 Larry the Git Cow gentoo-dev 2020-09-23 10:55:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c574cc18eb7168adda8308d5f0bd727088d6b8c1

commit c574cc18eb7168adda8308d5f0bd727088d6b8c1
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-09-23 10:55:41 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-09-23 10:55:41 +0000

    dev-libs/sord: removed obsolete 0.16.4-r1
    
    Closes: https://bugs.gentoo.org/742707
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-libs/sord/Manifest                      |  1 -
 dev-libs/sord/files/sord-0.16.4-gcc10.patch | 25 ------------
 dev-libs/sord/sord-0.16.4-r1.ebuild         | 61 -----------------------------
 3 files changed, 87 deletions(-)