Closed jammmet closed 5 years ago
Seems Lua is segfaulting. Not sure if this is related to LuCI at all. You need to obtain a backtrace using gdb.
On the router:
ulimit -c unlimited
/www/cgi-bin/luci
Scp the resulting coredump to your development system, run ./scripts/remote-gdb /path/to/corefile ./build_dir/target-*/lua-5.1.5/src/lua5.1
.
In the gdb shell type bt full
and provide the output here.
Thanks @jow- output:
(gdb) bt full
#0 0x77ec1003 in luaH_getstr () from /home/builder/oneboxx-newifi/scripts/../staging_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/liblua.so.5.1.5
No symbol table info available.
#1 0x77ec109f in luaH_get () from /home/builder/oneboxx-newifi/scripts/../staging_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/liblua.so.5.1.5
No symbol table info available.
Backtrace stopped: frame did not save the PC
That looks like a crash somewhere deep down in Lua itself. Can you reproduce this on a normal OPenWrt snapshot build?
I can't unfortunately - regular build works fine Are there any missing packages?
base-files - 203-r10494-e05310b
block-mount - 2019-03-28-ff1ded63-5
busybox - 1.31.0-1
ca-bundle - 20190110-1
chat - 2.4.7.git-2019-05-25-2
comgt - 0.32-32
curl - 7.65.1-1
dnsmasq - 2.80-13
dosfstools - 4.1-3
e2fsprogs - 1.44.5-1
firewall - 2019-01-02-70f8785b-2
fstools - 2019-03-28-ff1ded63-5
fwtool - 1
getrandom - 2019-06-16-4df34a4d-2
hostapd-common - 2018-12-02-c2c6c01b-6
ip-tiny - 5.1.0-1
ip6tables - 1.8.3-1
iptables - 1.8.3-1
iptables-mod-conntrack-extra - 1.8.3-1
iptables-mod-ipopt - 1.8.3-1
iptables-mod-ipsec - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-06-12-1372f47e-1
jshn - 2019-06-16-ecf56174-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.132-1-149a94cb04aa536418c6152a034ddf8c
kmod-cfg80211 - 4.14.132+4.19.32-1-2
kmod-crypto-acompress - 4.14.132-1
kmod-crypto-aead - 4.14.132-1
kmod-crypto-authenc - 4.14.132-1
kmod-crypto-cbc - 4.14.132-1
kmod-crypto-cmac - 4.14.132-1
kmod-crypto-crc32 - 4.14.132-1
kmod-crypto-crc32c - 4.14.132-1
kmod-crypto-ctr - 4.14.132-1
kmod-crypto-deflate - 4.14.132-1
kmod-crypto-des - 4.14.132-1
kmod-crypto-echainiv - 4.14.132-1
kmod-crypto-gcm - 4.14.132-1
kmod-crypto-gf128 - 4.14.132-1
kmod-crypto-ghash - 4.14.132-1
kmod-crypto-hash - 4.14.132-1
kmod-crypto-hmac - 4.14.132-1
kmod-crypto-iv - 4.14.132-1
kmod-crypto-manager - 4.14.132-1
kmod-crypto-md5 - 4.14.132-1
kmod-crypto-null - 4.14.132-1
kmod-crypto-pcompress - 4.14.132-1
kmod-crypto-rng - 4.14.132-1
kmod-crypto-seqiv - 4.14.132-1
kmod-crypto-sha1 - 4.14.132-1
kmod-crypto-sha256 - 4.14.132-1
kmod-crypto-wq - 4.14.132-1
kmod-eeprom-93cx6 - 4.14.132-1
kmod-fs-exfat - 4.14.132+2018-11-06-2ac42ac4-3
kmod-fs-ext4 - 4.14.132-1
kmod-fs-f2fs - 4.14.132-1
kmod-fs-vfat - 4.14.132-1
kmod-gpio-button-hotplug - 4.14.132-2
kmod-ifb - 4.14.132-1
kmod-ip6tables - 4.14.132-1
kmod-ipsec - 4.14.132-1
kmod-ipsec4 - 4.14.132-1
kmod-ipsec6 - 4.14.132-1
kmod-ipt-conntrack - 4.14.132-1
kmod-ipt-conntrack-extra - 4.14.132-1
kmod-ipt-core - 4.14.132-1
kmod-ipt-ipopt - 4.14.132-1
kmod-ipt-ipsec - 4.14.132-1
kmod-ipt-nat - 4.14.132-1
kmod-ipt-offload - 4.14.132-1
kmod-ipt-raw - 4.14.132-1
kmod-iptunnel4 - 4.14.132-1
kmod-iptunnel6 - 4.14.132-1
kmod-leds-gpio - 4.14.132-1
kmod-lib-crc-ccitt - 4.14.132-1
kmod-lib-crc-itu-t - 4.14.132-1
kmod-lib-crc16 - 4.14.132-1
kmod-lib-zlib-deflate - 4.14.132-1
kmod-lib-zlib-inflate - 4.14.132-1
kmod-mac80211 - 4.14.132+4.19.32-1-2
kmod-mmc - 4.14.132-1
kmod-mt76 - 4.14.132+2019-07-04-b973bef0-1
kmod-mt76-core - 4.14.132+2019-07-04-b973bef0-1
kmod-mt7603 - 4.14.132+2019-07-04-b973bef0-1
kmod-mt76x02-common - 4.14.132+2019-07-04-b973bef0-1
kmod-mt76x2 - 4.14.132+2019-07-04-b973bef0-1
kmod-mt76x2-common - 4.14.132+2019-07-04-b973bef0-1
kmod-nf-conntrack - 4.14.132-1
kmod-nf-conntrack-netlink - 4.14.132-1
kmod-nf-conntrack6 - 4.14.132-1
kmod-nf-flow - 4.14.132-1
kmod-nf-ipt - 4.14.132-1
kmod-nf-ipt6 - 4.14.132-1
kmod-nf-nat - 4.14.132-1
kmod-nf-reject - 4.14.132-1
kmod-nf-reject6 - 4.14.132-1
kmod-nfnetlink - 4.14.132-1
kmod-nls-base - 4.14.132-1
kmod-nls-cp1250 - 4.14.132-1
kmod-nls-cp1251 - 4.14.132-1
kmod-nls-cp437 - 4.14.132-1
kmod-nls-cp775 - 4.14.132-1
kmod-nls-cp850 - 4.14.132-1
kmod-nls-cp852 - 4.14.132-1
kmod-nls-cp862 - 4.14.132-1
kmod-nls-cp864 - 4.14.132-1
kmod-nls-cp866 - 4.14.132-1
kmod-nls-cp932 - 4.14.132-1
kmod-nls-cp936 - 4.14.132-1
kmod-nls-cp950 - 4.14.132-1
kmod-nls-iso8859-1 - 4.14.132-1
kmod-nls-iso8859-13 - 4.14.132-1
kmod-nls-iso8859-15 - 4.14.132-1
kmod-nls-iso8859-2 - 4.14.132-1
kmod-nls-iso8859-6 - 4.14.132-1
kmod-nls-iso8859-8 - 4.14.132-1
kmod-nls-koi8r - 4.14.132-1
kmod-nls-utf8 - 4.14.132-1
kmod-ppp - 4.14.132-1
kmod-pppoe - 4.14.132-1
kmod-pppox - 4.14.132-1
kmod-rt2800-lib - 4.14.132+4.19.32-1-2
kmod-rt2800-mmio - 4.14.132+4.19.32-1-2
kmod-rt2800-soc - 4.14.132+4.19.32-1-2
kmod-rt2x00-lib - 4.14.132+4.19.32-1-2
kmod-rt2x00-mmio - 4.14.132+4.19.32-1-2
kmod-sched-core - 4.14.132-1
kmod-sdhci-mt7620 - 4.14.132-1
kmod-slhc - 4.14.132-1
kmod-usb-core - 4.14.132-1
kmod-usb-ehci - 4.14.132-1
kmod-usb-ohci - 4.14.132-1
kmod-usb-serial - 4.14.132-1
kmod-usb-serial-option - 4.14.132-1
kmod-usb-serial-wwan - 4.14.132-1
kmod-usb2 - 4.14.132-1
libaio - 0.3.112-1
libblkid1 - 2.34-1
libblobmsg-json - 2019-06-16-ecf56174-1
libc - 1.1.22-1
libcap - 2.27-1
libcomerr0 - 1.44.5-1
libcurl4 - 7.65.1-1
libelf1 - 0.176-2
libext2fs2 - 1.44.5-1
libgcc1 - 9.1.0-1
libgmp10 - 6.1.2-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libiwinfo-lua - 2019-06-12-1372f47e-1
libiwinfo20181126 - 2019-06-12-1372f47e-1
libjson-c4 - 0.13.1-1
libjson-script - 2019-06-16-ecf56174-1
libltdl7 - 2.4.6-2
liblua5.1.5 - 5.1.5-4
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libmbedtls12 - 2.16.2-1
libmcrypt - 2.5.8-2
libmnl0 - 1.0.4-2
libmysqlclient - 5.1.73-3
libncurses6 - 6.1-4
libnl-tiny - 0.1-5
libopenssl1.1 - 1.1.1c-1
libpcap1 - 1.9.0-2
libpcre - 8.43-1
libpthread - 1.1.22-1
libreadline8 - 8.0-1
librrd1 - 1.0.50-2
librt - 1.1.22-1
libss2 - 1.44.5-1
libubox20170601 - 2019-06-16-ecf56174-1
libubus-lua - 2018-10-06-221ce7e7-1
libubus20170705 - 2018-10-06-221ce7e7-1
libuci-lua - 2019-05-17-f199b961-3
libuci20130104 - 2019-05-17-f199b961-3
libuclient20160123 - 2019-05-30-3b3e368d-1
libustream-mbedtls20150806 - 2019-06-24-738e8d24-1
libuuid1 - 2.34-1
libuv - 1.29.1-1
libwebsockets-full - 3.1.0-1
libxml2 - 2.9.9-2
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-2
lua - 5.1.5-4
luci - git-19.192.47173-4b941bc-1
luci-app-firewall - git-19.192.47173-4b941bc-1
luci-app-opkg - git-19.192.47173-4b941bc-1
luci-base - git-19.192.47173-4b941bc-1
luci-lib-ip - git-19.192.47173-4b941bc-1
luci-lib-jsonc - git-19.192.47173-4b941bc-1
luci-lib-nixio - git-19.192.47173-4b941bc-1
luci-mod-admin-full - git-19.192.47173-4b941bc-1
luci-mod-network - git-19.192.47173-4b941bc-1
luci-mod-status - git-19.192.47173-4b941bc-1
luci-mod-system - git-19.192.47173-4b941bc-1
luci-proto-3g - git-19.192.47173-4b941bc-1
luci-proto-ipv6 - git-19.192.47173-4b941bc-1
luci-proto-ppp - git-19.192.47173-4b941bc-1
luci-theme-bootstrap - git-19.192.47173-4b941bc-1
mtd - 24
mysql-server - 5.1.73-3
nano - 4.3-1
netifd - 2019-06-15-9932ed02-1
nginx - 1.16.0-1
odhcp6c - 2019-01-11-d2e247d8-16
odhcpd-ipv6only - 2019-05-17-41a74cba-3
openssh-client - 8.0p1-1
openssh-keygen - 8.0p1-1
openssh-server - 8.0p1-1
openssh-sftp-server - 8.0p1-1
openwrt-keyring - 2018-05-18-103a32e9-1
opkg - 2019-06-14-dcbc142e-1
php7 - 7.2.19-1
php7-cli - 7.2.19-1
php7-fpm - 7.2.19-1
php7-mod-curl - 7.2.19-1
php7-mod-hash - 7.2.19-1
php7-mod-iconv - 7.2.19-1
php7-mod-json - 7.2.19-1
php7-mod-mbstring - 7.2.19-1
php7-mod-mysqlnd - 7.2.19-1
php7-mod-opcache - 7.2.19-1
php7-mod-openssl - 7.2.19-1
php7-mod-pdo - 7.2.19-1
php7-mod-pdo-mysql - 7.2.19-1
php7-mod-phar - 7.2.19-1
php7-mod-session - 7.2.19-1
php7-mod-shmop - 7.2.19-1
php7-mod-simplexml - 7.2.19-1
php7-mod-zip - 7.2.19-1
ppp - 2.4.7.git-2019-05-25-2
ppp-mod-pppoe - 2.4.7.git-2019-05-25-2
procd - 2019-05-30-ade00ca5-1
rpcd - 2019-06-05-89bfaa42-2
rpcd-mod-rrdns - 20170710
rrdtool1 - 1.0.50-2
rt2800-pci-firmware - 20190618-1
strongswan - 5.8.0-1
strongswan-charon - 5.8.0-1
strongswan-default - 5.8.0-1
strongswan-ipsec - 5.8.0-1
strongswan-libtls - 5.8.0-1
strongswan-mod-aes - 5.8.0-1
strongswan-mod-agent - 5.8.0-1
strongswan-mod-attr - 5.8.0-1
strongswan-mod-ccm - 5.8.0-1
strongswan-mod-cmac - 5.8.0-1
strongswan-mod-connmark - 5.8.0-1
strongswan-mod-constraints - 5.8.0-1
strongswan-mod-curl - 5.8.0-1
strongswan-mod-curve25519 - 5.8.0-1
strongswan-mod-des - 5.8.0-1
strongswan-mod-dnskey - 5.8.0-1
strongswan-mod-eap-identity - 5.8.0-1
strongswan-mod-eap-md5 - 5.8.0-1
strongswan-mod-eap-mschapv2 - 5.8.0-1
strongswan-mod-eap-tls - 5.8.0-1
strongswan-mod-fips-prf - 5.8.0-1
strongswan-mod-gcm - 5.8.0-1
strongswan-mod-gmp - 5.8.0-1
strongswan-mod-hmac - 5.8.0-1
strongswan-mod-kernel-netlink - 5.8.0-1
strongswan-mod-md4 - 5.8.0-1
strongswan-mod-md5 - 5.8.0-1
strongswan-mod-nonce - 5.8.0-1
strongswan-mod-openssl - 5.8.0-1
strongswan-mod-pem - 5.8.0-1
strongswan-mod-pgp - 5.8.0-1
strongswan-mod-pkcs1 - 5.8.0-1
strongswan-mod-pubkey - 5.8.0-1
strongswan-mod-random - 5.8.0-1
strongswan-mod-rc2 - 5.8.0-1
strongswan-mod-resolve - 5.8.0-1
strongswan-mod-revocation - 5.8.0-1
strongswan-mod-sha1 - 5.8.0-1
strongswan-mod-sha2 - 5.8.0-1
strongswan-mod-socket-default - 5.8.0-1
strongswan-mod-sshkey - 5.8.0-1
strongswan-mod-stroke - 5.8.0-1
strongswan-mod-updown - 5.8.0-1
strongswan-mod-x509 - 5.8.0-1
strongswan-mod-xauth-generic - 5.8.0-1
strongswan-mod-xcbc - 5.8.0-1
swconfig - 12
tc - 5.1.0-1
tcpdump - 4.9.2-1
terminfo - 6.1-4
ubox - 2019-06-16-4df34a4d-2
ubus - 2018-10-06-221ce7e7-1
ubusd - 2018-10-06-221ce7e7-1
uci - 2019-05-17-f199b961-3
uclibcxx - 0.2.5-1
uclient-fetch - 2019-05-30-3b3e368d-1
uhttpd - 2019-06-16-91fcac34-3
uhttpd-mod-ubus - 2019-06-16-91fcac34-3
urandom-seed - 1.0-1
urngd - 2019-06-17-c057e177-1
usbreset - 5
usign - 2015-07-04-ef641914-1
wget - 1.20.3-1
wireless-regdb - 2017-10-20-4343d359
wireless-tools - 29-6
wpad-basic - 2018-12-02-c2c6c01b-6
zlib - 1.2.11-3
zoneinfo-africa - 2019b-1
zoneinfo-asia - 2019b-1
zoneinfo-atlantic - 2019b-1
zoneinfo-australia-nz - 2019b-1
zoneinfo-core - 2019b-1
zoneinfo-europe - 2019b-1
zoneinfo-india - 2019b-1
zoneinfo-northamerica - 2019b-1
zoneinfo-pacific - 2019b-1
zoneinfo-poles - 2019b-1
zoneinfo-simple - 2019b-1
zoneinfo-southamerica - 2019b-1
I don't think it is related to missing packages. Its probably something involving compiler optimization, nonstandard CFLAGS or similar.
Whats the output of ./scripts/diffconfig.sh
?
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7620=y
CONFIG_TARGET_ramips_mt7620_DEVICE_zbtlink_zbt-we826-16m=y
CONFIG_DEVEL=y
CONFIG_TOOLCHAINOPTS=y
CONFIG_BUSYBOX_CUSTOM=y
# CONFIG_BINUTILS_USE_VERSION_2_31_1 is not set
CONFIG_BINUTILS_USE_VERSION_2_32=y
CONFIG_BINUTILS_VERSION="2.32"
CONFIG_BINUTILS_VERSION_2_32=y
CONFIG_BUILD_PATENTED=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NEWER is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL=y
CONFIG_BUSYBOX_CONFIG_HDPARM=y
CONFIG_BUSYBOX_CONFIG_LSUSB=y
CONFIG_BUSYBOX_CONFIG_NOHUP=y
# CONFIG_BUSYBOX_CONFIG_SWAPOFF is not set
# CONFIG_BUSYBOX_CONFIG_SWAPON is not set
CONFIG_BUSYBOX_CONFIG_VOLUMEID=y
# CONFIG_FEED_luci is not set
# CONFIG_FEED_packages is not set
# CONFIG_FEED_routing is not set
# CONFIG_FEED_telephony is not set
CONFIG_GCC_USE_EMBEDDED_PATH_REMAP=y
# CONFIG_GCC_USE_VERSION_7 is not set
CONFIG_GCC_USE_VERSION_9=y
CONFIG_GCC_VERSION="9.1.0"
CONFIG_GCC_VERSION_9=y
CONFIG_INCLUDE_CONFIG=y
# CONFIG_KERNEL_AIO is not set
# CONFIG_KERNEL_CGROUPS is not set
# CONFIG_KERNEL_FANOTIFY is not set
# CONFIG_KERNEL_FHANDLE is not set
# CONFIG_KERNEL_LXC_MISC is not set
# CONFIG_KERNEL_NAMESPACES is not set
# CONFIG_KERNEL_SECCOMP is not set
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_MBEDTLS=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_PROXY=y
CONFIG_NGINX_HEADERS_MORE=y
CONFIG_NGINX_HTTP_ACCESS=y
CONFIG_NGINX_HTTP_AUTH_BASIC=y
CONFIG_NGINX_HTTP_AUTOINDEX=y
CONFIG_NGINX_HTTP_BROWSER=y
CONFIG_NGINX_HTTP_CACHE=y
CONFIG_NGINX_HTTP_CHARSET=y
CONFIG_NGINX_HTTP_EMPTY_GIF=y
CONFIG_NGINX_HTTP_FASTCGI=y
CONFIG_NGINX_HTTP_GEO=y
CONFIG_NGINX_HTTP_GZIP=y
CONFIG_NGINX_HTTP_LIMIT_CONN=y
CONFIG_NGINX_HTTP_LIMIT_REQ=y
CONFIG_NGINX_HTTP_MAP=y
CONFIG_NGINX_HTTP_MEMCACHED=y
CONFIG_NGINX_HTTP_PROXY=y
CONFIG_NGINX_HTTP_REFERER=y
CONFIG_NGINX_HTTP_REWRITE=y
CONFIG_NGINX_HTTP_SCGI=y
CONFIG_NGINX_HTTP_SPLIT_CLIENTS=y
CONFIG_NGINX_HTTP_SSI=y
CONFIG_NGINX_HTTP_UPSTREAM_HASH=y
CONFIG_NGINX_HTTP_UPSTREAM_IP_HASH=y
CONFIG_NGINX_HTTP_UPSTREAM_KEEPALIVE=y
CONFIG_NGINX_HTTP_UPSTREAM_LEAST_CONN=y
CONFIG_NGINX_HTTP_USERID=y
CONFIG_NGINX_HTTP_UWSGI=y
CONFIG_NGINX_NAXSI=y
CONFIG_NGINX_PCRE=y
CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_TLS13=y
CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1
CONFIG_PACKAGE_argp-standalone=m
CONFIG_PACKAGE_block-mount=y
CONFIG_PACKAGE_ca-bundle=y
CONFIG_PACKAGE_chat=y
CONFIG_PACKAGE_comgt=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_dosfstools=y
# CONFIG_PACKAGE_dropbear is not set
CONFIG_PACKAGE_e2fsprogs=y
CONFIG_PACKAGE_ip-tiny=y
CONFIG_PACKAGE_iperf3=m
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_iptables-mod-ipsec=y
CONFIG_PACKAGE_kmod-crypto-acompress=y
CONFIG_PACKAGE_kmod-crypto-aead=y
CONFIG_PACKAGE_kmod-crypto-authenc=y
CONFIG_PACKAGE_kmod-crypto-cbc=y
CONFIG_PACKAGE_kmod-crypto-cmac=y
CONFIG_PACKAGE_kmod-crypto-crc32=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-ctr=y
CONFIG_PACKAGE_kmod-crypto-deflate=y
CONFIG_PACKAGE_kmod-crypto-des=y
CONFIG_PACKAGE_kmod-crypto-echainiv=y
CONFIG_PACKAGE_kmod-crypto-gcm=y
CONFIG_PACKAGE_kmod-crypto-gf128=y
CONFIG_PACKAGE_kmod-crypto-ghash=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-hmac=y
CONFIG_PACKAGE_kmod-crypto-iv=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-md5=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
CONFIG_PACKAGE_kmod-crypto-rng=y
CONFIG_PACKAGE_kmod-crypto-seqiv=y
CONFIG_PACKAGE_kmod-crypto-sha1=y
CONFIG_PACKAGE_kmod-crypto-sha256=y
CONFIG_PACKAGE_kmod-crypto-wq=y
CONFIG_PACKAGE_kmod-eeprom-93cx6=y
CONFIG_PACKAGE_kmod-fs-exfat=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-fs-f2fs=y
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_kmod-ifb=y
CONFIG_PACKAGE_kmod-ipsec=y
CONFIG_PACKAGE_kmod-ipsec4=y
CONFIG_PACKAGE_kmod-ipsec6=y
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
CONFIG_PACKAGE_kmod-ipt-ipopt=y
CONFIG_PACKAGE_kmod-ipt-ipsec=y
CONFIG_PACKAGE_kmod-ipt-raw=y
CONFIG_PACKAGE_kmod-iptunnel4=y
CONFIG_PACKAGE_kmod-iptunnel6=y
CONFIG_PACKAGE_kmod-lib-crc-itu-t=y
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
CONFIG_PACKAGE_kmod-mt76=y
CONFIG_PACKAGE_kmod-mt7603=y
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
CONFIG_PACKAGE_kmod-nfnetlink=y
CONFIG_PACKAGE_kmod-nls-cp1250=y
CONFIG_PACKAGE_kmod-nls-cp1251=y
CONFIG_PACKAGE_kmod-nls-cp437=y
CONFIG_PACKAGE_kmod-nls-cp775=y
CONFIG_PACKAGE_kmod-nls-cp850=y
CONFIG_PACKAGE_kmod-nls-cp852=y
CONFIG_PACKAGE_kmod-nls-cp862=y
CONFIG_PACKAGE_kmod-nls-cp864=y
CONFIG_PACKAGE_kmod-nls-cp866=y
CONFIG_PACKAGE_kmod-nls-cp932=y
CONFIG_PACKAGE_kmod-nls-cp936=y
CONFIG_PACKAGE_kmod-nls-cp950=y
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
CONFIG_PACKAGE_kmod-nls-iso8859-13=y
CONFIG_PACKAGE_kmod-nls-iso8859-15=y
CONFIG_PACKAGE_kmod-nls-iso8859-2=y
CONFIG_PACKAGE_kmod-nls-iso8859-6=y
CONFIG_PACKAGE_kmod-nls-iso8859-8=y
CONFIG_PACKAGE_kmod-nls-koi8r=y
CONFIG_PACKAGE_kmod-nls-utf8=y
CONFIG_PACKAGE_kmod-sched-core=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-option=y
CONFIG_PACKAGE_kmod-usb-serial-wwan=y
CONFIG_PACKAGE_libaio=y
CONFIG_PACKAGE_libatomic=m
CONFIG_PACKAGE_libblkid=y
CONFIG_PACKAGE_libcap=y
CONFIG_PACKAGE_libcomerr=y
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libelf=y
CONFIG_PACKAGE_libext2fs=y
CONFIG_PACKAGE_libgmp=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_libltdl=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libmcrypt=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libmysqlclient=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libreadline=y
CONFIG_PACKAGE_librrd1=y
CONFIG_PACKAGE_librt=y
CONFIG_PACKAGE_libss=y
CONFIG_PACKAGE_libstdcpp=m
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_libuci-lua=y
CONFIG_PACKAGE_libustream-mbedtls=y
CONFIG_PACKAGE_libuuid=y
CONFIG_PACKAGE_libuv=y
CONFIG_PACKAGE_libwebsockets-full=y
CONFIG_PACKAGE_libxml2=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-opkg=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-3g=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_mysql-server=y
CONFIG_PACKAGE_nano=y
CONFIG_PACKAGE_nginx=y
CONFIG_PACKAGE_openssh-client=y
CONFIG_PACKAGE_openssh-keygen=y
CONFIG_PACKAGE_openssh-server=y
CONFIG_PACKAGE_openssh-sftp-server=y
CONFIG_PACKAGE_php7=y
CONFIG_PACKAGE_php7-cli=y
CONFIG_PACKAGE_php7-fpm=y
CONFIG_PACKAGE_php7-mod-curl=y
CONFIG_PACKAGE_php7-mod-hash=y
CONFIG_PACKAGE_php7-mod-iconv=y
CONFIG_PACKAGE_php7-mod-json=y
CONFIG_PACKAGE_php7-mod-mbstring=y
CONFIG_PACKAGE_php7-mod-mysqlnd=y
CONFIG_PACKAGE_php7-mod-opcache=y
CONFIG_PACKAGE_php7-mod-openssl=y
CONFIG_PACKAGE_php7-mod-pdo=y
CONFIG_PACKAGE_php7-mod-pdo-mysql=y
CONFIG_PACKAGE_php7-mod-phar=y
CONFIG_PACKAGE_php7-mod-session=y
CONFIG_PACKAGE_php7-mod-shmop=y
CONFIG_PACKAGE_php7-mod-simplexml=y
CONFIG_PACKAGE_php7-mod-zip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_rrdtool1=y
CONFIG_PACKAGE_rt2800-pci-firmware=y
CONFIG_PACKAGE_samba36-server=m
CONFIG_PACKAGE_strongswan=y
CONFIG_PACKAGE_strongswan-charon=y
CONFIG_PACKAGE_strongswan-default=y
CONFIG_PACKAGE_strongswan-ipsec=y
CONFIG_PACKAGE_strongswan-libtls=y
CONFIG_PACKAGE_strongswan-mod-aes=y
CONFIG_PACKAGE_strongswan-mod-agent=y
CONFIG_PACKAGE_strongswan-mod-attr=y
CONFIG_PACKAGE_strongswan-mod-ccm=y
CONFIG_PACKAGE_strongswan-mod-cmac=y
CONFIG_PACKAGE_strongswan-mod-connmark=y
CONFIG_PACKAGE_strongswan-mod-constraints=y
CONFIG_PACKAGE_strongswan-mod-curl=y
CONFIG_PACKAGE_strongswan-mod-curve25519=y
CONFIG_PACKAGE_strongswan-mod-des=y
CONFIG_PACKAGE_strongswan-mod-dnskey=y
CONFIG_PACKAGE_strongswan-mod-eap-identity=y
CONFIG_PACKAGE_strongswan-mod-eap-md5=y
CONFIG_PACKAGE_strongswan-mod-eap-mschapv2=y
CONFIG_PACKAGE_strongswan-mod-eap-tls=y
CONFIG_PACKAGE_strongswan-mod-fips-prf=y
CONFIG_PACKAGE_strongswan-mod-gcm=y
CONFIG_PACKAGE_strongswan-mod-gmp=y
CONFIG_PACKAGE_strongswan-mod-hmac=y
CONFIG_PACKAGE_strongswan-mod-kernel-netlink=y
CONFIG_PACKAGE_strongswan-mod-md4=y
CONFIG_PACKAGE_strongswan-mod-md5=y
CONFIG_PACKAGE_strongswan-mod-nonce=y
CONFIG_PACKAGE_strongswan-mod-openssl=y
CONFIG_PACKAGE_strongswan-mod-pem=y
CONFIG_PACKAGE_strongswan-mod-pgp=y
CONFIG_PACKAGE_strongswan-mod-pkcs1=y
CONFIG_PACKAGE_strongswan-mod-pubkey=y
CONFIG_PACKAGE_strongswan-mod-random=y
CONFIG_PACKAGE_strongswan-mod-rc2=y
CONFIG_PACKAGE_strongswan-mod-resolve=y
CONFIG_PACKAGE_strongswan-mod-revocation=y
CONFIG_PACKAGE_strongswan-mod-sha1=y
CONFIG_PACKAGE_strongswan-mod-sha2=y
CONFIG_PACKAGE_strongswan-mod-socket-default=y
CONFIG_PACKAGE_strongswan-mod-sshkey=y
CONFIG_PACKAGE_strongswan-mod-stroke=y
CONFIG_PACKAGE_strongswan-mod-updown=y
CONFIG_PACKAGE_strongswan-mod-x509=y
CONFIG_PACKAGE_strongswan-mod-xauth-generic=y
CONFIG_PACKAGE_strongswan-mod-xcbc=y
CONFIG_PACKAGE_tc=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_uclibcxx=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y
CONFIG_PACKAGE_usbreset=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_wpad-mini=m
CONFIG_PACKAGE_zlib=y
CONFIG_PACKAGE_zoneinfo-africa=y
CONFIG_PACKAGE_zoneinfo-asia=y
CONFIG_PACKAGE_zoneinfo-atlantic=y
CONFIG_PACKAGE_zoneinfo-australia-nz=y
CONFIG_PACKAGE_zoneinfo-core=y
CONFIG_PACKAGE_zoneinfo-europe=y
CONFIG_PACKAGE_zoneinfo-india=y
CONFIG_PACKAGE_zoneinfo-northamerica=y
CONFIG_PACKAGE_zoneinfo-pacific=y
CONFIG_PACKAGE_zoneinfo-poles=y
CONFIG_PACKAGE_zoneinfo-simple=y
CONFIG_PACKAGE_zoneinfo-southamerica=y
CONFIG_PHP7_FILTER=y
CONFIG_PHP7_LIBXML=y
CONFIG_PHP7_SYSTEMTZDATA=y
# CONFIG_POSTFIX_PCRE is not set
CONFIG_STRONGSWAN_ROUTING_TABLE="220"
CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO="220"
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
# CONFIG_OPENSSL_ENGINE is not set
For me on trunk building for ath79 with the same type of error, switching back to gcc8 or gcc7 solved the lua issue. So seems like it's related to building on gcc9 right now. Hope this helps.
This is not a LuCI issue then. If you use nonstandard compiler versions you're on your own.
Can confirm. A clean build on GCC 7 works fine. This will probably come to bite some people in the future if and when GCC 9 becomes a standard compiler (it is an option now).
Issue does not occur for me anymore with luci - git-20.078.22902 / (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r12647-cb44ab4f5d))
Compiled trunk, on ramips MT7620 Running uhttpd on port 8080 - always worked before (up till last month some time). Now I get "Bad Gateway"
dmesg
shows: