Skip to content

Internal error at audacity/libraries/lib-wave-track/WaveTrack.cpp line 1232 #8440

Closed

Description

@SteveDaulton

Bug description

Nyquist Generate plug-ins that do not have a GUI trigger internal error at audacity/libraries/lib-wave-track/WaveTrack.cpp line 1232

Steps to reproduce

  1. Create and install two plug-ins:
;nyquist plug-in
;version 4
;type generate
;name "AAA_GUI"

;control dummy "Dummy" int "" 1 0 2

(hzosc 440)
;nyquist plug-in
;version 4
;type generate
;name "AAA"

(hzosc 440)
  1. Attempt using the plug-ins

Expected behavior

Both plug-ins should generate 1 second sine wave into a new audio track.

Actual behavior

Plug-in "AAA_GUI" works as expected.

Plug-in "AAA" fails with internal error at audacity/libraries/lib-wave-track/WaveTrack.cpp line 1232

Tested with Audacity 3.7.3 self-build on Linux. (3.7.3 is not currently listed below)

Audacity Version

Since 3.4.0

Operating system

All

Additional context

No response

Activity

  1. added
    AU3-bug
    on Mar 14, 2025
  2. added theissue type on Mar 14, 2025
  3. kryksyh commented on Mar 14, 2025

    @kryksyh
    Member

    Regression introduced in 3.4.0

  4. SteveDaulton commented on Mar 14, 2025

    @SteveDaulton
    MemberAuthor

    I suspect that this affects Audacity on all platforms, but I have only tested on Linux.

  5. added
    regression
    on Mar 14, 2025
  6. kryksyh commented on Mar 14, 2025

    @kryksyh
    Member

    @SteveDaulton yes, i can confirm it on macos.

  7. markgardnter620 commented on Mar 31, 2026

    @markgardnter620

    Thank you Mr. Bailes. I have closed the issue I submitted numbered as #10625. If there is need, that report contains the text of the plug-in, within the .pdf file attached. My thanks to all who are working to resolve this issue.

  8. markgardnter620 commented on Mar 31, 2026

    @markgardnter620

    There is a work-around. I have repaired my four generator functions so that all now work properly from the installed position. The trick is primarily to insert a $control even if one is not needed, and then to be careful to use only a proper subset of interface and delivery statements. Also, it's critical that sizes match and that no NIL end up in a delivered buffer.

    In my case, it's important that the plug-in also generate a labels file simultaneously, and this procedure may be of use to some.

    The process was developed by examining the working 'Generate' files that come with Audacity: pluck.ny, rhythmtrack.ny, and rissetdrum.ny to see how they avoided the line 1232 crash. I've included a 'summary' written by gemini, though I can't vouch for everything it says; I do judge it, however, to be good guide as to direction. I have also attached my .ny as a .txt file, and the .wav output that the plug-in makes. I have not released the plug-in yet, and retain copyright for now, please be circumspect.

    I'm preparing a tool set to help serious audio engineers achieve ACX compliance, and useful generally for examining edited audio files. The set achieves near-forensic sensitivity (with caveats); I'll be releasing it soon under the standard open license. The instant 'test' file is for assistance with the learning curve and for documentation.

    Technical Summary.docx

    WaveParse_TestA.wav

    MakeTestA.txt

  9. moved this from To-Do to Ready for QA in [AU3] Main boardon Apr 9, 2026
  10. DavidBailes commented on Apr 10, 2026

    @DavidBailes
    Collaborator

    @SteveDaulton @markgardnter620
    The PR #10688 appears to fix this issue, and also this issue: #5790

  11. self-assigned this
    on Apr 15, 2026
  12. moved this from Ready for QA to In QA in [AU3] Main boardon Apr 15, 2026
  13. moved this from In QA to Ready for merge in [AU3] Main boardon Apr 15, 2026
  14. dozzzzer commented on Apr 15, 2026

    @dozzzzer
    Contributor

    Tested

  15. moved this from Ready for merge to Done in [AU3] Main boardon Apr 17, 2026
  16. added this to the Audacity 3.7.8 milestone on Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AU3-bugregression

Type

Fields

Priority

None yet

Effort

None yet

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions