-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
LUCI: locks up (with some very specific invalid input) #7265
Comments
Seems you're overriding some device settings which causes OpenWrt to loose network access to your PC. This is nothing we can fix on the LuCI side. |
I just went through the steps again but made a slight change; I powered off the router before the 90 second countdown finished. When I powered it back up and got the Dismiss/Revert/Apply dialog I again selected 'Dismiss', but this time the changes are saved! I have eth0.13, eth0.14, and eth0.15 all showing in the 'Devices' tab - I think this definitely shows that the lockup isn't caused by incorrectly overwriting device settings. I also noticed something else that I think is significant:
I'm not quite sure what that means, but it does suggest that the problem is caused by step 10. Certainly step 10 is causing A problem, and Occam's Razor tells us that we should start by assuming that all of these symptoms are being caused by one bug, not by two. |
Steps to reproduce:
We are going to create three devices; we will make a mistake (forget to press the 'Enter' key) in creating the second one and cause it to not be created - so we will create it again, but not make the mistake. It appears that this step is really necessary - obviously it took me quite a long time to narrow down the steps that cause the lockup, so I haven't done it enough times to be absolutely certain that the mistake is necessary; it is possible that this is an intermittent failure - caused by something that I am doing, but perhaps not that one specific thing. However, it does appear that creating all three devices is necessary to reproduce the bug - I tried several times creating only one or two, and wasn't able to reproduce the bug that way.
Start with a completely clean install. I held down the reset button for twenty seconds after powering on the router.
set a password (probably not necessary, but I am retracing my steps exactly).
Go to Network -> Interfaces -> Devices
Click 'Add device configuration'
Click 'Existing device' and type 'eth0.13' in the 'custom' field
Hit the ENTER key (this is important)
Click 'Save'
Click 'Add device configuration'
Click 'Existing device' and type 'eth0.14' in the 'custom' field
DO NOT hit the ENTER key (I am pretty sure this is important)
Click 'Save'
eth0.14 doesn't appear in the list, so click 'Add device configuration' again
Click 'Existing device' and type 'eth0.14' in the 'custom' field
Hit the ENTER key (this is important)
Click 'Save'
Click 'Add device configuration'
Click 'Existing device' and type 'eth0.15' in the 'custom' field
Hit the ENTER key (this is important)
Click 'Save'
Click 'Save & Apply'
Actual behavior:
LUCI will show a message saying that they changes are being saved; this will count 90 seconds and then announce that the changes weren't confirmed, so they are being reverted. This message never goes away; the router is locked up. Power cycling it will recover it, at which point it shows a message asking me to revert the changes, confirm the changes, or dismiss the message. Clicking 'Dismiss' returns me to the 'Devices' tab; none of my changes have been saved.
Expected behavior:
Either an error message, or (better) prevent the user from entering something that locks up LUCI.
Additional Information:
OpenWrt version information from system
/etc/openwrt_release
The text was updated successfully, but these errors were encountered: