Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost piano segment (plays after being deleted) #2306

Open
MightyPork opened this issue Sep 1, 2015 · 9 comments
Open

Ghost piano segment (plays after being deleted) #2306

MightyPork opened this issue Sep 1, 2015 · 9 comments
Labels
Milestone

Comments

@MightyPork
Copy link

This happens sometimes. Not 100% but quite often.

You delete a segment, but it stays there (invisible?) & continues to play. I tried saving and re-opening the project but the bug persists.

Project is attached: https://dl.dropboxusercontent.com/u/64454818/TMP/xx.mmpz

Before saving the project - segmet was deleted with middle button, continues to play
screenshot_2015-09-01_08-56-51

After re-opening project, segment is back there
screenshot_2015-09-01_08-57-21

After deleting segment again, still plays
screenshot_2015-09-01_08-57-35

@musikBear
Copy link

duplicate of #2034
but the testfile is great
but @MightyPork
what

  • OS (+service-pack-ver)
  • lmms vers

@MightyPork
Copy link
Author

Here's the versions

~ $ uname -a
Linux x201 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux
~ $ lmms --version
LMMS 1.1.3
(Linux x86_64, Qt 4.8.6, GCC 4.9.2 20150304 (prerelease))

@MightyPork
Copy link
Author

But now I opened the project to see if it persists, and the bug is gone, so it is likely not tied to the file.

Interesting that earlier it happened with the same file twice in a row. Might be I twice invoked the same race condition or whatever it is, can't think of other cause. The system hasn't been restarted.

I'd post a log, but I can't find it anywhere, does LMMS even have one?
If you tell me how, I can capture some debug info when it happens again.

@tresf
Copy link
Member

tresf commented Sep 1, 2015

I'd post a log, but I can't find it anywhere, does LMMS even have one?

Not to that level. A better debug would probably be a dump of your Journal Entries (aka "undo"), which AFAIK we don't do currently. @curlymorphic has put some time into improving our journal entries, perhaps we can shim some undo memory or storage into the project files in a future version.

@tresf
Copy link
Member

tresf commented Sep 1, 2015

@MightyPork the old bug report was closed due to lack of steps to reproduce. Can you confirm that this behavior is random? If not, the steps to reproduce would be adequate for a developer to investigate.

@tresf tresf added the bug label Sep 1, 2015
@tresf tresf added this to the 1.2.0 milestone Sep 1, 2015
@MightyPork
Copy link
Author

@tresf Can't provide "steps to reproduce", just roughly "steps how it happened".

  1. Before it happened the first time, I spent some time experimenting in Piano Roll & tweaking the synth settings, that's basically the entire session.
  2. Then I played it once, deleted that one segment with middle click, and played it again. They both still played.
  3. Then I restarted LMMS, opened the project from "recents" menu, and it happened exactly the same way again - the deleted segment was now visible. Deleting it again caused a "ghost".

I can't reproduce it now (few hours later).

I didn't save the project after it happened second time, so unless auto-save did, it should be untouched.

If you open it, you'll see the "deleted" segment is visible again (see screenshots in first post). I can reproduce that much, but not repeat the ghost bug.

@IvanMaldonado
Copy link
Contributor

This is the exact same thing that happened to me when I said I couldn't save the file.

The solution was restarting lmms

@Umcaruje
Copy link
Member

I have to say that I had this problem before, but when using the master branch I never run into it. Because this problem can't get exactly reproduced, I'm going to bump this to the 1.3 milestone.

@Umcaruje Umcaruje modified the milestones: 1.3.0, 1.2.0 Jul 10, 2016
@Hectate
Copy link

Hectate commented Jul 31, 2016

whoops made a post on a closed report. Adding here also.

Just as a note; I encountered this same issue (Windows 8.1, LMMS 1.1.3). Deleting the segments and reopening the project caused them to re-appear. However, when I shut down LMMS entirely and re-opened it, I was able to then "permanently" delete the segments and saving/reopening maintained that modified state of the project finally (as well as playing the project).
I noted also that using the "Clear Track" option seemed to make those changes permanent at the cost of losing everything else. I was able to easily re-set Beat/Bassline editor segments since it's just a click, but when the bug happened to a Piano Roll track this option was too destructive.
This all makes me wonder if there's some kind of time/usage-based element to this bug. Too many changes in memory for the undo, or a memory leak that causes changes to not be entirely made even though the UI reflects them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants