Bug 1873051 - audacity crashing randomly at start, seemingly always at exit
Summary: audacity crashing randomly at start, seemingly always at exit
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: audacity
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-27 09:17 UTC by bugreports2005
Modified: 2022-08-15 00:08 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description bugreports2005 2020-08-27 09:17:21 UTC
Description of problem:

Sometimes it launches, often not. I'm not sure how stable it runs when it does launch. The errors vary but hint of memory corruption, here's a few:

*** Error in `audacity': free(): invalid pointer: 0x0000000001f89af0 ***
*** Error in `audacity': corrupted size vs. prev_size: 0x00000000034bb4b0 ***
*** Error in `audacity': malloc(): memory corruption: 0x00000000029c23e0 ***



Version-Release number of selected component (if applicable):
audacity-2.3.3-2.el7.x86_64


How reproducible:
Doesn't happen every time when started, but often enough. Does seem to consistently crash at exit, though.


Steps to Reproduce:
1. run it
2.
3.

Actual results:
It often crashes. If it doesn't crash, exit it and it does.


Expected results:
Runs without crashing


Additional info:

The previous one, audacity-2.1.1-1.el7 doesn't crash like that. I suspect it helps that it was using wxGTK instead of wxGTK3. This warning printed at start may be relevant:

Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 2.8).

Comment 1 Wade Hampton 2020-12-02 21:35:18 UTC
On Fedora 33, Audacity is crashing frequently.  It sometimes crashes at startup.  
Usually it crashes after clicking record (see log below).

From the command line, I ran audacity --test and captured the following:

$ audacity &
(Audacity:225852): GLib-GObject-WARNING **: 16:30:36.953: cannot register existing type 'GdkDisplayManager'
(Audacity:225852): GLib-CRITICAL **: 16:30:36.953: g_once_init_leave: assertion 'result != 0' failed
(Audacity:225852): GLib-GObject-CRITICAL **: 16:30:36.953: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(Audacity:225852): Gtk-WARNING **: 16:30:36.954: gtk_disable_setlocale() must be called before gtk_init()
...
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_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
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
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
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
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
...
16:30:38: Debug: ScreenToClient cannot work when toplevel window is not shown
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
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
...
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.

I am using an external USB microphone and am connected via Alsa, not Jack.  The computer is up-to-date Fedora 33 on an HP I7 laptop with 8G RAM.

  audacity-2.3.3-7.fc33.x86_64
  kernel-5.9.11-200.fc33.x86_64
  compat-wxGTK3-gtk2-3.0.5.1-2.fc33.x86_64
  wxGTK3-3.0.5.1-2.fc33.x86_64

Comment 2 Fedora Admin user for bugzilla script actions 2022-08-15 00:08:30 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.