verson 2.3.1 fails on fedora 32

when i try to use audacity, i get a core dump. i am using the version shipped with fedora 32. error messages are as follows:

02:46:09 PM: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8).

(Audacity:339015): Gtk-WARNING **: 14:46:09.846: gtk_disable_setlocale() must be called before gtk_init()
ALSA lib pcm_dsnoop.c:642:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1090:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1090:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:12: Debug: ScreenToClient cannot work when toplevel window is not shown
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
14:46:13: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ScreenToClient cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: Unrecognized accel key 'backspace', accel string ignored.
14:46:15: Debug: Unrecognized accel key 'backspace', accel string ignored.
14:46:15: Debug: Unrecognized accel key 'numpad_enter', accel string ignored.
14:46:15: Debug: Unrecognized accel key 'numpad_enter', accel string ignored.
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
14:46:15: Debug: ClientToScreen cannot work when toplevel window is not shown
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Expression 'err' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3355
Expression 'ContinuePoll( self, StreamDirection_In, &pollTimeout, &pollCapture )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3881
Expression 'PaAlsaStream_WaitForFrames( stream, &framesAvail, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4253
audacity: src/hostapi/alsa/pa_linux_alsa.c:3387: OnExit: Assertion `data' failed.
Aborted (core dumped)

ideas???
awbest

I guess you didn’t build Audacity yourself?

no, i did not. i am using the version that comes with fedora 32.

awbest

That “mismatch” looks to me like a build error, so I’m not sure how far we can get with this.

How far does Audacity get? Does the main window open?

yes, the window will open but i cannot get any thing to work, aside from ‘record.’ by work, i mean audacity will crash i have tried compiling from source as well as using the version which comes with fedora 32.

awbest

Can you generate a tone (“Generate menu > Tone”)?
If you can, are you then able to play the tone?

steve,
yes on both accounts.
awbest

Are you able to identify what triggers the crash?

this is too strange. i cannot get it to crash. when i try to record, it gets (where?) a loud static (??). i am guessing <??> that audacity got updated since the last message.
so i buildl 2.4.2 source. and got the same result, that is the loud static.
<does the university really hate me or have i slipped into a quantum state in a parallel universe?>

allen

a similar error msg on fc32 with audacity 2.3.3 from the repos

have erased the config dir and un-installed and reinstalled both the mainline and rpmfusion freeworld builds

the main gui will not start, but a debug notice comes up and generates a dir in /tmp that can be sent somewhere if it would be of use

If any of this seems familiar, or if I can post additional details, please let me know

thanks, and any help appreciated

Not sure if it will help or not, but you can post it here. Attach it (the ZIP file) to your reply (see: https://forum.audacityteam.org/t/how-to-attach-files-to-forum-posts/24026/1)

thanks, didn’t want to spam the group on first post, will attach as a zip of the dbgrpt dir in /tmp
bugrpt.zip (13.2 KB)

Check that /var/tmp/audacity-rikm is writable.

I notice that Audacity has been built against wx 3.0, but Audacity 2.3.3 should have been built against wx 3.1.1. I wouldn’t have expected that to prevent it working altogether.

…well it seems to want the alsa plugin for pulseaudio, it was not installed as I don’t use the whole pulse thing…in any case have the gui up now and will see

Can anyone comment on why the presence of pulse related stuff would be required?


thanks again,


rikm

Probably because virtually all Desktop Linux distributions use it by default (including Fedora), and because ALSA alone usually lacks functionality that is very useful for multi-channel audio editors, such as mixing, multi-client support, and on the fly resampling.

Probably because virtually all Desktop Linux distributions use it by default (including Fedora), and because ALSA alone usually lacks functionality that is very useful for multi-channel audio editors, such as mixing, multi-client support, and on the fly resampling.

…hmmm, true enough but OTOH it works without pulse and while checking for it and throwing an error/warning msg about reduced functionality might make sense, a coredump does not seem to…as I said it works with just ALSA support



thanks again,

rikm