Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660898 - media-sound/audacity-2.2.2: freezes on loop playback
Summary: media-sound/audacity-2.2.2: freezes on loop playback
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-11 11:50 UTC by Nikita Zlobin
Modified: 2020-09-29 03:25 UTC (History)
3 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 Nikita Zlobin 2018-07-11 11:50:52 UTC
After attempt to start loop playback, audacity freezes. Happens both with jack and pulseaudio (which must use jack sink in order to make audacity able to play ever). First time it happened when used pulseaudio, runing with jack sink, and now happens with jack. Also doesn't matter, when jack output is used; I have jack with dummy driver, and runing alsa_in with bluealsa dev, + pulseaudio with minimal jack setup, similar to what is recomended for pulse+jack use, but using jackdbus instead of simple jack sink/source... neither alsa_in nor system work.

Logs say nothing - audacity just freezes, so i have to kill and restart it, with session repairing.

_____________________
Emerge info bellow is correct, but with one clarification: I already began toolchain upgrade, when had to run emerge --info, and binutils with glibc are already upgraded with gcc still building (audacity is compiled with older binutils-2.29.1 + gcc-6.4.0).

$ emerge --info audacity
Portage 2.3.40 (python 3.5.5-final-0, !../../var/lib/layman/distros/profiles/CLDX/amd64, gcc-6.4.0, glibc-2.26-r7, 4.14.52-calculate x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.52-calculate-x86_64-Intel-R-_Pentium-R-_CPU_B950_@_2.10GHz-with-gentoo-17.12.2
KiB Mem:     8037992 total,    247800 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 04 Jul 2018 05:00:01 +0000
Head commit of repository gentoo: ecd2e060d5beceb60f2b7b373b754ab2218878e2

Head commit of repository compiz-reloaded: 9ff144c39658add56712c01309d0321ac52b9664

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/calculatelinux/gentoo.git
    priority: -1000

compiz-reloaded
    location: /var/lib/portage/overlays/compiz-reloaded
    sync-type: git
    sync-uri: https://github.com/kajzersoze/compiz-reloaded-overlay
    masters: gentoo

nick87720z
    location: /usr/local/portage
    masters: gentoo

4nykey
    location: /var/lib/layman/4nykey
    sync-type: laymansync
    sync-uri: https://github.com/4nykey/4nykey.git
    masters: gentoo
    priority: 50

abendbrot
    location: /var/lib/layman/abendbrot
    sync-type: laymansync
    sync-uri: https://github.com/stefan-gr/abendbrot.git
    masters: gentoo
    priority: 50

anders-larsson
    location: /var/lib/layman/anders-larsson
    sync-type: laymansync
    sync-uri: https://github.com/anders-larsson/gentoo-overlay.git
    masters: gentoo
    priority: 50

archenroot
    location: /var/lib/layman/archenroot
    sync-type: laymansync
    sync-uri: https://github.com/archenroot/gentoo-overlay.git
    masters: gentoo
    priority: 50

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

calculate
    location: /var/lib/layman/calculate
    sync-type: laymansync
    sync-uri: git://github.com/calculatelinux/calculate.git
    masters: gentoo
    priority: 50

cg
    location: /var/lib/layman/cg
    sync-type: laymansync
    sync-uri: https://github.com/brothermechanic/cg.git
    masters: gentoo
    priority: 50

deadbeef-overlay
    location: /var/lib/layman/deadbeef-overlay
    sync-type: laymansync
    sync-uri: https://github.com/damex/deadbeef-overlay.git
    masters: gentoo
    priority: 50

distros
    location: /var/lib/layman/distros
    sync-type: laymansync
    sync-uri: git://github.com/calculatelinux/distros.git
    masters: calculate gentoo
    priority: 50

dlang
    location: /var/lib/layman/dlang
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/dlang.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

elementary
    location: /var/lib/layman/elementary
    sync-type: laymansync
    sync-uri: git://github.com/pimvullers/elementary.git
    masters: gentoo
    priority: 50

enlightenment-live
    location: /var/lib/layman/enlightenment-live
    sync-type: laymansync
    sync-uri: https://github.com/rafspiny/enlightenment-live.git
    masters: gentoo
    priority: 50

fkmclane
    location: /var/lib/layman/fkmclane
    sync-type: laymansync
    sync-uri: https://github.com/fkmclane/overlay.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/gamerlay.git
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/gnome.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

lxde-gtk3
    location: /var/lib/layman/lxde-gtk3
    sync-type: laymansync
    sync-uri: https://github.com/rilian-la-te/lxde-gtk3-overlay.git
    masters: gentoo
    priority: 50

mv
    location: /var/lib/layman/mv
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/mv.git
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    sync-type: laymansync
    sync-uri: https://github.com/msva/mva-overlay
    masters: gentoo
    priority: 50

octave
    location: /var/lib/layman/octave
    sync-type: laymansync
    sync-uri: https://github.com/rafaelmartins/octave-overlay.git
    masters: gentoo
    priority: 50

palemoon
    location: /var/lib/layman/palemoon
    sync-type: laymansync
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50

prism-overlay
    location: /var/lib/layman/prism-overlay
    sync-type: laymansync
    sync-uri: git://github.com/hasufell/prism-overlay.git
    masters: gentoo
    priority: 50

proaudio
    location: /var/lib/layman/proaudio
    sync-type: laymansync
    sync-uri: svn://svn.tuxfamily.org/svnroot/proaudio/proaudio/trunk/overlays/proaudio
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

ring-overlay
    location: /var/lib/layman/ring-overlay
    sync-type: laymansync
    sync-uri: https://github.com/stefan-langenmaier/ring-overlay.git
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    sync-type: laymansync
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

rust
    location: /var/lib/layman/rust
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/gentoo-rust.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sci.git
    masters: gentoo
    priority: 50

simonvanderveldt
    location: /var/lib/layman/simonvanderveldt
    sync-type: laymansync
    sync-uri: https://github.com/simonvanderveldt/simonvanderveldt-overlay.git
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    sync-type: laymansync
    sync-uri: https://github.com/stefantalpalaru/gentoo-overlay.git
    masters: gentoo
    priority: 50

stuff
    location: /var/lib/layman/stuff
    sync-type: laymansync
    sync-uri: https://github.com/istitov/stuff.git
    masters: gentoo
    priority: 50

tox-overlay
    location: /var/lib/layman/tox-overlay
    sync-type: laymansync
    sync-uri: git://github.com/Tox/gentoo-overlay-tox.git
    masters: gentoo
    priority: 50

undesktop
    location: /var/lib/layman/undesktop
    sync-type: laymansync
    sync-uri: https://github.com/undesktop/undesktop-overlay.git
    masters: gentoo
    priority: 50

unity-gentoo
    location: /var/lib/layman/unity-gentoo
    sync-type: laymansync
    sync-uri: git://github.com/shiznix/unity-gentoo.git
    masters: gentoo
    priority: 50

wine
    location: /var/lib/layman/wine
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo
    priority: 50

Installed sets: @autodeps, @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-delete-null-pointer-checks"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/bind /var/lib/i2pd/certificates"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-delete-null-pointer-checks"
DISTDIR="/var/calculate/remote/distfiles"
EMERGE_DEFAULT_OPTS=" --binpkg-changed-deps=n --quiet-build=n --binpkg-respect-use=y --jobs=4 --ask-enter-invalid --jobs=1 --quiet-build=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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 -march=native -fomit-frame-pointer -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ rsync://mirrors.telepoint.bg/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
INSTALL_MASK="/etc/systemd /lib*/systemd /usr/lib*/systemd /etc/shorewall/*[!.]???? /etc/shorewall/???? /etc/shorewall/??? /etc/shorewall6/*[!.]???? /etc/shorewall6/???? /etc/shorewall6/???"
LANG="ru_RU.utf8"
LDFLAGS="-O2"
LINGUAS="ru ru_RU en"
MAKEOPTS="-j3 -l1.8"
PKGDIR="/var/calculate/packages/x86_64"
PORTAGE_BINHOST="https://mirror.yandex.ru/calculate/grp/x86_64"
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/calculate/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi aes alac alsa amd64 amr audiofile avi avx berkdb bittorrent bluetooth box bzip2 cairo caps cdda cddb cdparanoia cgroups chm cli consolekit cpudetection cracklib crypt css cue cups cxx dbus dftk djvu dri dv dvd dvdr dvdread ebook encode exif faac fexif ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gadu gd gdbm gif gnutls gphoto2 gpm graphicsmagick gstreamer gtk hunspell iconv id3tag idn ieee1394 imagemagick imap int64 introspection ios ipod ipv6 irc jabber jack jemalloc jpeg jpeg2k klibc lash lcms libnotify libsamplerate libtirpc libwww linguas_ru lm_sensors logrotate lz4 lzma lzo mad matroska mikmod mimap mms mmx mmxext mng modules mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pam pch pcre pdf pgo pic pie png policykit popcnt ppp pulseaudio quicktime raw rdesktop readline real samba sasl scanner sdl seccomp semantic-desktop smp smtp sndfile speex spell srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg taglib tcpd tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vhosts vnc vorbis vpx wavpack webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xattr xcb xcomposite xfce xft xinerama xmp xop xv xvid xvmc zeroconf zlib" ABI_X86="64" 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 plan sheets stage words" CAMERAS="*" 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 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 evdev mutouch synaptics keyboard mouse" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python3_5" RUBY_TARGETS="ruby23" THEMES="CLDX" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-sound/audacity-2.2.2::gentoo was built with the following:
USE="alsa ffmpeg flac id3tag jack ladspa lame lv2 mad midi nls portmixer sbsms soundtouch vamp vorbis vst -doc -libav -twolame" ABI_X86="(64)" CPU_FLAGS_X86="sse"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-delete-null-pointer-checks -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-delete-null-pointer-checks -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error"
Comment 1 Nikita Zlobin 2018-07-11 16:16:36 UTC
It appears to be more complicated - in some cases it segfaults or just closes, creating debug reports.
Described here: https://sourceforge.net/p/audacity/mailman/message/36365669/
Comment 2 Miroslav Šulc gentoo-dev 2020-09-19 11:45:21 UTC
please test with 2.4.2-r1 and report back.
Comment 3 Miroslav Šulc gentoo-dev 2020-09-26 12:33:35 UTC
no reports, so closing.
Comment 4 Nikita Zlobin 2020-09-28 19:59:01 UTC
Sorry for long delay. I had case to use it. It was either 2.3.2 or 2.3.3 (after editing ebuild to build against gtk2).

Used loop playback many times, no problem.
Both jack and alsa->pulse are fine.
Comment 5 Miroslav Šulc gentoo-dev 2020-09-29 03:25:34 UTC
thank you for reporting back