Hardlock while preview and scroll through import sample

Bug Description

Ha, i found one!:grinning_face_with_smiling_eyes:
In the sample loader, when importing a sample and changing the start point, tracker will crash when you repeatedly hitting the preview button.

Steps to Reproduce

  1. Start a new project
  2. Go to sample loader
  3. load the attached testsample (res tom.wav)
  4. Press import, you see the import screen.
  5. Scroll the start point to the middle of the sample.
  6. With a constant fast freqency hit the preview button while slowly scrolling backwards.
  7. If it is not crashing the first time, scroll to the middle and try again.

Edit: interestingly i had only success with the test sample, perhaps because there’s silence at the beginning? Sample is sane, correct riff format.

Occurrence / Frequency

Always

Found in Firmware

  • Version: 1.0.3
  • Build: 1138

Attachments


res tom.zip (110 KB)

He strikes again!! :hugs:

Was able to reproduce after 3-4 attempts. Thanks for taking the time to write this up. Much appreciated!

EDIT; wanted to add that I also have yet to reproduce this with another sample. Will make more attempts

1 Like

I’ve tried twice tonight to replicate this with a couple random samples, and still can get it to trigger.

It’s possible that this particular file has a couple of lines of corruption which is what a lot of codecs are meant to deal with; it sounds fine when we play it back because the codec can mask very minor errors in the file, but when we go out and try to address the moments where the error occurs on the file, that’s where all hell breaks loose.

Would you mind sharing the process of the life and processing this file went through?

Hey first a big thanks for investigating with me!
Yes, i also blame the sample here is what i have done:

The original sample on my server was 48khz 24bit stereo. No idea what treatment it was put through the last 20 years but the last hour was hard😅

I converted it to mp3 128kb into a new file.
I reconverted this new file to 44.1khz wav.
I renamed it hard-crash.wav though its a tom.
I loaded it into the tracker.
It crashed.
I zipped it for you.
For my understanding its nearly impossible that the binary is corrupt. The codec should deal with it, mmh..
Maybe i’ll make a sample pack. Toms of doom.

hard-crash.zip (127.7 KB)

2 Likes

Ok i’m done, cant even stand the sound anymore😂

The last thing i’ve done, i truncated the sample start and endpoint (had to get rid of the silence anyway) and rendered it to a new file in my daw.
So far, i cant get it to crash anymore.

My suggestion, delete this report. Maybe it will be interesting what the debugger spits out in this particular case, but after all its an anomaly.

Damn, sooo close..:grinning_face_with_smiling_eyes:

1 Like

Really appreciate your time looking into this! I’ve pass it on to the team so I’ll leave it to them to decide if they want to investigate further.

Keep the passion! :slight_smile:

1 Like