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

e9hack e9hack at gmail.com
Mon Jan 6 13:13:41 EST 2020


Am 06.01.2020 um 18:23 schrieb Hauke Mehrtens:
> 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.
> 

A clean build did fix the issue.

Regards,
Hartmut

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list