Sean Meighan

Software => Bugs in xLights/Nutcracker => Bugs (Please dont post here, soon to be deprecated) => Topic started by: Trickyd on May 15, 2015, 09:12:01 AM

Title: wxWidgets debug alert
Post by: Trickyd on May 15, 2015, 09:12:01 AM
playing with my very simple preview I got this message, Mac OS X.X.3, Imac 27    I3

wxWidgets debug alert

What did I do wrong?


Dick
The Netherlands
Title: Re: wxWidgets debug alert
Post by: Gilrock on May 15, 2015, 10:01:14 AM
Unfortunately that call stack is inside the wxWidgets code and not our code so the only thing that helps is the part about not being able to do the SetString in a sorted listbox.  I saw that error back when some of our dialog boxes were switched have the Sorted flag set but I thought I had fixed the couple ways it could happen.

What version of xLights were you running?
Can you tell me which button you clicked on in that dialog that caused the message?
Title: Re: wxWidgets debug alert
Post by: Trickyd on May 15, 2015, 10:41:49 AM
good afternoon, Gilrock

I was modifying  models my simple display in the model list

just downloaded  4.0.31

the display contains only 16 strings of 150 channels, just to light up the inside of a round tower of an old fortres . while same setup could be used for a tree also

no more simple than that. should not be rocket science this display.

Errors on a mac are not seen much in my long experience, so this one took me for a surprise.

Thanks for the super fast response.

Dick

Title: Re: wxWidgets debug alert
Post by: Gilrock on May 15, 2015, 11:21:25 AM
Cause it to happen again and tell me what button on the Model Group dialog you hit to cause it.  Shouldn't be rocket science to figure out which button you pressed. :)
Title: Re: wxWidgets debug alert
Post by: kevinp on May 15, 2015, 07:22:34 PM
I can recreate this by doing the following...

Preview Tab - click on Models
Highlight a model in the Model List window
Click Rename
Enter a new name in the Rename Model window
Click OK

This will cause the wxWidgets Debug Alert to pop up.  I'm running OS X 10.10.3 and xlights 4.0.31

Hope this helps.
Title: Re: wxWidgets debug alert
Post by: Phrog30 on May 15, 2015, 08:26:41 PM
Last time I tried renaming models I had a crash. I noticed it wouldn't push the change to the sequencer. I never tried again.
Title: Re: wxWidgets debug alert
Post by: Gilrock on May 15, 2015, 08:38:46 PM
Yeah that does look like a problem.  Not sure if its listed in the issues yet.  But what confused me is your original screenshot had the Model Groups dialog in the background so I thought that dialog caused your problem.  The one you just described seems different.
Title: Re: wxWidgets debug alert
Post by: kevinp on May 15, 2015, 09:20:34 PM
I see what you mean by confusion based on what the original poster uploaded for a screen shot.  I can recreate this one too, same error.

Preview tab, click Select Model Groups
Select a group in the window
Make a change of some sort and click Update Group

wxWidgets Debug Alert pops up.

Looks like there are multiple ways of getting this to occur.
Title: Re: wxWidgets debug alert
Post by: Gilrock on May 15, 2015, 10:06:47 PM
I couldn't get the Model Group dialog to crash.
Title: Re: wxWidgets debug alert
Post by: kevinp on May 16, 2015, 06:08:56 AM
Could this error be isolated to OS X then, assuming you're running Windows?
Title: Re: wxWidgets debug alert
Post by: Gilrock on May 16, 2015, 08:03:51 AM
It's possible but I think 2 different errors are being described here.  I know I've seen Dan do some changes to fix Mac specific problems where he has to delete an item and add a new one to change a name.  Not sure why renaming a model became a problem.  That one I don't believe has anything to do with the sorted list error shown in the first post. I think that one may have cropped up when the ability to sequence model groups was added.