Pause Click Freeze

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
drjoeross
Posts: 14
Joined: Sun Oct 18, 2015 3:37 pm
Operating System: Please select

Pause Click Freeze

Post by drjoeross » Wed Nov 11, 2015 5:52 pm

This morning after running audacity for several hours of playback and adding music tracks, Audacity Froze. All I did was click Pause (while listening) then Click on the main track where I wanted Audacity to re-start playing and then I pressed STOP. It froze with an image of BOTH the Pause and Stop buttons depressed.
Now I am depressed :-)
When I tired to look at the ABOUT box in Ubuntu to see what version I am using (14.04), the about box and settings would not activate. However I am sending this email and all else appears working.
I am looking for help with why this happens.
Thanks,
Joe

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Pause Click Freeze

Post by steve » Wed Nov 11, 2015 6:29 pm

Unfortunately Ubuntu built Audacity with the wrong version of WxWidgets, which causes a number of bugs.
The current 2.1.1 version of Audacity is available (built with the correct version of WxWidgets) from this PPA: https://launchpad.net/~ubuntuhandbook1/ ... u/audacity

See the instructions at http://ubuntuhandbook.org/index.php/201 ... -from-ppa/ for how to install the PPA.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

drjoeross
Posts: 14
Joined: Sun Oct 18, 2015 3:37 pm
Operating System: Please select

Re: Pause Click Freeze

Post by drjoeross » Wed Nov 11, 2015 7:41 pm

Thank You For Your Reply! I love using Audacity and even with the daily crashes found it excellent. If this resolves the issue it will be SPECTACULAR!

Joe

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Pause Click Freeze

Post by Gale Andrews » Wed Nov 11, 2015 10:58 pm

drjoeross wrote:I love using Audacity and even with the daily crashes found it excellent. If this resolves the issue it will be SPECTACULAR!
The Ubuntu handbook 2.1.1 PPA will be more stable generally than the Ubuntu packaged version of Audacity, but it will still be prone to freeze using PulseAudio devices if you hold down play or record, or click play, pause or stop too quickly in succession. It is possible you actually encountered that bug, which is still open. See http://wiki.audacityteam.org/wiki/Linux_Issues#pulse for workarounds.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

drjoeross
Posts: 14
Joined: Sun Oct 18, 2015 3:37 pm
Operating System: Please select

Re: Pause Click Freeze

Post by drjoeross » Wed Dec 09, 2015 7:45 pm

Gale Andrews wrote:
drjoeross wrote:I love using Audacity and even with the daily crashes found it excellent. If this resolves the issue it will be SPECTACULAR!
The Ubuntu handbook 2.1.1 PPA will be more stable generally than the Ubuntu packaged version of Audacity, but it will still be prone to freeze using PulseAudio devices if you hold down play or record, or click play, pause or stop too quickly in succession. It is possible you actually encountered that bug, which is still open. See http://wiki.audacityteam.org/wiki/Linux_Issues#pulse for workarounds.


Gale
Gale, you are unfortunately correct. It seems a little better with the updated ppa but it still is unstable and freezes. Then on restart, I get a message Like " there are 140 orphan blocks doing no harm and I could leave them and just move on." Most of the time my recordings seem ok but it is a bit nerve racking. Kind of like being shot at by an invisible sniper just now and then..... you are always waiting to be get hurt. Too bad it has not been resolved. Audacity is such a great program otherwise.
Joe

drjoeross
Posts: 14
Joined: Sun Oct 18, 2015 3:37 pm
Operating System: Please select

Re: Pause Click Freeze

Post by drjoeross » Wed Dec 09, 2015 7:57 pm

Gale Andrews wrote:
drjoeross wrote:I love using Audacity and even with the daily crashes found it excellent. If this resolves the issue it will be SPECTACULAR!
The Ubuntu handbook 2.1.1 PPA will be more stable generally than the Ubuntu packaged version of Audacity, but it will still be prone to freeze using PulseAudio devices if you hold down play or record, or click play, pause or stop too quickly in succession. It is possible you actually encountered that bug, which is still open. See http://wiki.audacityteam.org/wiki/Linux_Issues#pulse for workarounds.


Gale
I tried the recommended "work around" and got a message in terminal that did not look inspiring (not that I understand it). Failed, Refused and Unknown are not positive: :-)

Code: Select all

[email protected]:~$ env PULSE_LATENCY_MSEC=30 audacity
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:1022:(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
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
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
Last edited by Gale Andrews on Thu Dec 10, 2015 12:39 pm, edited 1 time in total.
Reason: wrap terminal output in code tags for readability

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Pause Click Freeze

Post by Gale Andrews » Thu Dec 10, 2015 12:38 pm

drjoeross wrote:
Gale Andrews wrote:
drjoeross wrote:I love using Audacity and even with the daily crashes found it excellent. If this resolves the issue it will be SPECTACULAR!
The Ubuntu handbook 2.1.1 PPA will be more stable generally than the Ubuntu packaged version of Audacity, but it will still be prone to freeze using PulseAudio devices if you hold down play or record, or click play, pause or stop too quickly in succession. It is possible you actually encountered that bug, which is still open. See http://wiki.audacityteam.org/wiki/Linux_Issues#pulse for workarounds.


Gale
Gale, you are unfortunately correct. It seems a little better with the updated ppa but it still is unstable and freezes. Then on restart, I get a message Like " there are 140 orphan blocks doing no harm and I could leave them and just move on." Most of the time my recordings seem ok but it is a bit nerve racking.
In most cases those orphan files are perfectly normal when recovering after a crash - the orphans are files that were being kept for Audacity undo/redo.

If you are recovering a project that was never saved, Audacity will delete those orphan files automatically in any case.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Pause Click Freeze

Post by Gale Andrews » Thu Dec 10, 2015 12:44 pm

drjoeross wrote:I tried the recommended "work around" and got a message in terminal that did not look inspiring (not that I understand it). Failed, Refused and Unknown are not positive: :-)
There is nothing bad there - those messages are "normal".

If you get underruns noted in the terminal when you play audio or if playback does not start immediately, try a higher PULSE_LATENCY_MSEC value.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

drjoeross
Posts: 14
Joined: Sun Oct 18, 2015 3:37 pm
Operating System: Please select

Re: Pause Click Freeze

Post by drjoeross » Fri Dec 11, 2015 7:04 pm

Gale Andrews wrote:
drjoeross wrote:I tried the recommended "work around" and got a message in terminal that did not look inspiring (not that I understand it). Failed, Refused and Unknown are not positive: :-)
There is nothing bad there - those messages are "normal".

If you get underruns noted in the terminal when you play audio or if playback does not start immediately, try a higher PULSE_LATENCY_MSEC value.


Gale
Thanks!

drjoeross
Posts: 14
Joined: Sun Oct 18, 2015 3:37 pm
Operating System: Please select

Re: Pause Click Freeze

Post by drjoeross » Sat Dec 12, 2015 12:46 am

drjoeross wrote:
Gale Andrews wrote:
drjoeross wrote:I love using Audacity and even with the daily crashes found it excellent. If this resolves the issue it will be SPECTACULAR!
The Ubuntu handbook 2.1.1 PPA will be more stable generally than the Ubuntu packaged version of Audacity, but it will still be prone to freeze using PulseAudio devices if you hold down play or record, or click play, pause or stop too quickly in succession. It is possible you actually encountered that bug, which is still open. See http://wiki.audacityteam.org/wiki/Linux_Issues#pulse for workarounds.


Gale
I tried the recommended "work around" and got a message in terminal that did not look inspiring (not that I understand it). Failed, Refused and Unknown are not positive: :-)

Code: Select all

[email protected]:~$ env PULSE_LATENCY_MSEC=30 audacity
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:1022:(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
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
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

Is it possible to put this in a bach file like mos dos, that you can double click and run?

I tried creating a desktop file callerd ( "RunAudacity.desktop" ) but it did not work. I put this in the file -->

[Desktop Entry]
Name=Start-Audacity
Comment=test of online script
Exec=/home/DRJOEROSS/StartAudacity.sh <=== the wk around: env PULSE_LATENCY_MSEC=30 audacity
Icon=/home/DRJOEROSS/audacity.png
Terminal=true
Type=Application

Post Reply