[OpenWrt-Devel] uhttpd/luci/rpcd is broken?

Hauke Mehrtens hauke at hauke-m.de
Mon Jan 6 12:23:13 EST 2020

On 1/6/20 5:39 PM, e9hack wrote:
> Am 06.01.2020 um 17:20 schrieb Petr Štetiar:
>> e9hack <e9hack at gmail.com> [2020-01-06 16:59:47]:
>>> it looks like that uhttpd/luci/rpcd is broken again. The call 'ubus call
>>> luci-rpc getWirelessDevices' does fail 'Command failed: Request timed out'.
>> can you provide little bit more details?  I don't see any problems with
>> `OpenWrt 19.07-SNAPSHOT, r10857-abb0665bec` running on TP-Link Archer C7 v5.
> Router is a TP-Link Archer C7 v2. I'm using the last main revision: OpenWrt SNAPSHOT r11924-99dd2709b8. After login in uhttpd/luci, the first page times out and forces new login. From my last experience with a uhttp/luci crash, I checked all used ubus calls in a shell. 'ubus call luci-rpc getWirelessDevices' does time out and generates a page fault: 
> Mon Jan  6 17:21:32 2020 kern.info kernel: [ 2361.197629] do_page_fault(): sending SIGSEGV to rpcd for invalid write access to 00000000
> Mon Jan  6 17:21:32 2020 kern.info kernel: [ 2361.206094] epc = 77f25588 in libc.so[77f08000+9b000]
> Mon Jan  6 17:21:32 2020 kern.info kernel: [ 2361.211275] ra  = 77df59d5 in luci.so[77df4000+15000]
> Regards,
> Hartmut

I saw some strange behavior of "ubus call luci-rpc getWirelessDevices"
in master, it did not crash but showed wrong values or mixed some up
like the BSSID contains the SSID. I did a clean build and now it is
working fine for me. I haven't seen this in 19.07.

I assume this is related to the changes:


I saw this:
                                "iwinfo": {
                                        "noise": 0,
                                        "channel": 36,
                                        "country": "40:31:3C:02:8F:BA",
                                        "txpower": 20,
                                        "txpower_offset": 0,
                                        "frequency": 5180,
                                        "frequency_offset": 0,
                                        "hwmodes": [


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200106/322d2cc4/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list