Closed pca006132 closed 3 years ago
Thanks for your excellent report. It appears as if there is a race condition concerning shutdown. This problem happens infrequently, thus it may take a while to debug.
Still occur in 17d957accfb1302cd989b4fb5645c1fd338e2736 with a very similar stack trace. It happens frequently when the connection is poor. I triggered it during a class for three times :(
I added a check for null pointers in the place I think this happens. Do a 'git pull', 'make', and 'sudo make install' to try the new code. Report any further occurrences.
I added a check for null pointers in the place I think this happens. Do a 'git pull', 'make', and 'sudo make install' to try the new code. Report any further occurrences.
Sorry but it seems that there is no new commit? Sorry I see that is in the v5 branch. I would try that thanks.
Yes, I missed a push in branch min. It is there now.
Did this patch help? The reviews are are now arriving, and I want to send any updates to the developer.
Did this patch help? The reviews are are now arriving, and I want to send any updates to the developer.
Sorry for the late reply, I did not experience any problem recently, but I'm not sure if this is due to the patch or improved network environment at the university.
Did this patch help? The reviews are are now arriving, and I want to send any updates to the developer.
I think this patch fixes the problem. Previously when the WiFi keep disconnecting, it would trigger the null pointer dereference, but this does not happen anymore with this patch. I think maybe we can close this issue for now?
OK. More importantly, I pushed the fix on to the developer at Realtek. When the driver reaches the mainline kernel, this patch will be part of it. Thanks for reporting and testing.
I was using KDE Plasma with networkmanager. The driver crashed after I clicked disconnect for a network. I was unable to connect to WiFi afterward. I was able to reproduce the issue but only under a specific network environment, after failure connecting to a school WiFi network (eduroam, which uses WPA2 enterprise with PEAP (EAP-MSCHAPv2)).
The kernel version is 5.12.13-xanmod1-cacule. rtw89 version is 501166f.
dmesg output: