You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RangeSelector: Making the maximum and minimum values the same crashes the system #867
The system crashes when the maximum and minimum values are set to the same value
In some cases, Ctrl+Alt+Del may be delayed before the security options appear
Steps to reproduce
1. Go to the RangeSelector page
2. Make the maximum and minimum values the same via slider (like max=0, min=0)
It may take 0-5 seconds for the system to crash
Forcing the minimum and maximum to identical values through the slider, as in max=0 and min=0, causes the reported crash after a variable delay. The problem is likely exposed when the control recalculates its visual elements or selection bounds based on those properties. Implementing a check to treat equal min/max as a special case, such as hiding the range indicator, would align with the expected behavior of not crashing. Could the issue be reproduced more reliably by setting the values directly in code instead of via the UI?
To prevent the floating-point exception during the layout pass, we should also verify if the RangeSelector's internal normalization logic handles a zero-width range before it reaches the UI thread. Does the current implementation enforce a minimum delta between thumbs, or does it attempt to calculate a relative percentage that results in NaN when max - min is zero?
If this is indeed a divide-by-zero error, check if the RangeSelector layout pass is also failing to handle the resulting NaN propagate to the dependency properties during the measure/arrange cycle.
Activity
Illustar0 commentedon Jul 31, 2026
Looks like a duplicate of #366?
Ix3WUhpgTPE commentedon Aug 25, 2026
Forcing the minimum and maximum to identical values through the slider, as in max=0 and min=0, causes the reported crash after a variable delay. The problem is likely exposed when the control recalculates its visual elements or selection bounds based on those properties. Implementing a check to treat equal min/max as a special case, such as hiding the range indicator, would align with the expected behavior of not crashing. Could the issue be reproduced more reliably by setting the values directly in code instead of via the UI?
brokendenim commentedon Sep 23, 2026
This is likely a division-by-zero error in the thumb position calculation where it divides by `max - min
tediousservi commentedon Sep 28, 2026
The 0–5 second delay strongly suggests the crash occurs during an asynchronous layout or render pass when recalculating track
tanaysiabobette26 commentedon Oct 11, 2026
To prevent the floating-point exception during the layout pass, we should also verify if the RangeSelector's internal normalization logic handles a zero-width range before it reaches the UI thread. Does the current implementation enforce a minimum delta between thumbs, or does it attempt to calculate a relative percentage that results in
NaNwhenmax - minis zero?rickiajordyan26 commentedon Oct 15, 2026
If this is indeed a divide-by-zero error, check if the RangeSelector layout pass is also failing to handle the resulting NaN propagate to the dependency properties during the measure/arrange cycle.