View Issue Details

IDProjectCategoryView StatusLast Update
0001866OpenMPTGeneralpublic2025-02-25 21:37
ReporterRetronicsMusic Assigned ToSaga Musix  
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionfixed 
Platformx64OSWindowsOS Version10
Product VersionOpenMPT 1.31.14.00 / libopenmpt 0.7.13 (current stable) 
Target VersionOpenMPT 1.31.15.00 / libopenmpt 0.7.14 (upcoming stable)Fixed in VersionOpenMPT 1.31.15.00 / libopenmpt 0.7.14 (upcoming stable) 
Summary0001866: Zooming out a specific way in sample editor causes waveform to disappear or bug out and crashes
Description

I'm unsure how to reproduce properly, but it's consistent enough to be a problem for me frequently for a long time now.
When I zoom out sometimes it zooms out outside the sample itself and it shows a very glitchy waveform.

Steps To Reproduce

Go to the Samples tab
Open some samples
Zoom in and out occasionally, play the samples, etc.
Zoom out in a specific way
Randomly zoom out out of the sample itself

TagsNo tags attached.
Attached Files
image.png (636,344 bytes)
image-2.png (372,764 bytes)
image-3.png (578,740 bytes)
image-4.png (634,702 bytes)
image-5.png (185,881 bytes)   
image-5.png (185,881 bytes)   
Has the bug occurred in previous versions?Yes, in version from 5 years ago even
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2025-02-24 22:15

administrator   ~0006316

I am not aware of any crash in the sample editor that would have gone undetected for more than 5 years. Please provide the files from the path indicated in the error message on those screenshots, otherwise it will be hard to tell what went wrong without being able to reproduce it here.

RetronicsMusic

RetronicsMusic

2025-02-24 22:24

reporter   ~0006317

Of course, here's the files.

I never reported the bug because it happened so rarely back then, but now it's happening way more often than it used to.
I hope I uploaded the correct file, I don't often report things so this is very new to me

2025-02-24 22.28.59.zip (111,246 bytes)
Saga Musix

Saga Musix

2025-02-24 22:34

administrator   ~0006318

Thanks, that's the corect files. I'm not 100% sure yet but maybe you can confirm if you remember any of the following: Do you remember zooming into a larger sample before trying to zoom out of this sample? If so, was the larger sample replaced by this shorter sample, or was it in another sample slot? Maybe you can pay attention to this while using OpenMPT.

RetronicsMusic

RetronicsMusic

2025-02-24 22:39

reporter   ~0006319

I'm not too sure but I think so, that and zooming out of a larger sample. No it was not replaced here, it was in another slot. It happens so randomly at times, even when only having really short samples, I zoom out and the waveform goes completely blank.
I'll keep in mind the next time this glitch happens to pay attention to what I'm exactly doing when in the sample editor. I will update if I get any info about it.

Saga Musix

Saga Musix

2025-02-25 20:41

administrator   ~0006320

Okay, I was now able to reproduce the issue with the following steps:

  • Load a sample that is long enough to be scrollable when zoomed out
  • Zoom out and scroll to the end of the sample
  • Go to instrument tab
  • Replace the instrument associated with that sample by loading a much shorter sample
  • Now go back to the sample tab, and observe the crash

Maybe it's not the exact same steps as you did, but the root cause should be the same.

Saga Musix

Saga Musix

2025-02-25 21:37

administrator   ~0006321

Okay, this should be fixed in r22973. New test builds should be available from https://builds.openmpt.org/builds/ in a few hours, or you can change the update channel to "Next" in OpenMPT to automatically get the new build once it's ready.

Issue History

Date Modified Username Field Change
2025-02-24 22:13 RetronicsMusic New Issue
2025-02-24 22:13 RetronicsMusic File Added: image.png
2025-02-24 22:13 RetronicsMusic File Added: image-2.png
2025-02-24 22:13 RetronicsMusic File Added: image-3.png
2025-02-24 22:13 RetronicsMusic File Added: image-4.png
2025-02-24 22:13 RetronicsMusic File Added: image-5.png
2025-02-24 22:15 Saga Musix Note Added: 0006316
2025-02-24 22:24 RetronicsMusic Note Added: 0006317
2025-02-24 22:24 RetronicsMusic File Added: 2025-02-24 22.28.59.zip
2025-02-24 22:34 Saga Musix Note Added: 0006318
2025-02-24 22:39 RetronicsMusic Note Added: 0006319
2025-02-25 20:41 Saga Musix Note Added: 0006320
2025-02-25 20:41 Saga Musix Assigned To => Saga Musix
2025-02-25 20:41 Saga Musix Status new => assigned
2025-02-25 20:41 Saga Musix Target Version => OpenMPT 1.31.15.00 / libopenmpt 0.7.14 (upcoming stable)
2025-02-25 21:37 Saga Musix Status assigned => resolved
2025-02-25 21:37 Saga Musix Resolution open => fixed
2025-02-25 21:37 Saga Musix Fixed in Version => OpenMPT 1.31.15.00 / libopenmpt 0.7.14 (upcoming stable)
2025-02-25 21:37 Saga Musix Note Added: 0006321