ModPlug Central

OpenMPT Development (Archive) => Bug Reports => Bug Report Archive => Topic started by: Really Weird Person on October 07, 2009, 20:18:57

Title: 3.02 Effect Deletion When Duplicating Patterns
Post by: Really Weird Person on October 07, 2009, 20:18:57
Full Version:
OpenMPT v1.17.03.02

Has the bug occured in previous versions? If yes, please specify version(s): (This option is optional, and doesn't need research. But in case you know...)


Description of the bug:
It would appear that if a string of patterns is duplicated, any effects that were in any of those patterns are lost. Note:  I have only used the pattern break so far, and only in the first channel, but I would imagine that it probably happens with any of them and in any channel.

How often does it happen?:
Always

How to reproduce (step by step description):
Step 1:  Start a song (The one I am working with has 94 patterns.)
Step 2:  Place an effect in any of them.
Step 3:  Begin duplication
Title: 3.02 Effect Deletion When Duplicating Patterns
Post by: Saga Musix on October 07, 2009, 20:24:40
I cannot reproduce such a thing. Afterall, it would be highly unrealistic that only effects would get lost when duplicating a pattern / several patterns, since duplicating by copying the complete memory of the old pattern to a new pattern.
Title: 3.02 Effect Deletion When Duplicating Patterns
Post by: LPChip on October 07, 2009, 20:28:31
Did you try to reboot windows?

Could be a one-time thing because windows is screwed up or something.

Tell me if it happens if you have rebooted windows and try it again.
Title: 3.02 Effect Deletion When Duplicating Patterns
Post by: Saga Musix on October 07, 2009, 20:33:23
Really, if patterns were not copied 1:1, then the RAM must be kinda broken, which would certainly not only affect modplug's pattern copy routine (which is actually just the bog-standard memcpy).
Title: (S=O) 3.02 Effect Deletion When Duplicating Patterns
Post by: Really Weird Person on October 08, 2009, 02:10:25
I tried it again, and it did not seem to happen. It was in a different channel though. Perhaps what happened is that I somehow inadvertantly deleted them (by deleting the channels perhaps) and therefore, the data was lost.
Title: 3.02 Effect Deletion When Duplicating Patterns
Post by: LPChip on October 08, 2009, 10:26:49
I'm closing this bug.

Feel free to post more evidence of this bug if you find any.

If there is a bug, we of course want to fix it. :)