You are not logged in.

#1 2018-10-25 15:03:47

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

[SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

Since upgrading audacity to version 2.3.0-1, I am no longer able to use the Play-At-Speed function. This leads to an instant crash even though the playback continues. As soon as I close the error message, the program terminates.

Is anyone else experiencing this or is it just me?

Steps to reproduce:

1. Install audacity 2.3.0-1 via pacman
2. Launch audacity and record a short track
3. Push the Play-At-Speed button (little green play symbol with a slider next to it)

Here is my log.txt from the crash report:

17:00:27: Audacity 2.3.0
17:00:27: Trying to load FFmpeg libraries...
17:00:27: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.so.58'.
17:00:27: Checking for monolithic avformat from 'libavformat.so.58'.
17:00:27: avformat not monolithic
17:00:27: Loading avutil from '/usr/lib/libavutil.so.56.14.100'.
17:00:27: Loading avcodec from '/usr/lib/libavcodec.so.58.18.100'.
17:00:27: Loading avformat from 'libavformat.so.58'.
17:00:27: Actual avutil path /usr/lib/libavutil.so.56.14.100
17:00:27: Actual avcodec path /usr/lib/libavcodec.so.58.18.100
17:00:27: Actual avformat path /usr/lib/libavformat.so.58.12.100
17:00:27: Importing symbols...
17:00:27: All symbols loaded successfully. Initializing the library.
17:00:27: Retrieving FFmpeg library version numbers:
17:00:27:    AVCodec version 0x3a1264 - 58.18.100 (built against 0x3a1264 - 58.18.100)
17:00:27:    AVFormat version 0x3a0c64 - 58.12.100 (built against 0x3a0c64 - 58.12.100)
17:00:27:    AVUtil version 0x380e64 - 56.14.100 (built against 0x380e64 - 56.14.100)
17:00:27: FFmpeg libraries loaded successfully.

Last edited by panuh (2018-10-28 17:53:40)

Offline

#2 2018-10-25 15:56:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

Get a proper backtrace, there's nothing remotely pointing at a crash in that excerpt. https://wiki.archlinux.org/index.php/St … ion_faults

Offline

#3 2018-10-26 06:29:04

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

I've tried running audacity through gdb and it's giving me a headache. Audacity then hangs at a much earlier state but won't crash.

The backtrace up to the point that audacity "hangs", not crashes when running in gdb (this is after pressing record, then stop):

#0  0x00007ffff42d3c21 in poll () at /usr/lib/libc.so.6
#1  0x0000555555edf57e in  ()
#2  0x0000555555ee02e7 in  ()
#3  0x00007ffff46e8a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffff42deb23 in clone () at /usr/lib/libc.so.6

Attaching strace to gdb at that moment to see if gdb is stuck in some loop results in no output from strace.

I've also tried sending 'kill -CONT' to the audacity process run from gdb without success.

It would be helpful for me if someone could tell me if Play-At-Speed works for them in 2.3.0-1. Then I would have isolated the problem to my own box.

Last edited by panuh (2018-10-26 12:40:03)

Offline

#4 2018-10-27 21:18:13

lombard
Member
Registered: 2018-10-27
Posts: 4

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

I just upgraded Audacity to 2.3.0 and have the same crash, you're not the only one. Nothing on Audacity's bugzilla though.

Offline

#5 2018-10-27 22:42:22

lombard
Member
Registered: 2018-10-27
Posts: 4

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

I was going to debug this from audacity HEAD, but the bug isn't present there. So I bisected it and found that the bug was fixed somewhere between e7c4e8bde and 50f2b0e86. The commits in that range are untestable because they crash upon loading a project or pressing record. The commit logs don't mention anything about Play-At-Speed in that range.

So you can either build your own from trunk (where it's fixed already), or wait for the next release.

Offline

#6 2018-10-28 03:08:16

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

After the upgrade of audacity 2.2.2-3 -> 2.3.0-1 a few weeks ago I started seeing odd audacity crashes. I deleted ~/.audacity-data and have not seen a crash since.

Offline

#7 2018-10-28 04:40:07

lombard
Member
Registered: 2018-10-27
Posts: 4

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

bulletmark wrote:

After the upgrade of audacity 2.2.2-3 -> 2.3.0-1 a few weeks ago I started seeing odd audacity crashes. I deleted ~/.audacity-data and have not seen a crash since.

Play-At-Speed still crashes for me with no ~/.audacity_data in 2.3.0

Last edited by lombard (2018-10-28 04:44:14)

Offline

#8 2018-10-28 04:41:24

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

lombard wrote:

Play-At-Speed still crashes for me with no ~/.audacity_data

Given what you typed here, did you delete the correct dir?

Last edited by bulletmark (2018-10-28 04:41:36)

Offline

#9 2018-10-28 04:45:55

lombard
Member
Registered: 2018-10-27
Posts: 4

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

bulletmark wrote:
lombard wrote:

Play-At-Speed still crashes for me with no ~/.audacity_data

Given what you typed here, did you delete the correct dir?

Haha, yes that is a typo. I did

mv .audacity-data/ .audacity-data.bak

Last edited by lombard (2018-10-28 04:46:05)

Offline

#10 2018-10-28 17:52:59

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: [SOLVED] Audacity 2.3.0-1 crashes when using Play-At-Speed

lombard wrote:

I was going to debug this from audacity HEAD, but the bug isn't present there. So I bisected it and found that the bug was fixed somewhere between e7c4e8bde and 50f2b0e86. The commits in that range are untestable because they crash upon loading a project or pressing record. The commit logs don't mention anything about Play-At-Speed in that range.

So you can either build your own from trunk (where it's fixed already), or wait for the next release.

Ok as it seems that this has been fixed for the next build already, I'll mark this as solved. Thanks!

It is also worth mentioning that on their download page, the audacity team warns from instability of 2.3.0 on linux when using real-time preview (even though this seems to be no problem in the current build on Arch).

Offline

Board footer

Powered by FluxBB