Crash in Windows debug build

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Crash in Windows debug build

Stevethefiddle
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|

Re: Crash in Windows debug build

Gale
Administrator
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


On 7 June 2017 at 00:21, Steve the Fiddle <[hidden email]> wrote:

> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|

Re: Crash in Windows debug build

Stevethefiddle
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


On 7 June 2017 at 03:51, Gale Andrews <[hidden email]> wrote:

> 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
>
>
> On 7 June 2017 at 00:21, Steve the Fiddle <[hidden email]> wrote:
>> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|

Re: Crash in Windows debug build

Paul Licameli
Try 1e7c51f

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

PRL



On Wed, Jun 7, 2017 at 3:31 AM, Steve the Fiddle <[hidden email]> wrote:
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


On 7 June 2017 at 03:51, Gale Andrews <[hidden email]> wrote:
> 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
>
>
> On 7 June 2017 at 00:21, Steve the Fiddle <[hidden email]> wrote:
>> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|

Re: Crash in Windows debug build

Stevethefiddle
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

On 7 June 2017 at 14:17, Paul Licameli <[hidden email]> wrote:

> Try 1e7c51f
>
> I think the violation was of the dynamic array bounds checking that special
> to the Windows debug runtime.
>
> PRL
>
>
>
> On Wed, Jun 7, 2017 at 3:31 AM, Steve the Fiddle <[hidden email]>
> wrote:
>>
>> 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
>>
>>
>> On 7 June 2017 at 03:51, Gale Andrews <[hidden email]> wrote:
>> > 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
>> >
>> >
>> > On 7 June 2017 at 00:21, Steve the Fiddle <[hidden email]>
>> > wrote:
>> >> 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
>> >> [hidden email]
>> >> 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
>> > [hidden email]
>> > 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel