[FS#1101] luci bad gateway

LEDE Bugs lede-bugs at lists.infradead.org
Sun Oct 22 23:30:16 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - harrylwc (harrylwc) 

Attached to Project - LEDE Project
Summary - luci bad gateway
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on 
 - Software versions of LEDE release, packages, etc.
 - Steps to reproduce
   

latest source self compiled image using gcc7.2 found cannot login luci with bad gateway error.

cat openwrt_release
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r5117-fbde9ac'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ramips/mt7620'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r5117-fbde9ac'
DISTRIB_TAINTS='no-all busybox'

cat openwrt_
openwrt_release  openwrt_version
root at CooWIFI:/etc# cat openwrt_version
r5117-fbde9ac

logread showed

Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]: /usr/bin/lua: /usr/lib/lua/luci/debug.lua:6: attempt to call a number value
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]: stack traceback:
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       /usr/lib/lua/luci/debug.lua:6: in main chunk
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       [C]: in function 'require'
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       /usr/lib/lua/luci/util.lua:8: in main chunk
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       [C]: in function 'require'
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       /usr/lib/lua/luci/config.lua:4: in main chunk
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       [C]: in function 'require'
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       /usr/lib/lua/luci/cacheloader.lua:5: in main chunk
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       [C]: in function 'require'
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       /www/cgi-bin/luci:2: in main chunk
Mon Oct 23 14:20:59 2017 daemon.err uhttpd[1062]:       [C]: ?


problem solved if I replaced the file /usr/lib/liblua.so.5.1.5 which compiled using kernel 4.9.47 and gcc7.1

problem only on ramips platform,another platform (arm) no such error.





More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1101



More information about the lede-bugs mailing list