Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711292 - media-plugins/audacious-plugins-3.10.1 segfault on seek with SoX resampler
Summary: media-plugins/audacious-plugins-3.10.1 segfault on seek with SoX resampler
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas Sturmlechner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-02 08:47 UTC by Thomas Groman
Modified: 2021-11-24 08:38 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 Thomas Groman 2020-03-02 08:47:09 UTC
audacious 3.10.1 will segfault if you attempt to seek the audio while the SoX resampling plugin is active and set to 48000Hz Ultra High quality.

steps to reproduce:
compile audiacous-3.10.1 and it's plugins
enable SoX Resampling plugin
set Resample settings to 48000Hz Ultra High quality
Open a file the needs resampling
play the audio file
attempt to seek position forward

Thread 21 "audacious" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5ded700 (LWP 22270)]
0x00007fffdd087641 in ?? () from /usr/lib64/libsoxr.so.0
(gdb) bt
#0  0x00007fffdd087641 in  () at /usr/lib64/libsoxr.so.0
#1  0x00007fffdd0854e1 in  () at /usr/lib64/libsoxr.so.0
#2  0x00007fffdd086f10 in soxr_process () at /usr/lib64/libsoxr.so.0
#3  0x00007fffdfec34f3 in  () at /usr/lib64/audacious/Effect/sox-resampler.so
#4  0x00007ffff7f3b3f1 in  () at /usr/lib64/libaudcore.so.5
#5  0x00007ffff7f40fd1 in  () at /usr/lib64/libaudcore.so.5
#6  0x00007ffff7f42afe in InputPlugin::write_audio(void const*, int) () at /usr/lib64/libaudcore.so.5
#7  0x00007ffff43f5ab6 in  () at /usr/lib64/audacious/Input/sndfile.so
#8  0x00007ffff7f41ed4 in  () at /usr/lib64/libaudcore.so.5
#9  0x00007ffff7f06497 in start_thread () at /lib64/libpthread.so.0
#10 0x00007ffff78683cf in clone () at /lib64/libc.so.6
(gdb) bt full
#0  0x00007fffdd087641 in  () at /usr/lib64/libsoxr.so.0
#1  0x00007fffdd0854e1 in  () at /usr/lib64/libsoxr.so.0
#2  0x00007fffdd086f10 in soxr_process () at /usr/lib64/libsoxr.so.0
#3  0x00007fffdfec34f3 in  () at /usr/lib64/audacious/Effect/sox-resampler.so
#4  0x00007ffff7f3b3f1 in  () at /usr/lib64/libaudcore.so.5
#5  0x00007ffff7f40fd1 in  () at /usr/lib64/libaudcore.so.5
#6  0x00007ffff7f42afe in InputPlugin::write_audio(void const*, int) () at /usr/lib64/libaudcore.so.5
#7  0x00007ffff43f5ab6 in  () at /usr/lib64/audacious/Input/sndfile.so
#8  0x00007ffff7f41ed4 in  () at /usr/lib64/libaudcore.so.5
#9  0x00007ffff7f06497 in start_thread () at /lib64/libpthread.so.0
#10 0x00007ffff78683cf in clone () at /lib64/libc.so.6
(gdb)
Comment 1 Andreas Sturmlechner gentoo-dev 2020-03-02 20:06:17 UTC
Does the same happen with 4.0_beta1?
Comment 2 Thomas Groman 2020-03-03 03:44:42 UTC
kind of. segfaults aren't so much triggered by 48000Hz seeks in version 4 but seeking on 8Khz wav files
Comment 3 Andreas Sturmlechner gentoo-dev 2020-03-05 19:38:00 UTC
In that case, and if there is no existing one, please file a bug report upstream.
Comment 4 Marco Scardovi (scardracs) 2021-07-06 10:23:38 UTC
Ping, does this happens on 4.0.5?
Comment 5 Larry the Git Cow gentoo-dev 2021-11-21 12:59:07 UTC
The bug has been referenced in the following commit(s):

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

commit e1a3f548d70d6b5ab3b891c360fc2c88f9d8836c
Author:     Marco Scardovi <marco@scardovi.com>
AuthorDate: 2021-11-21 08:15:55 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-11-21 12:58:55 +0000

    media-sound/audacious: bump to version 4.1
    
    Drop 3.x as it is require GTK+:2
    
    Closes: https://bugs.gentoo.org/775989
    Closes: https://bugs.gentoo.org/797835
    Bug: https://bugs.gentoo.org/711292
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Marco Scardovi <marco@scardovi.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-sound/audacious/Manifest             |  1 +
 media-sound/audacious/audacious-4.1.ebuild | 70 ++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
Comment 7 Joonas Niilola gentoo-dev 2021-11-24 07:54:07 UTC
^ Anyone upset about removing the gtk+-2 version, it has been an upstream decision to discontinue supporting gtk+. There are plenty of alternative music players available, or you can git checkout to the parent commit 4af735318c20dc6b211e8b8eb16cb71e6b4b8fa1 (or browse the web git interfaces) and preserve the older ebuilds in a local overlay, and use them as long as they work (no support for them though!)
Comment 8 Andreas Sturmlechner gentoo-dev 2021-11-24 08:38:05 UTC
Closing this bug, since the original reporter ejected himself from it.