Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: rposgood on March 03, 2019, 09:13:42 PM

Title: Crash 2019.15 random
Post by: rposgood on March 03, 2019, 09:13:42 PM
I have had the program crash 4-5 times today. There does not seem to be a pattern or repeatable set of steps or actions to cause the crash. I have package the log files for review. Please advise if I can add any further info.
Title: Re: Crash 2019.15 random
Post by: rposgood on March 03, 2019, 09:39:42 PM
Additional detail. When I change, delete or add a prop, in this case a single line, I save the layout and then click on Display Elements and it then crashes. These steps have been repeated twice since my first post.
Title: Re: Crash 2019.15 random
Post by: Gilrock on March 04, 2019, 09:15:55 AM
Just looking at the log its crashing because of the same reason every time.  Something to do with a string.  That's the way these things go once you have something bad in a setup or sequence its going to keep crashing.  So then people start saying xLights crashes all the time.  I almost never see any crashes.  Do you have any models or anything that might have a weird character in the name?  I'm not at home so I can't try out your setup.
Title: Re: Crash 2019.15 random
Post by: ghormann on March 04, 2019, 06:37:27 PM
I couldn't reproduce your problem using HEAD branch of xLights.  Using the files form xLightsProblem-1.  I tested the following.

1) Opened xLights
2) Opened your seuqnce
3) Added a line element
4) Saved it
5) In the sequence did a right click and "Edit Display Elements"
6) Removed the line model
7) Saved
8) In the sequence did a right click and "Edit Display Elements"

Greg.
Title: Re: Crash 2019.15 random
Post by: rposgood on March 04, 2019, 08:21:46 PM
I will look at everything I have setup. Thanks for the replies
Title: Re: Crash 2019.15 random
Post by: rposgood on March 05, 2019, 10:49:48 AM
Just looking at the log its crashing because of the same reason every time.  Something to do with a string.  That's the way these things go once you have something bad in a setup or sequence its going to keep crashing.  So then people start saying xLights crashes all the time.  I almost never see any crashes.  Do you have any models or anything that might have a weird character in the name?  I'm not at home so I can't try out your setup.

Thanks for the reply Gil. Where in the files I sent you would I see the error listed. I am trying to improve my knowledge so as to understand faults (mine or otherwise) and not have to always toss them on a forum and make someone else find them. I do not have any model with any weird characters that I know of. I don't think an underscore would be weird would it? I will print out my models to confirm.
Title: Re: Crash 2019.15 random
Post by: Gilrock on March 05, 2019, 11:19:11 AM
I searched for "crash" in the log file.  I think there were 3 instances of it happening in "wxString::wxString" which is the wxWidgets string constructor.  Not sure why it would crash there unless it's trying to construct an illegal string.  Sorry I got busy and forgot to try it last night.