-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2024.12 and Nightly crashing on layout center group select/right click #4633
Comments
It the new AI. We detected you were having a seizure so we shutdown the
program. I mean seriously if you gotta work that hard to crash it I
kinda don't care to fix it.
|
And what someone should really look at is why is the program doing a
RecalcStartChannels that many times in 5 seconds and all the [ERROR|
Really strange.... comments in the log.
|
And that might be the trigger .. stuff is going on in parallel that needs some sort of block to stop it from happening. |
I know right.. we really need to dig into the recalc. Shouldn't be doing it so much, but I guess it was always just rest to add doasap work and let it ride. |
Yeah I can't search the code right now and I'm responding by email cause
the darn two-factor authentication prevents me from getting logged in
without a pain in the butt effort. I can't have my cellphone with me at
work so doing the 2FA sucks.
I'm really curious why RecalcStartChannels is even running if he was
just right-clicking to set a center-point. Even if it was just
selecting a model that shouldn't be triggering that.
|
|
Doing some debugging .. this might not help anyone :-) |
This guy ... scary..
|
Pretty sure there was something that was not updating on the screen
without that line. I don't add them unless I'm fixing an issue. I bet
there would be no issue if we forced that to finish before letting to
try to set the center again... It's the back to back to back operation
causing this.
|
Is it broken in .11 and what happens if you revert Daryl's center point changes? |
That code is indeed required .. or it doesnt update the x & y positions.
|
Was this code added because you couldn't click on a group with only submodels in it and set center point? That was fixed a month or so back. If you clicked on a group of models or a group that had both submodels and models in it, you could right click and set center point. I don't know all the code stuff (yet, we will see if I get bored and deep dive), but there has to be something along those lines. |
No, this was here years ago. The center point just focused and highlighted this crash during testing and revealed the bug. ie Groups of submodels. Seems it was always there it perhaps was just masked by things like the above. Not 100% certain though .. just a novice's view. |
Yeah from my brief look there was a lot of code added/changed for the
submodel stuff around 2020 that looks questionable. That code wasn't
done by one of the core developers and I see things that got commented
out saying they weren't needed and I'm like yeah he had no idea why we
even set things like that. There's a lot of times when writing code you
will add a simple line like setting the "group highlighted" flag that
causes code in a completing different file to work different and then
someone comes along and doesn't understand why its there and deletes it.
|
Wish I had more time to dig into recent issues but its getting so close
to Christmas Expo that I've really got to use my spare time to make sure
I'm ready for the classes I need to teach.
|
Shown last night to Scott ..
xLightsProblemCrash.zip
Open layout, Click on Wreath Rings .. on the layout screen right click and "Set Center Offset Here" .. do it like 3 times in various places.
Now click on subs and then right click and "Set Center Offset Here". Repeat once more and crash.
The text was updated successfully, but these errors were encountered: