Bug 1837089

Summary: [abrt] ardour5: AudioGrapher::LoudnessReader::LoudnessReader(float, unsigned int, long)(): ardour-5.12.0 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Bruno Vernay <brunovern.a>
Component: ardour5Assignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: brunovern.a, fweimer, guido.aulisi, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f98f2d018650a67de23948d51dddf22b9c507aed
Whiteboard: abrt_hash:8e6dab038093f9203880c5b3b0964fa688caf3ad;VARIANT_ID=workstation;
Fixed In Version: ardour5-5.12.0-17.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-28 04:15:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Bruno Vernay 2020-05-18 19:30:05 UTC
Description of problem:
- Right click on an Audio track
- Select "Audio-1.1"  (name of the track) 
- Select "Loundness Analysis ..."
- Ardour5 crashes


Version-Release number of selected component:
ardour5-5.12.0-15.fc32

Additional info:
reporter:       libreport-2.13.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1002.slice/user/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-c5c2b4b7-2c84-48ad-a53f-9eabee972add.scope
cmdline:        /usr/lib64/ardour5/ardour-5.12.0
crash_function: AudioGrapher::LoudnessReader::LoudnessReader(float, unsigned int, long)
executable:     /usr/lib64/ardour5/ardour-5.12.0
journald_cursor: s=42ee3cdc5a1f400ca1f215a2a6933014;i=14528;b=c6fb0d14e07242e3a1b1b1bc56c67281;m=181f91c4d;t=5a5f10a79dd79;x=d674747c6e31fb04
kernel:         5.6.12-300.fc32.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1002

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 AudioGrapher::LoudnessReader::LoudnessReader(float, unsigned int, long) at ../libs/audiographer/src/general/loudness_reader.cc:42
 #1 AudioGrapher::Analyser::Analyser(float, unsigned int, long, long) at ../libs/audiographer/src/general/analyser.cc:26
 #2 ARDOUR::AnalysisGraph::analyze_region(boost::shared_ptr<ARDOUR::AudioRegion>) at /usr/src/debug/ardour5-5.12.0-15.fc32.x86_64/libs/ardour/ardour/region.h:113
 #3 Editor::loudness_analyze_region_selection() at /usr/include/c++/10/bits/atomic_base.h:546
 #4 sigc::slot0<void>::operator()() const at /usr/include/sigc++-2.0/sigc++/functors/slot_base.h:335
 #5 Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) at signalproxy.cc:103

Comment 1 Bruno Vernay 2020-05-18 19:30:09 UTC
Created attachment 1689680 [details]
File: backtrace

Comment 2 Bruno Vernay 2020-05-18 19:30:11 UTC
Created attachment 1689681 [details]
File: core_backtrace

Comment 3 Bruno Vernay 2020-05-18 19:30:13 UTC
Created attachment 1689682 [details]
File: cpuinfo

Comment 4 Bruno Vernay 2020-05-18 19:30:14 UTC
Created attachment 1689683 [details]
File: dso_list

Comment 5 Bruno Vernay 2020-05-18 19:30:16 UTC
Created attachment 1689684 [details]
File: environ

Comment 6 Bruno Vernay 2020-05-18 19:30:17 UTC
Created attachment 1689685 [details]
File: exploitable

Comment 7 Bruno Vernay 2020-05-18 19:30:19 UTC
Created attachment 1689686 [details]
File: limits

Comment 8 Bruno Vernay 2020-05-18 19:30:21 UTC
Created attachment 1689687 [details]
File: maps

Comment 9 Bruno Vernay 2020-05-18 19:30:23 UTC
Created attachment 1689688 [details]
File: mountinfo

Comment 10 Bruno Vernay 2020-05-18 19:30:24 UTC
Created attachment 1689689 [details]
File: open_fds

Comment 11 Bruno Vernay 2020-05-18 19:30:26 UTC
Created attachment 1689690 [details]
File: proc_pid_status

Comment 12 Guido Aulisi 2020-05-19 08:25:54 UTC
I can confirm this bug, it seems related to a missing symbol (__atan2_finite) in libvampplugins.
AFAIK it could be a GCC 10.0 bug, compiling with GCC 10.1 it seems ok.

Comment 13 Florian Weimer 2020-05-19 10:09:42 UTC
(In reply to Guido Aulisi from comment #12)
> I can confirm this bug, it seems related to a missing symbol
> (__atan2_finite) in libvampplugins.
> AFAIK it could be a GCC 10.0 bug, compiling with GCC 10.1 it seems ok.

Ardour had an underlinking bug, fixed here: https://github.com/Ardour/ardour/commit/58a5e256a9df97903b59f53f43aef6e4a52febcc

If this indeed about missing __*_finite symbols, it's not related to GCC 10 at all.

Comment 14 Guido Aulisi 2020-05-19 10:19:54 UTC
My local build with GCC 10.1.1 did not show this bug, and now builds are going on F32.
I will backport that patch and check again.

Thanks

Comment 15 Florian Weimer 2020-05-19 10:24:10 UTC
The underlinking issue becomes a visible bug if a binary built against glibc 2.30 or earlier (so Fedora 31 an earlier) is run on glibc 2.31 or later (Fedora 32 or later).  Building and running on glibc 2.31 masks the presence of this bug on x86_64 (but perhaps not on other targets).

Comment 16 Fedora Update System 2020-05-19 22:15:24 UTC
FEDORA-2020-4d4f3e2d7e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-4d4f3e2d7e

Comment 17 Fedora Update System 2020-05-20 05:49:11 UTC
FEDORA-2020-4d4f3e2d7e has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-4d4f3e2d7e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4d4f3e2d7e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2020-05-28 04:15:05 UTC
FEDORA-2020-4d4f3e2d7e has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.