I'm trying to open/create a project on Ardour 6.6 and after I select the project it gets up to the "Scanning LV2 Plugins" and then crashes with the message "ardour-6.6.0: ../src/zix/btree.c:814: zix_btree_get: Assertion `frame->node' failed." on the terminal. This seems to be an issue related to sord. There is a sord bug on launchpad that mentions the same assertion failure: https://bugs.launchpad.net/ubuntu/+source/sord/+bug/1911142 Ardour worked fine on this install before, I don't know exactly what triggered this failure. Reproducible: Always Steps to Reproduce: 1. Open ardour6 2. Select or create a new project 3. If creating a new project, choose a template or an empty project Actual Results: Ardour tries opening the project, but crashes right after the Scanning LV2 Plugins step is done with an assertion error on the terminal. Expected Results: Ardour should've continued the project loading steps and eventually loaded the project fully. emerge --info: Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/systemd, gcc-10.3.0, glibc-2.33, 5.9.11 x86_64) ================================================================= System uname: Linux-5.9.11-x86_64-Intel-R-_Core-TM-_i5-4300M_CPU_@_2.60GHz-with-glibc2.2.5 KiB Mem: 7835780 total, 656492 free KiB Swap: 8388604 total, 7616908 free Timestamp of repository gentoo: Sun, 11 Apr 2021 09:30:01 +0000 Head commit of repository gentoo: 5f9258cd1b70c1d5264a8ea5a4a58179dc9dc940 sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p8::gentoo, 3.7.10::gentoo, 3.8.9::gentoo, 3.9.4::gentoo, 3.10.0_alpha6-r2::gentoo dev-lang/rust-bin: 1.51.0::gentoo dev-util/cmake: 3.20.1::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/sandbox: 2.23::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo, 2.71::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.3.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.33::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: audio-overlay location: /var/lib/layman/audio-overlay sync-type: laymansync sync-uri: https://github.com/gentoo-audio/audio-overlay.git masters: gentoo priority: 50 eclipse location: /var/lib/layman/eclipse sync-type: laymansync sync-uri: https://github.com/gentoo/eclipse-overlay.git masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 Installed sets: @runescape ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -pipe -march=native" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build" 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="-O3 -pipe -march=native" 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="-O3 -pipe -march=native" GENTOO_MIRRORS="https://gentoo.c3sl.ufpr.br/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo-" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/var/cache/binpkgs" 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" RUSTFLAGS="-C target-cpu=native" USE="X aalib acl alsa amd64 berkdb bluetooth bzip2 caps cjk cli colord cppcheck crypt cups dbus dri dvd ffmpeg fftw flac fontconfig fortran fuse gdbm gimp git gnome-keyring gstreamer gtk gtk3 hwaccel i965 ibus iconv ipv6 jack javafx jpeg keybinder lapack lash libglvnd libnotify libsamplerate libtirpc lv2 lz4 lzma matroska mp3 mtp multilib ncurses networkmanager nfs nls nptl offensive ogg opengl openmp opus pam pcre pgo png policykit pulseaudio qt5 qt6 rar readline rubberband samba seccomp sf2 smp sndfile split-usr ssl systemd tcpd threads truetype udev udisks udisks2 unicode upower user-session v4l vaapi vdpau vorbis vpx vulkan wayland webp wifi x264 xattr xfce xscreensaver zlib" ABI_X86="64 32" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand 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="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF X86" 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_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 699867 [details] Ardour output (stdout + stderr) This is Ardour's output when trying to create a new project.
@IvanDSM, can you try to apply this patch to sord? https://gitlab.com/drobilla/sord/-/commit/616517f44ceeacb26592e50e2bf914aad2d93b90.patch just to verify it fixes your issue. if so, i'll apply it to the sord ebuild.
(In reply to Miroslav Šulc from comment #2) > @IvanDSM, can you try to apply this patch to sord? > https://gitlab.com/drobilla/sord/-/commit/ > 616517f44ceeacb26592e50e2bf914aad2d93b90.patch > just to verify it fixes your issue. if so, i'll apply it to the sord ebuild. It did! Thank you :)
(In reply to IvanDSM from comment #3) > (In reply to Miroslav Šulc from comment #2) > > @IvanDSM, can you try to apply this patch to sord? > > https://gitlab.com/drobilla/sord/-/commit/ > > 616517f44ceeacb26592e50e2bf914aad2d93b90.patch > > just to verify it fixes your issue. if so, i'll apply it to the sord ebuild. > > It did! Thank you :) thank you for testing! :-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2be84caf596edfce747ca9919b52fbb563198c7 commit e2be84caf596edfce747ca9919b52fbb563198c7 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2021-04-14 19:37:31 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-04-14 19:37:31 +0000 dev-libs/sord: fixed gcc optimization issue Closes: https://bugs.gentoo.org/782886 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> ...ash-with-optimized-builds-with-gcc-10.1.0.patch | 25 ++++++++++++++++++++++ .../{sord-0.16.8.ebuild => sord-0.16.8-r1.ebuild} | 4 ++++ 2 files changed, 29 insertions(+)