Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 1927 - Help > Generate Support Data has very confusing behavior
Help > Generate Support Data has very confusing behavior
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Application Core
2.3.0
Per OS Windows (all)
: P2 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-10 10:50 UTC by James Crook
Modified: 2021-02-11 11:26 UTC (History)
7 users (show)

See Also:
Steps To Reproduce:
1. Use Help > Diagnostics > Generate Support Data 2. Observe: A: Audacity becomes unresponsive, and takes over 30s to generate the support data, with 30% CPU activity. B: The screen does not repaint/recover properly after the support data is complete. C: In Debug builds an exception (crash) is generated.
Release Note:
First Git SHA:
Group: Slow
Workaround:
Closed: 2021-02-11 00:00:00
petersampsonaudacity: Quickfix‑Requested+
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments
Backtrace (5.07 KB, text/plain)
2019-06-17 16:31 UTC, Steve Daulton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Crook 2018-08-10 10:50:33 UTC

    
Comment 1 Peter Sampson 2019-06-16 11:28:32 UTC
On W10 with 2.3.2 (and 2.3.3 alpha)

1) Audacity is unresponsive (there is no progress dialog) for a mere 4.5 seconds

2) Then I get an information message
>Language "en-GB" is unknown

3) Clicking the OK button leads to a debug report dialog

4) Clicking Ok brings a message
>Audacity Support Data
>Report generated to <location>
Comment 2 Peter Sampson 2019-06-16 11:28:32 UTC
On W10 with 2.3.2 (and 2.3.3 alpha)

1) Audacity is unresponsive (there is no progress dialog) for a mere 4.5 seconds

2) Then I get an information message
>Language "en-GB" is unknown

3) Clicking the OK button leads to a debug report dialog

4) Clicking Ok brings a message
>Audacity Support Data
>Report generated to <location>
Comment 3 Peter Sampson 2019-06-16 11:33:15 UTC
On macOS 10.14.5 with 2.3.2 (and 2.3.3 alpha)

1) Audacity is unresponsive (there is no progress dialog) for a mere 3 seconds with 2.3.3
With 2.3.2 the delay is 6 seconds and I get the spinning beachball

2) There is no info message as there is on Windows
>Language "en-GB" is unknown

3) Instead goes straight to a debug report dialog

4) Clicking Ok brings a message
>Audacity Support Data
>Report generated to <location>
Comment 4 Peter Sampson 2019-06-16 11:36:21 UTC
On both platforms I do not see B) from the steps - rather the screen repaints properly
Comment 5 Steve Daulton 2019-06-17 15:46:26 UTC
On Linux, Audacity crashes within a few seconds.

I've not tested a release build, but if it crashes there too, then this should be higher than P4 in my opinion (it's supposed to be a "diagnostic", but is not fit for purpose if the diagnostic crashes the application).
Comment 6 Steve Daulton 2019-06-17 16:31:51 UTC
Created attachment 831 [details]
Backtrace

Backtrace attached.
Comment 7 Peter Sampson 2021-02-09 16:22:57 UTC
Tested on W10 and macOS 11.2 Big Sur with  Audacity 3.0.0 c3013af

This now crashes on both platforms
a) after 5 seconds inactivity on Windows
a) after 3 seconds inactivity on Mac

So because of the crash, upgrading to P1

Bug title changed from
> Help > Generate Support Data Takes more than 30s (crashes in debug)
to
>> Help > Generate Support Data crashes Audacity
Comment 8 Leland Lucius 2021-02-09 18:39:30 UTC
Fix committed in:

https://github.com/audacity/audacity/commit/8a47799

I've added a progress dialog.

I've also disabled collection of the stack trace and memory dump. Those two really weren't of much use in a release build anyway.
Comment 9 Peter Sampson 2021-02-10 11:01:30 UTC
(In reply to Leland Lucius from comment #8)
Tested on W10 with Audacity 3.0.0 907e830

a) Initially I get a progress dialog
b) this stops at 3 seconds and  remains on screen 
c) then straightaway the "Debug report preview" opens on-screen
d) Pressing OK gives
e) "Report generated to ..." message - and
f) revival of the progress dialog with the green bar moving but the counter stuck at 3 seconds
g) Pressing the OK on the "Report generated to ..." message gets rid of the dialog and the progress bar

As this does not crash I shall demote this from P1 - but I think the state it's in deserves a P2 and ideally should be fixed for 3.0.0 - this really does not look good.


Tested on macOS 11.2 Bug Sur with Audacity 3.0.0 907e830

Similar behavior on Mac but
i)the progress dialog starts out OK
ii) at Step c) above the progress dialog becomes blank
iii) at steps f) to g) above the blank progress dialog overlays and hides the "Report generated to ..." message - and its OK button
iv) so you have to move the null progress dialog away do you van access the OK button on the "Report generated to ..." message


So on both platforms this seems to work - and doesn't take the inordinate time that this bug originally reported - but the GUI is well messed up.
Comment 10 Leland Lucius 2021-02-10 18:29:20 UTC
Sorry about that Peter.  I guess I should test on the Mac as well.

Fix in:

https://github.com/audacity/audacity/commit/52acaf6
Comment 11 Peter Sampson 2021-02-11 11:26:05 UTC
(In reply to Leland Lucius from comment #10)
Tested on W10 and macOS 11.2.1 with Audacity 3.0.0 11076f0

Now works properly on both platforms - and without the long delay that was originally reported in this bug thread,