Author Topic: Repeated crash of sequence file in new v.51 (fix / problem described)  (Read 1685 times)

Offline JonB256

  • Hero Member
  • *****
  • Posts: 832
    • View Profile
    • My Christmas Website
Will still open normally in v.50 but consistently crashes in v.51

« Last Edit: November 08, 2016, 08:41:38 AM by JonB256 »

Offline JonB256

  • Hero Member
  • *****
  • Posts: 832
    • View Profile
    • My Christmas Website
Re: Repeated crash of sequence file in new v.51
« Reply #1 on: November 08, 2016, 08:41:02 AM »
In the Facebook forum, Dan Kulp responded that he found my TreeStar model had "extra" node levels that were crashing v51.  The TreeStar only has 4 nodes (4 strings of white, LED Rope Light), but inside my problem sequence, it was showing 18 nodes when you doubleclick to expand the node listing.

Since I could open the file in v50, I went back to it and looked. There were many seemingly random but not-editable effects on Nodes 5 thru 18, but when I scrolled across the timeline, there were also some editable (delete-able) effects in those Nodes.  Once I deleted all of those mystery effects, saved, exited and reopened, the Nodes 5 thru 18 were gone.

Then I reinstalled v51 and the sequence opens just fine.

Still waiting to know just how Dan found that problem so accurately. He also said that it should NOT have crashed xlights. (but it sure did).

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Repeated crash of sequence file in new v.51 (fix / problem described)
« Reply #2 on: November 08, 2016, 08:55:03 AM »

Still waiting to know just how Dan found that problem so accurately. He also said that it should NOT have crashed xlights. (but it sure did).

I ran your sequence in the debugger and when it crashed determined which model and node it was asking for.   I then looked at the setup for that model and saw it should exist.   Basically, if you don't have xLIghts setup to run in a debugger, I'm not sure it would have been easy to find.

52 will behave like 50 and "ignore" the nodes that don't exist in the model to avoid the crash.
Daniel Kulp
Framingham, MA

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Repeated crash of sequence file in new v.51
« Reply #3 on: November 08, 2016, 09:16:07 AM »
Still waiting to know just how Dan found that problem so accurately. He also said that it should NOT have crashed xlights. (but it sure did).

Don't ask a magician to reveal his secrets. :)

Also when he said it should NOT have crashed he means xLights should never crash.  Even if the user is doing something wrong or feeding the program garbage we should protect against a crash.  Of course we know its crashing.

Offline JonB256

  • Hero Member
  • *****
  • Posts: 832
    • View Profile
    • My Christmas Website
Re: Repeated crash of sequence file in new v.51 (fix / problem described)
« Reply #4 on: November 08, 2016, 09:47:53 AM »
The only debugger I have is for mosquitos. It wouldn't have helped. Thanks.