Author Topic: Xlights crashing while saving  (Read 4028 times)

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Xlights crashing while saving
« on: October 16, 2016, 12:48:29 PM »
Every time I hit save the program crashes. I have tried 2 different computers and 2 different sequences. When it crashes it saves the XML file but does not save the fseq file. Here is log info.


2016-10-16 13:42:36,067 3352 log_base [DEBUG] Loaded network config C:\Users\Christmas\Documents\Christmas 2015\xlights_networks.xml
2016-10-16 13:42:36,067 3352 log_base [DEBUG] Loading schedule C:\Users\Christmas\Documents\Christmas 2015\xlights_schedule.xml
2016-10-16 13:42:36,083 3352 log_base [DEBUG] Loaded schedule C:\Users\Christmas\Documents\Christmas 2015\xlights_schedule.xml
2016-10-16 13:42:36,255 3352 log_base [DEBUG] e1.31 Sync: false.
2016-10-16 13:42:36,255 3352 log_jobpool [INFO] Background thread pool started with 32 threads
2016-10-16 13:42:36,255 3352 log_base [DEBUG] xLightsFrame construction complete.
2016-10-16 13:42:36,301 3352 log_base [INFO] XLightsApp OnInit Done.
2016-10-16 13:42:45,131 3352 log_base [DEBUG] Viewing log file C:\Users\Christmas\AppData\Roaming/xLights_l4cpp.log.
2016-10-16 13:43:43,740 3352 log_base [INFO] Loading sequence C:\Users\Christmas\Documents\Halloween 2016\gpcb2.xml
2016-10-16 13:43:53,069 3352 log_base [INFO] Sequence timing interval 100ms.
2016-10-16 13:43:53,069 3352 log_base [INFO] Sequence loaded.
2016-10-16 13:43:53,069 1948 log_base [INFO] Start processing audio frame data.
2016-10-16 13:43:53,414 3352 log_base [DEBUG] Memory allocated for frame data. Frames=15125, Channels=88185, Memory=1333843500.
2016-10-16 13:43:53,488 3352 log_opengl [INFO] TimeDisplay - glVer:  3.3.0 - Build 9.17.10.2884  (Intel(R) HD Graphics 4000)(Intel)
2016-10-16 13:43:53,488 3352 log_opengl [INFO] Try creating 3.3 Cache
2016-10-16 13:43:53,648 3352 log_opengl [INFO] WaveForm - glVer:  3.3.0 - Build 9.17.10.2884  (Intel(R) HD Graphics 4000)(Intel)
2016-10-16 13:43:53,649 3352 log_opengl [INFO] Try creating 3.3 Cache
2016-10-16 13:43:53,982 3352 log_opengl [INFO] EffectGrid - glVer:  3.3.0 - Build 9.17.10.2884  (Intel(R) HD Graphics 4000)(Intel)
2016-10-16 13:43:53,982 3352 log_opengl [INFO] Try creating 3.3 Cache
2016-10-16 13:43:54,254 3352 log_opengl [INFO] ModelPreview - glVer:  3.3.0 - Build 9.17.10.2884  (Intel(R) HD Graphics 4000)(Intel)
2016-10-16 13:43:54,254 3352 log_opengl [INFO] Try creating 3.3 Cache
2016-10-16 13:43:59,371 1948 log_base [INFO] Audio frame data processing complete.
2016-10-16 13:44:02,429 3352 log_base [INFO] Saving XML file.
2016-10-16 13:44:02,443 3352 log_base [INFO] XML file done.
2016-10-16 13:44:02,444 3352 log_base [INFO] Rendering on save.
2016-10-16 13:44:02,719 3352 log_base [INFO]    iseq below effects done.
2016-10-16 13:44:02,723 3352 log_base [CRIT] Crash handler called.
2016-10-16 13:44:12,746 3368 log_base [INFO] ******* XLights main function executing.
2016-10-16 13:44:12,746 3368 log_base [INFO] Main: Starting wxWidgets ...
2016-10-16 13:44:12,746 3368 log_base [INFO] ******* OnInit: XLights started.
2016-10-16 13:44:12,746 3368 log_base [INFO] Version: 2016.50
2016-10-16 13:44:12,746 3368 log_base [INFO] Build Date: Sep 22, 2016
2016-10-16 13:44:12,746 3368 log_base [INFO] Machine configuration:
2016-10-16 13:44:12,746 3368 log_base [INFO]   Free Memory:-1.
2016-10-16 13:44:12,746 3368 log_base [INFO]   Current directory: C:\Program Files (x86)\xLights
2016-10-16 13:44:12,746 3368 log_base [INFO]   Machine name: CHRISTMAS-PC
2016-10-16 13:44:12,746 3368 log_base [INFO]   OS: Windows 7 (build 7601, Service Pack 1), 64-bit edition
2016-10-16 13:44:12,746 3368 log_base [INFO]   OS: Windows NT family(XP / Vista / 7 / 8 / 10). 6.1.27328512
2016-10-16 13:44:12,746 3368 log_base [INFO]       64 bit
2016-10-16 13:44:12,746 3368 log_base [INFO]       Little Endian
2016-10-16 13:44:12,933 3368 log_base [DEBUG] xLightsFrame being constructed.
2016-10-16 13:44:13,260 3368 log_base [DEBUG] xLightsFrame constructor UI code done.
2016-10-16 13:44:13,276 3368 log_base [DEBUG] xLightsFrame constructor creating sequencer.
2016-10-16 13:44:13,276 3368 log_base [DEBUG] CreateSequencer: Creating Panels.
2016-10-16 13:44:14,259 3368 log_base [DEBUG] CreateSequencer: Hooking up the panes.
2016-10-16 13:44:14,259 3368 log_base [DEBUG] CreateSequencer: Updating the layout.
2016-10-16 13:44:14,274 3368 log_base [DEBUG] CreateSequencer: Resizing everything.
2016-10-16 13:44:14,274 3368 log_base [DEBUG] CreateSequencer: Done.
2016-10-16 13:44:14,274 3368 log_base [DEBUG] xLightsFrame constructor sequencer creation done.
2016-10-16 13:44:14,290 3368 log_base [DEBUG] LayoutPanel basic setup complete
2016-10-16 13:44:14,290 3368 log_base [DEBUG] LayoutPanel ModelPreview created
2016-10-16 13:44:14,306 3368 log_base [DEBUG] LayoutPanel property grid created
2016-10-16 13:44:14,321 3368 log_base [DEBUG] LayoutPanel model buttons created
2016-10-16 13:44:14,337 3368 log_base [DEBUG] LayoutPanel model group panel created
2016-10-16 13:44:14,352 3368 log_base [DEBUG] LayoutPanel creation done.
2016-10-16 13:44:14,352 3368 log_base [DEBUG] LayoutPanel setup done.
2016-10-16 13:44:14,384 3368 log_base [DEBUG] IconBundle creation done.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Window Location Restored.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] xLightsFrame constructor loading network list.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] xLightsFrame constructor loading config.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Show directory C:\Users\Christmas\Documents\Christmas 2015.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Media directory C:\Users\Christmas\Documents\Halloween 2016.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Perspectives loaded.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Render on save: true.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Backup on save: false.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Backup on launch: true.
2016-10-16 13:44:14,399 3368 log_base [DEBUG] Alternate Backup Dir: ''.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Icon size: 16.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Autosave interval: 3.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Force OpenGL version: 99.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Grid spacing: 16.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Grid icon backgrounds: true.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Grid node values: true.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Effect Assist Mode: true.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Effects panel initialised.
2016-10-16 13:44:14,415 3368 log_base [DEBUG] Run Schedule: false.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Show directory set to : C:\Users\Christmas\Documents\Christmas 2015.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up show directory before we do anything this session in this folder : C:\Users\Christmas\Documents\Christmas 2015.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file 2015x2.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file cHRISTMAS 2015.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file gpcb.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file gpcb2.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file Halloween NBX.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file test.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file test2.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file xlights_keybindings.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file xlights_networks.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file xlights_rgbeffects.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file xlights_schedule.xml.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file gpcb2.xbkp.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file xlights_rgbeffects.xbkp.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backing up file __.xbkp.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Backup completed.
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Loaded network config C:\Users\Christmas\Documents\Christmas 2015\xlights_networks.xml
2016-10-16 13:44:14,446 3368 log_base [DEBUG] Loading schedule C:\Users\Christmas\Documents\Christmas 2015\xlights_schedule.xml
2016-10-16 13:44:14,462 3368 log_base [DEBUG] Loaded schedule C:\Users\Christmas\Documents\Christmas 2015\xlights_schedule.xml
2016-10-16 13:44:14,633 3368 log_base [DEBUG] e1.31 Sync: false.
2016-10-16 13:44:14,633 3368 log_jobpool [INFO] Background thread pool started with 32 threads
2016-10-16 13:44:14,633 3368 log_base [DEBUG] xLightsFrame construction complete.
2016-10-16 13:44:14,680 3368 log_base [INFO] XLightsApp OnInit Done.
2016-10-16 13:44:20,764 3368 log_base [DEBUG] Viewing log file C:\Users\Christmas\AppData\Roaming/xLights_l4cpp.log.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Xlights crashing while saving
« Reply #1 on: October 16, 2016, 02:17:28 PM »
I don't think a developer can fix anything based on that log.  You'll need to post the files necessary to recreate your setup so they can try to cause the crash.

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Xlights crashing while saving
« Reply #2 on: October 16, 2016, 09:18:58 PM »
Not sure what files are needed but I posted the ones for this years show. I didn't have any issues last year so I loaded last years show and then tried to save it. Same thing, xlights crashed. I tried my main computer, installing an older version of xlights. It doesn't seem to matter what I do, it crashes.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Xlights crashing while saving
« Reply #3 on: October 16, 2016, 10:39:36 PM »
You know you just had this other post 4 days ago and were told you are crashing from running out of memory.  Please don't tell me this new post is the same issue.
http://nutcracker123.com/forum/index.php?topic=3544.msg22117#msg22117

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Xlights crashing while saving
« Reply #4 on: October 17, 2016, 01:06:07 AM »
Nope, this is a different issue. I started having this issue a little over a month ago when I started sequencing this years christmas show. I noticed each time I clicked save it would crash but it would save what I had done so I didn't think anything of it until I noticed it wasn't creating the fseq file, just the xml. I sequenced last years show without a problem, no crashes, so I pulled it up to see what would happen. It crashed when I hit save on that one. The only thing that is different from last year is just a newer version of xlights. I shouldn't have any memory issue with just the christmas show as it is only 6 minutes and no video at this point, just basic effects.

The other issue I posted about was because I was trying to make a sequence with a movie and the file was too big. I got that part figured out.

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Xlights crashing while saving
« Reply #5 on: October 17, 2016, 01:15:58 AM »
I have attached a quick video of what is happening. I thought it was maybe a windows issue on my lightshow computer which is why I tried another computer. Same problem.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Xlights crashing while saving
« Reply #6 on: October 17, 2016, 07:24:24 AM »
Ok I can't look until tonight but providing the movie is good, you've given us the sequence, now we need all the files to create your setup:  xlights_rgbeffects.xml, xlights_networks.xml.  You can always do a Tools -> Package Log Files and it creates a zip file of everything we need except maybe the sequences.

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Xlights crashing while saving
« Reply #7 on: October 17, 2016, 04:08:25 PM »
Hopefully this is everything you need. Thanks for looking into it.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Xlights crashing while saving
« Reply #8 on: October 17, 2016, 05:11:39 PM »
No that didn't contain any of the files I listed.  You need to do what I mentioned in my last comment.

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Xlights crashing while saving
« Reply #9 on: October 17, 2016, 05:28:34 PM »
I went to tools and package log files and that is what it gave me. Here are the 2 files you asked for.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Xlights crashing while saving
« Reply #10 on: October 17, 2016, 06:19:52 PM »
You posted a debug crash report so are you saying the Package Log Files option is crashing the program?

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Xlights crashing while saving
« Reply #11 on: October 17, 2016, 07:21:44 PM »
Possibly but I am never seeing a debug report coming up. I just get what I posted in the video every time.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Xlights crashing while saving
« Reply #12 on: October 17, 2016, 09:23:07 PM »
You're crashing because you created a "Tree" model group that contains no models.  We'll have to add protection against trying to render an empty model group but you can get past it by deleting that group or putting some models in it.

Offline lostsol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Xlights crashing while saving
« Reply #13 on: October 17, 2016, 10:19:53 PM »
Awesome!. I will fix it tonight. Thank you so much for looking into this for me!