Chat

Author Topic: corrupt save file  (Read 6040 times)

chipchamp

  • Guest
corrupt save file
« on: June 18, 2012, 02:37:10 PM »
deflemask 6, PCE system, win 7

a few seconds after I saved the file, deflemask crashed.  when I try to load the file, deflemask crashes instantly.

file here: http://dl.dropbox.com/u/40851128/mos%20def2.dmf

*edit* turning off play on start will allow you to open the file, but playing from any point will crash deflemask

*edit 2* it seems that having a pattern at or higher than "06" in channel 2, at or past frame "0C" will cause the crash.  cant recreate the problem in a new file
« Last Edit: June 18, 2012, 06:57:38 PM by chipchamp »

Offline Delek

  • Salí para ver
  • Administrator
  • Hero Member
  • Posts: 1809
    • Delek's Website
    • Email
corrupt save file
« Reply #1 on: June 18, 2012, 07:52:05 PM »
That bug was solved, thanks a lot for your report. Please re-download DefleMask and continue doing this awesome track, please post your stuff in Show Off Your Music, I love it. :D

Offline Delek

  • Salí para ver
  • Administrator
  • Hero Member
  • Posts: 1809
    • Delek's Website
    • Email
corrupt save file
« Reply #2 on: June 18, 2012, 07:57:50 PM »
Well, it is crashing again but if you play directly after the frame 05, however the frame 07 is the problem. I will fix this out and re-upload DefleMask.

EDIT: The problem is the size of the WaveMacro of Instrument 01. I think that I got what is happening.
« Last Edit: June 18, 2012, 08:25:48 PM by Delek »

chipchamp

  • Guest
corrupt save file
« Reply #3 on: June 18, 2012, 08:30:38 PM »
if you remove the pattern with the problem so the file will play, and then increase the pattern length past 128, it will also crash.  so perhaps the problem is with the file size or something.

Offline Delek

  • Salí para ver
  • Administrator
  • Hero Member
  • Posts: 1809
    • Delek's Website
    • Email
corrupt save file
« Reply #4 on: June 18, 2012, 10:10:39 PM »
I discovered the bug, it is not the "file size" but the "memory size", your track uses a lot of waveform envelopes (and they are very "events" expensive). The MAX_EVENTS value in DefleMask was very large, but finally a track reached it.

Now I'm coding a new dynamic way for the events, without a "MAX" count. Then DefleMask will be able to create many events until there's no more memory in the computer. Just the way it should be.

Offline Delek

  • Salí para ver
  • Administrator
  • Hero Member
  • Posts: 1809
    • Delek's Website
    • Email
corrupt save file
« Reply #5 on: June 18, 2012, 10:30:30 PM »
Done, please re-download DefleMask and test it out, now it should work perfectly with your track and with every track with lot of events.  ;)