Discussion:
[Audacity-devel] Crash in Windows debug build
Steve the Fiddle
2017-06-06 23:21:39 UTC
Permalink
1) Launch Audacity (cleared preferences)
2) Generate Chirp (default)
3) Select from about 12 to 18 seconds
4) Apply High Pass Filter (default)

Crash

I've not worked out how to get a back trace yet as I've only used
MSVSC for a few hours, but the problem appears to be in
Envelope::GetValuesRelative
around line 1205
if ( len > 0 && t <= mEnv[0].GetT() && mEnv[0].GetT() == mEnv[1].GetT() )

Steve
Gale Andrews
2017-06-07 02:51:05 UTC
Permalink
Have not managed to find a crash yet at
https://github.com/audacity/audacity/commit/63c89e

in release builds. I guessed you meant mouse select
the audio.



Gale
Post by Steve the Fiddle
1) Launch Audacity (cleared preferences)
2) Generate Chirp (default)
3) Select from about 12 to 18 seconds
4) Apply High Pass Filter (default)
Crash
I've not worked out how to get a back trace yet as I've only used
MSVSC for a few hours, but the problem appears to be in
Envelope::GetValuesRelative
around line 1205
if ( len > 0 && t <= mEnv[0].GetT() && mEnv[0].GetT() == mEnv[1].GetT() )
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-07 07:31:29 UTC
Permalink
In step 3 I selected from about 12 to 18 seconds by clicking and
dragging with the mouse.
Yes the crash only occurs in debug build, and it is repeatable.

The crash does not occur in debug build on Linux.

Steve
Post by Gale Andrews
Have not managed to find a crash yet at
https://github.com/audacity/audacity/commit/63c89e
in release builds. I guessed you meant mouse select
the audio.
Gale
Post by Steve the Fiddle
1) Launch Audacity (cleared preferences)
2) Generate Chirp (default)
3) Select from about 12 to 18 seconds
4) Apply High Pass Filter (default)
Crash
I've not worked out how to get a back trace yet as I've only used
MSVSC for a few hours, but the problem appears to be in
Envelope::GetValuesRelative
around line 1205
if ( len > 0 && t <= mEnv[0].GetT() && mEnv[0].GetT() == mEnv[1].GetT() )
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Paul Licameli
2017-06-07 13:17:44 UTC
Permalink
Try 1e7c51f

I think the violation was of the dynamic array bounds checking that special
to the Windows debug runtime.

PRL
Post by Steve the Fiddle
In step 3 I selected from about 12 to 18 seconds by clicking and
dragging with the mouse.
Yes the crash only occurs in debug build, and it is repeatable.
The crash does not occur in debug build on Linux.
Steve
Post by Gale Andrews
Have not managed to find a crash yet at
https://github.com/audacity/audacity/commit/63c89e
in release builds. I guessed you meant mouse select
the audio.
Gale
Post by Steve the Fiddle
1) Launch Audacity (cleared preferences)
2) Generate Chirp (default)
3) Select from about 12 to 18 seconds
4) Apply High Pass Filter (default)
Crash
I've not worked out how to get a back trace yet as I've only used
MSVSC for a few hours, but the problem appears to be in
Envelope::GetValuesRelative
around line 1205
if ( len > 0 && t <= mEnv[0].GetT() && mEnv[0].GetT() == mEnv[1].GetT()
)
Post by Gale Andrews
Post by Steve the Fiddle
Steve
------------------------------------------------------------
------------------
Post by Gale Andrews
Post by Steve the Fiddle
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Post by Gale Andrews
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-07 14:45:23 UTC
Permalink
Yes that stops the crash. I'd already done that to my copy to work
around the crash, but there are still serious problems in the envelope
code as indicated in my other post.

Steve
Post by Paul Licameli
Try 1e7c51f
I think the violation was of the dynamic array bounds checking that special
to the Windows debug runtime.
PRL
Post by Steve the Fiddle
In step 3 I selected from about 12 to 18 seconds by clicking and
dragging with the mouse.
Yes the crash only occurs in debug build, and it is repeatable.
The crash does not occur in debug build on Linux.
Steve
Post by Gale Andrews
Have not managed to find a crash yet at
https://github.com/audacity/audacity/commit/63c89e
in release builds. I guessed you meant mouse select
the audio.
Gale
Post by Steve the Fiddle
1) Launch Audacity (cleared preferences)
2) Generate Chirp (default)
3) Select from about 12 to 18 seconds
4) Apply High Pass Filter (default)
Crash
I've not worked out how to get a back trace yet as I've only used
MSVSC for a few hours, but the problem appears to be in
Envelope::GetValuesRelative
around line 1205
if ( len > 0 && t <= mEnv[0].GetT() && mEnv[0].GetT() == mEnv[1].GetT() )
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Loading...