Modify

Opened 5 years ago

Closed 4 years ago

#10364 closed defect (fixed)

Problem with luci on rb532 in version 10.03.1-rc5 and 10.03.1-rc6

Reported by: andy@… Owned by:
Priority: normal Milestone: Backfire 10.03.1
Component: luci Version: Backfire 10.03.1 RC5
Keywords: Cc: andy@…

Description

Hello
At the beginning sorry for my English.
I have a rb532 openwrt software.
To version 10.03.1-rc4 everything worked fine.
Since version 10.03.1-rc5 I have a problem to start Luci.
When I try to connect displays LuCI - Lua Configuration Interface on the black side and then after 2 seconds of blank white page.
Is it possible to do something about it?
Please help, thank you

Attachments (0)

Change History (12)

comment:1 Changed 5 years ago by jow

Do you access it via http or https? Can you run "/www/cgi-bin/luci" on the cli and post the output?

comment:2 Changed 5 years ago by anonymous

I have access via http.
When I run "/www/cgi-bin/luci" I get:
root@OpenWrt:~# /www/cgi-bin/luci
Segmentation fault

Thank you for your prompt response.

comment:3 Changed 4 years ago by jow

Ok, can you strace the same command?

comment:4 Changed 4 years ago by anonymous

oh, this command has asked too much information ...
how can I view the whole command?
This is just part of the final ...

stat64(0x44a670, 0x7ff83980) = 0
getuid() = 0
getgid() = 0
stat64(0x41ae48, 0x7ff83980) = 0
stat64(0x41ae48, 0x7ff83980) = 0
open("/tmp/luci-indexcache", O_RDONLY) = 3
ioctl(3, TIOCNXCL, 0x7ff82988) = -1 ENOTTY (Inappropriate ioctl for device)
read(3, "\33LuaQ\0\1\4\4\4\10\4\357\214\0\0return { [\"luci."..., 4096) = 4096
close(3) = 0
open("/tmp/luci-indexcache", O_RDONLY) = 3
ioctl(3, TIOCNXCL, 0x7ff82930) = -1 ENOTTY (Inappropriate ioctl for device)
read(3, "\33LuaQ\0\1\4\4\4\10\4\357\214\0\0return { [\"luci."..., 4096) = 4096
brk(0x497000) = 0x497000
read(3, "
000
000call
000\4\16
000
000
000ac"..., 4096) = 4096
read(3, "000\212\1\200\1\301A\3
000\1\202\2
000A\202\2
000\242A\200\1"..., 4096) = 4096
read(3, "000\33
000
000
000\33
000
000
000\34
0"..., 4096) = 4096
read(3, "0
000
000


000
000
000


000
00"..., 4096) = 4096
read(3, "0\1\305@\1
000\1\201
\n
000\334\200
000\1\1A\3
000\34"..., 4096) = 4096
read(3, "00
000
000\35
000
000
000\35
000
000"..., 4096) = 4096
read(3, "00
000
000\t
000
000
000\t
000
000"..., 4096) = 4096
read(3, "
000<abbr title=
\"Light Emitting"..., 4096) = 4096
brk(0x4a0000) = 0x4a0000
read(3, "\4\10\0\0\0context\0\4\10\0\0\0request\0\4\6\0\0\0e"..., 4096) = 4096
read(3, "\36\0\200\0]\0\0\0\4\10\0\0\0require\0\4\17\0\0\0luci.m"..., 4096) = 4096
read(3, "\1\1\5\0b@\200\1\205\200\2\0\301@\5\0\234\200\0\1\305@\1\0\1\201\5\0\334\200\0\1"..., 4096) = 4096
read(3, "\0\24\0\0\0\0\0\0\0\0\0\0\0\0\4\35\0\0\0luci.controll"..., 4096) = 3032
read(3, "", 1064) = 0
close(3) = 0
stat("/usr/lib/lua/luci/i18n/base.en.lmo", {st_mode=S_IFREG|0644, st_size=184, ...}) = 0
open("/usr/lib/lua/luci/i18n/base.en.lmo", O_RDONLY) = 3
lseek(3, -4, SEEK_END) = 180
read(3, "\0\0\0\224", 4) = 4
lseek(3, 148, SEEK_SET) = 148
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
read(3, "\240\247\26\326", 4) = 4
read(3, "\334Ll\275", 4) = 4
read(3, "\0\0\0\200", 4) = 4
read(3, "\0\0\0\23", 4) = 4
read(3, "\32a0\5", 4) = 4
read(3, "\327\211Z\36", 4) = 4
read(3, "\0\0\0\0", 4) = 4
read(3, "\0\0\0\177", 4) = 4
lseek(3, 0, SEEK_SET) = 0
old_mmap(NULL, 148, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaae000
stat("/usr/lib/lua/luci/i18n/base.auto.lmo", 0x7ff83910) = -1 ENOENT (No such file or directory)
access("/bin/opkg", F_OK) = 0
access("/etc/config/fstab", F_OK) = -1 ENOENT (No such file or directory)
access("/sys/class/leds", F_OK) = 0
stat("/usr/lib/lua/luci/i18n/base.auto.lmo", 0x7ff83910) = -1 ENOENT (No such file or directory)
stat64(0x46d248, 0x7ff83838) = -1 ENOENT (No such file or directory)
open("./luci/model/network.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/luci/model/network.lua", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff83830) = -1 ENOTTY (Inappropriate ioctl for device)
close(4) = 0
open("/usr/lib/lua/luci/model/network.lua", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff82838) = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "--[[\nLuCI - Network model\n\nCopyr"..., 4096) = 4096
read(4, "ridge = { }\n\t_switch = {"..., 4096) = 4096
read(4, "ion(\"network\", \"interface\", new,"..., 4096) = 4096
read(4, "ocal p = proto or _uci_real:get("..., 4096) = 4096
brk(0x4a1000) = 0x4a1000
brk(0x4a2000) = 0x4a2000
brk(0x4a3000) = 0x4a3000
brk(0x4a4000) = 0x4a4000
read(4, "ce\",\n\t\t\tfunction(s)\n\t\t\t\tif s.net"..., 4096) = 4096
brk(0x4a5000) = 0x4a5000
brk(0x4a6000) = 0x4a6000
brk(0x4a7000) = 0x4a7000
brk(0x4a8000) = 0x4a8000
brk(0x4a9000) = 0x4a9000
read(4, "ifi\"\n\telseif _bridge[self.ifname"..., 4096) = 4096
brk(0x4aa000) = 0x4aa000
brk(0x4ab000) = 0x4ab000
brk(0x4ac000) = 0x4ac000
brk(0x4ad000) = 0x4ad000
brk(0x4ae000) = 0x4ae000
brk(0x4b0000) = 0x4b0000
brk(0x4b1000) = 0x4b1000
read(4, "v.get_wifinet(self, net)\n\tif _uc"..., 4096) = 4096
brk(0x4b2000) = 0x4b2000
brk(0x4b3000) = 0x4b3000
brk(0x4b4000) = 0x4b4000
brk(0x4b5000) = 0x4b5000
brk(0x4b6000) = 0x4b6000
brk(0x4b7000) = 0x4b7000
brk(0x4b8000) = 0x4b8000
brk(0x4b9000) = 0x4b9000
read(4, "\treturn self.iwinfo.txpower or 0"..., 4096) = 1594
read(4, "", 2502) = 0
brk(0x4ba000) = 0x4ba000
brk(0x4bb000) = 0x4bb000
close(4) = 0
getuid() = 0
open("/usr/lib/lua/luci/model/network", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
brk(0x4bc000) = 0x4bc000
getdents64(4, /* 3 entries */, 4096) = 88
brk(0x4bd000) = 0x4bd000
stat64(0x474520, 0x7ff836f0) = -1 ENOENT (No such file or directory)
open("./luci/model/network/proto_ppp.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network/proto_ppp.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network/proto_ppp/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/luci/model/network/proto_ppp.lua", O_RDONLY) = 5
ioctl(5, TIOCNXCL, 0x7ff836e8) = -1 ENOTTY (Inappropriate ioctl for device)
brk(0x4be000) = 0x4be000
close(5) = 0
open("/usr/lib/lua/luci/model/network/proto_ppp.lua", O_RDONLY) = 5
ioctl(5, TIOCNXCL, 0x7ff826f0) = -1 ENOTTY (Inappropriate ioctl for device)
read(5, "--[[\nLuCI - Network model - 3G, "..., 4096) = 2104
read(5, "", 1992) = 0
brk(0x4bf000) = 0x4bf000
brk(0x4c0000) = 0x4c0000
brk(0x4c1000) = 0x4c1000
brk(0x4c2000) = 0x4c2000
close(5) = 0
getuid() = 0
getdents64(4, /* 0 entries */, 4096) = 0
close(4) = 0
socket(PF_NETLINK, SOCK_RAW, 0) = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(4, {sa_family=AF_NETLINK, pid=910, groups=00000000}, [12]) = 0
time(NULL) = 1320623537
sendto(4, "\24\0\0\0\22\0\1\3\261\35\267N\0\0\0\0\0\211H\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\360\0\0\0\20\0\2\0\261\35\267N\216\3\0\0\0\0\4\3\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 1464
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\261\35\267N\216\3\0\0\0\0\0\0\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
sendto(4, "\24\0\0\0\26\0\1\3\262\35\267N\0\0\0\0\0\211H\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"8\0\0\0\24\0\2\0\262\35\267N\216\3\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 116
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\262\35\267N\216\3\0\0\0\0\0\0\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(4) = 0
brk(0x4c3000) = 0x4c3000
brk(0x4c4000) = 0x4c4000
pipe([4753664, 715836424]) = 4
fcntl(4, F_GETFL) = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff83960) = -1 EINVAL (Invalid argument)
brk(0x4c5000) = 0x4c5000
fork() = 911
close(5) = 0
read(4, "bridge name\tbridge id\t\tSTP enabl"..., 4096) = 46
read(4, "", 4096) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
wait4(911, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 911
stat64(0x43e5f8, 0x7ff83980) = 0
stat("/etc/config/network", {st_mode=S_IFREG|0644, st_size=324, ...}) = 0
open("/etc/config/network", O_RDONLY) = 4
flock(4, LOCK_SH) = 0
lseek(4, 0, SEEK_SET) = 0
fcntl(4, F_GETFL) = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff83738) = -1 ENOTTY (Inappropriate ioctl for device)
brk(0x4c6000) = 0x4c6000
read(4, "# Copyright (C) 2006 OpenWrt.org"..., 4096) = 324
read(4, "", 4096) = 0
brk(0x4c7000) = 0x4c7000
ioctl(2147483647, TIOCNXCL, 0x7ff836f0) = -1 EBADF (Bad file descriptor)
brk(0x4c8000) = 0x4c8000
stat("/tmp/.uci/network", 0x7ff83600) = -1 ENOENT (No such file or directory)
flock(4, LOCK_UN) = 0
close(4) = 0
stat("/etc/config/wireless", {st_mode=S_IFREG|0644, st_size=500, ...}) = 0
open("/etc/config/wireless", O_RDONLY) = 4
flock(4, LOCK_SH) = 0
lseek(4, 0, SEEK_SET) = 0
fcntl(4, F_GETFL) = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff83738) = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "config wifi-device wifi0\n\toptio"..., 4096) = 500
read(4, "", 4096) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff836f0) = -1 EBADF (Bad file descriptor)
brk(0x4c9000) = 0x4c9000
stat("/tmp/.uci/wireless", 0x7ff83600) = -1 ENOENT (No such file or directory)
flock(4, LOCK_UN) = 0
close(4) = 0
stat64(0x4c5f60, 0x7ff83610) = -1 ENOENT (No such file or directory)
open("./iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./iwinfo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff83688) = -1 ENOTTY (Inappropriate ioctl for device)
close(4) = 0
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=63430, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaf000
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\36\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac73000
old_mmap(0x2ac73000, 53776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0x2ac73000
old_mmap(0x2ac90000, 10182, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xd000) = 0x2ac90000
old_mmap(0x2ac93000, 13744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac93000
close(4) = 0
munmap(0x2aaaf000, 4096) = 0
open("/lib/liblua.so.5.1.4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/liblua.so.5.1.4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/liblua.so.5.1.4", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=209215, ...}) = 0
close(4) = 0
open("/lib/libnl-tiny.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libnl-tiny.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnl-tiny.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/etc/config/wireless", {st_mode=S_IFREG|0644, st_size=500, ...}) = 0
open("/etc/config/wireless", O_RDONLY) = 4
flock(4, LOCK_SH) = 0
lseek(4, 0, SEEK_SET) = 0
fcntl(4, F_GETFL) = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff836d8) = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "config wifi-device wifi0\n\toptio"..., 4096) = 500
read(4, "", 4096) = 0
brk(0x4ca000) = 0x4ca000
ioctl(2147483647, TIOCNXCL, 0x7ff83690) = -1 EBADF (Bad file descriptor)
brk(0x4cb000) = 0x4cb000
stat("/var/state/wireless", 0x7ff835a0) = -1 ENOENT (No such file or directory)
flock(4, LOCK_UN) = 0
close(4) = 0
stat64(0x4c5f60, 0x7ff83610) = -1 ENOENT (No such file or directory)
open("./iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./iwinfo.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff83688) = -1 ENOTTY (Inappropriate ioctl for device)
close(4) = 0
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=63430, ...}) = 0
close(4) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

Thank you very much for your time for me

comment:5 Changed 4 years ago by anonymous

I'm sorry, I should use the code block

stat64(0x44a670, 0x7ff83980)            = 0
getuid()                                = 0
getgid()                                = 0
stat64(0x41ae48, 0x7ff83980)            = 0
stat64(0x41ae48, 0x7ff83980)            = 0
open("/tmp/luci-indexcache", O_RDONLY)  = 3
ioctl(3, TIOCNXCL, 0x7ff82988)          = -1 ENOTTY (Inappropriate ioctl for device)
read(3, "\33LuaQ\0\1\4\4\4\10\4\357\214\0\0return { [\"luci."..., 4096) = 4096
close(3)                                = 0
open("/tmp/luci-indexcache", O_RDONLY)  = 3
ioctl(3, TIOCNXCL, 0x7ff82930)          = -1 ENOTTY (Inappropriate ioctl for device)
read(3, "\33LuaQ\0\1\4\4\4\10\4\357\214\0\0return { [\"luci."..., 4096) = 4096
brk(0x497000)                           = 0x497000
read(3, "\\000\\000call\\000\4\16\\000\\000\\000ac"..., 4096) = 4096
read(3, "000\212\1\200\1\301A\3\\000\1\202\2\\000A\202\2\\000\242A\200\1"..., 4096) = 4096
read(3, "000\33\\000\\000\\000\33\\000\\000\\000\34\\0"..., 4096) = 4096
read(3, "0\\000\\000\\\\\\000\\000\\000\\\\\\000\\00"..., 4096) = 4096
read(3, "0\1\305@\1\\000\1\201\\\n\\000\334\200\\000\1\1A\3\\000\34"..., 4096) = 4096
read(3, "00\\000\\000\35\\000\\000\\000\35\\000\\000"..., 4096) = 4096
read(3, "00\\000\\000\t\\000\\000\\000\t\\000\\000"..., 4096) = 4096
read(3, "\\000<abbr title=\\\"Light Emitting"..., 4096) = 4096
brk(0x4a0000)                           = 0x4a0000
read(3, "\4\10\0\0\0context\0\4\10\0\0\0request\0\4\6\0\0\0e"..., 4096) = 4096
read(3, "\36\0\200\0]\0\0\0\4\10\0\0\0require\0\4\17\0\0\0luci.m"..., 4096) = 4096
read(3, "\1\1\5\0b@\200\1\205\200\2\0\301@\5\0\234\200\0\1\305@\1\0\1\201\5\0\334\200\0\1"..., 4096) = 4096
read(3, "\0\24\0\0\0\0\0\0\0\0\0\0\0\0\4\35\0\0\0luci.controll"..., 4096) = 3032
read(3, "", 1064)                       = 0
close(3)                                = 0
stat("/usr/lib/lua/luci/i18n/base.en.lmo", {st_mode=S_IFREG|0644, st_size=184, ...}) = 0
open("/usr/lib/lua/luci/i18n/base.en.lmo", O_RDONLY) = 3
lseek(3, -4, SEEK_END)                  = 180
read(3, "\0\0\0\224", 4)                = 4
lseek(3, 148, SEEK_SET)                 = 148
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
read(3, "\240\247\26\326", 4)           = 4
read(3, "\334Ll\275", 4)                = 4
read(3, "\0\0\0\200", 4)                = 4
read(3, "\0\0\0\23", 4)                 = 4
read(3, "\32a0\5", 4)                   = 4
read(3, "\327\211Z\36", 4)              = 4
read(3, "\0\0\0\0", 4)                  = 4
read(3, "\0\0\0\177", 4)                = 4
lseek(3, 0, SEEK_SET)                   = 0
old_mmap(NULL, 148, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaae000
stat("/usr/lib/lua/luci/i18n/base.auto.lmo", 0x7ff83910) = -1 ENOENT (No such file or directory)
access("/bin/opkg", F_OK)               = 0
access("/etc/config/fstab", F_OK)       = -1 ENOENT (No such file or directory)
access("/sys/class/leds", F_OK)         = 0
stat("/usr/lib/lua/luci/i18n/base.auto.lmo", 0x7ff83910) = -1 ENOENT (No such file or directory)
stat64(0x46d248, 0x7ff83838)            = -1 ENOENT (No such file or directory)
open("./luci/model/network.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/luci/model/network.lua", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff83830)          = -1 ENOTTY (Inappropriate ioctl for device)
close(4)                                = 0
open("/usr/lib/lua/luci/model/network.lua", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff82838)          = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "--[[\nLuCI - Network model\n\nCopyr"..., 4096) = 4096
read(4, "ridge     = { }\n\t_switch     = {"..., 4096) = 4096
read(4, "ion(\"network\", \"interface\", new,"..., 4096) = 4096
read(4, "ocal p = proto or _uci_real:get("..., 4096) = 4096
brk(0x4a1000)                           = 0x4a1000
brk(0x4a2000)                           = 0x4a2000
brk(0x4a3000)                           = 0x4a3000
brk(0x4a4000)                           = 0x4a4000
read(4, "ce\",\n\t\t\tfunction(s)\n\t\t\t\tif s.net"..., 4096) = 4096
brk(0x4a5000)                           = 0x4a5000
brk(0x4a6000)                           = 0x4a6000
brk(0x4a7000)                           = 0x4a7000
brk(0x4a8000)                           = 0x4a8000
brk(0x4a9000)                           = 0x4a9000
read(4, "ifi\"\n\telseif _bridge[self.ifname"..., 4096) = 4096
brk(0x4aa000)                           = 0x4aa000
brk(0x4ab000)                           = 0x4ab000
brk(0x4ac000)                           = 0x4ac000
brk(0x4ad000)                           = 0x4ad000
brk(0x4ae000)                           = 0x4ae000
brk(0x4b0000)                           = 0x4b0000
brk(0x4b1000)                           = 0x4b1000
read(4, "v.get_wifinet(self, net)\n\tif _uc"..., 4096) = 4096
brk(0x4b2000)                           = 0x4b2000
brk(0x4b3000)                           = 0x4b3000
brk(0x4b4000)                           = 0x4b4000
brk(0x4b5000)                           = 0x4b5000
brk(0x4b6000)                           = 0x4b6000
brk(0x4b7000)                           = 0x4b7000
brk(0x4b8000)                           = 0x4b8000
brk(0x4b9000)                           = 0x4b9000
read(4, "\treturn self.iwinfo.txpower or 0"..., 4096) = 1594
read(4, "", 2502)                       = 0
brk(0x4ba000)                           = 0x4ba000
brk(0x4bb000)                           = 0x4bb000
close(4)                                = 0
getuid()                                = 0
open("/usr/lib/lua/luci/model/network", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
brk(0x4bc000)                           = 0x4bc000
getdents64(4, /* 3 entries */, 4096)    = 88
brk(0x4bd000)                           = 0x4bd000
stat64(0x474520, 0x7ff836f0)            = -1 ENOENT (No such file or directory)
open("./luci/model/network/proto_ppp.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network/proto_ppp.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/luci/model/network/proto_ppp/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/luci/model/network/proto_ppp.lua", O_RDONLY) = 5
ioctl(5, TIOCNXCL, 0x7ff836e8)          = -1 ENOTTY (Inappropriate ioctl for device)
brk(0x4be000)                           = 0x4be000
close(5)                                = 0
open("/usr/lib/lua/luci/model/network/proto_ppp.lua", O_RDONLY) = 5
ioctl(5, TIOCNXCL, 0x7ff826f0)          = -1 ENOTTY (Inappropriate ioctl for device)
read(5, "--[[\nLuCI - Network model - 3G, "..., 4096) = 2104
read(5, "", 1992)                       = 0
brk(0x4bf000)                           = 0x4bf000
brk(0x4c0000)                           = 0x4c0000
brk(0x4c1000)                           = 0x4c1000
brk(0x4c2000)                           = 0x4c2000
close(5)                                = 0
getuid()                                = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(4, {sa_family=AF_NETLINK, pid=910, groups=00000000}, [12]) = 0
time(NULL)                              = 1320623537
sendto(4, "\24\0\0\0\22\0\1\3\261\35\267N\0\0\0\0\0\211H\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\360\0\0\0\20\0\2\0\261\35\267N\216\3\0\0\0\0\4\3\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 1464
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\261\35\267N\216\3\0\0\0\0\0\0\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
sendto(4, "\24\0\0\0\26\0\1\3\262\35\267N\0\0\0\0\0\211H\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"8\0\0\0\24\0\2\0\262\35\267N\216\3\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 116
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\262\35\267N\216\3\0\0\0\0\0\0\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(4)                                = 0
brk(0x4c3000)                           = 0x4c3000
brk(0x4c4000)                           = 0x4c4000
pipe([4753664, 715836424])              = 4
fcntl(4, F_GETFL)                       = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff83960)          = -1 EINVAL (Invalid argument)
brk(0x4c5000)                           = 0x4c5000
fork()                                  = 911
close(5)                                = 0
read(4, "bridge name\tbridge id\t\tSTP enabl"..., 4096) = 46
read(4, "", 4096)                       = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4)                                = 0
wait4(911, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 911
stat64(0x43e5f8, 0x7ff83980)            = 0
stat("/etc/config/network", {st_mode=S_IFREG|0644, st_size=324, ...}) = 0
open("/etc/config/network", O_RDONLY)   = 4
flock(4, LOCK_SH)                       = 0
lseek(4, 0, SEEK_SET)                   = 0
fcntl(4, F_GETFL)                       = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff83738)          = -1 ENOTTY (Inappropriate ioctl for device)
brk(0x4c6000)                           = 0x4c6000
read(4, "# Copyright (C) 2006 OpenWrt.org"..., 4096) = 324
read(4, "", 4096)                       = 0
brk(0x4c7000)                           = 0x4c7000
ioctl(2147483647, TIOCNXCL, 0x7ff836f0) = -1 EBADF (Bad file descriptor)
brk(0x4c8000)                           = 0x4c8000
stat("/tmp/.uci/network", 0x7ff83600)   = -1 ENOENT (No such file or directory)
flock(4, LOCK_UN)                       = 0
close(4)                                = 0
stat("/etc/config/wireless", {st_mode=S_IFREG|0644, st_size=500, ...}) = 0
open("/etc/config/wireless", O_RDONLY)  = 4
flock(4, LOCK_SH)                       = 0
lseek(4, 0, SEEK_SET)                   = 0
fcntl(4, F_GETFL)                       = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff83738)          = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "config wifi-device  wifi0\n\toptio"..., 4096) = 500
read(4, "", 4096)                       = 0
ioctl(2147483647, TIOCNXCL, 0x7ff836f0) = -1 EBADF (Bad file descriptor)
brk(0x4c9000)                           = 0x4c9000
stat("/tmp/.uci/wireless", 0x7ff83600)  = -1 ENOENT (No such file or directory)
flock(4, LOCK_UN)                       = 0
close(4)                                = 0
stat64(0x4c5f60, 0x7ff83610)            = -1 ENOENT (No such file or directory)
open("./iwinfo.lua", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./iwinfo.so", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff83688)          = -1 ENOTTY (Inappropriate ioctl for device)
close(4)                                = 0
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=63430, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaf000
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\36\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac73000
old_mmap(0x2ac73000, 53776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0x2ac73000
old_mmap(0x2ac90000, 10182, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xd000) = 0x2ac90000
old_mmap(0x2ac93000, 13744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac93000
close(4)                                = 0
munmap(0x2aaaf000, 4096)                = 0
open("/lib/liblua.so.5.1.4", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib/liblua.so.5.1.4", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib/liblua.so.5.1.4", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=209215, ...}) = 0
close(4)                                = 0
open("/lib/libnl-tiny.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libnl-tiny.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/libnl-tiny.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/etc/config/wireless", {st_mode=S_IFREG|0644, st_size=500, ...}) = 0
open("/etc/config/wireless", O_RDONLY)  = 4
flock(4, LOCK_SH)                       = 0
lseek(4, 0, SEEK_SET)                   = 0
fcntl(4, F_GETFL)                       = 0 (flags O_RDONLY)
ioctl(4, TIOCNXCL, 0x7ff836d8)          = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "config wifi-device  wifi0\n\toptio"..., 4096) = 500
read(4, "", 4096)                       = 0
brk(0x4ca000)                           = 0x4ca000
ioctl(2147483647, TIOCNXCL, 0x7ff83690) = -1 EBADF (Bad file descriptor)
brk(0x4cb000)                           = 0x4cb000
stat("/var/state/wireless", 0x7ff835a0) = -1 ENOENT (No such file or directory)
flock(4, LOCK_UN)                       = 0
close(4)                                = 0
stat64(0x4c5f60, 0x7ff83610)            = -1 ENOENT (No such file or directory)
open("./iwinfo.lua", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./iwinfo.so", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
ioctl(4, TIOCNXCL, 0x7ff83688)          = -1 ENOTTY (Inappropriate ioctl for device)
close(4)                                = 0
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=63430, ...}) = 0
close(4)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

comment:6 Changed 4 years ago by jow

This already helps, so the crash is in the libiwinfo library.
Please post the output of "iwinfo wifi0 info" and "strace iwinfo wifi0 info"

comment:7 Changed 4 years ago by jow

The last 100~200 lines are okay, no need for everything.

comment:8 Changed 4 years ago by anonymous

This is the command "info iwinfo wifi0"

root@OpenWrt:~# iwinfo wifi0 info
/usr/bin/lua: error loading module 'iwinfo' from file '/usr/lib/lua/iwinfo.so':
        File not found
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/bin/iwinfo:3: in main chunk
        [C]: ?
root@OpenWrt:~#

And this is "strace iwinfo wifi0 info"

root@OpenWrt:~# strace iwinfo wifi0 info
execve("/usr/bin/iwinfo", ["iwinfo", "wifi0", "info"], [/* 10 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaad000
stat("/etc/ld.so.cache", 0x7fa97730)    = -1 ENOENT (No such file or directory)
open("/lib/liblua.so.5.1.4", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib/liblua.so.5.1.4", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib/liblua.so.5.1.4", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=209215, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0@B\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 278528, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 204628, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aabe000
old_mmap(0x2ab00000, 4415, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x32000) = 0x2ab00000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libm.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=101571, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000\25\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 167936, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab02000
old_mmap(0x2ab02000, 101084, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab02000
old_mmap(0x2ab2a000, 3267, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x18000) = 0x2ab2a000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libcrypt.so.0", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10322, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0p\4\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2b000
old_mmap(0x2ab2b000, 10244, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab2b000
old_mmap(0x2ab3d000, 2130, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x2ab3d000
old_mmap(0x2ab3e000, 68400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab3e000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libdl.so.0", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=8310, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0`\10\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 77824, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab4f000
old_mmap(0x2ab4f000, 6496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab4f000
old_mmap(0x2ab60000, 4214, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x2ab60000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\33\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 131072, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab62000
old_mmap(0x2ab62000, 62732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab62000
old_mmap(0x2ab81000, 3371, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x2ab81000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \253\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 491520, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab82000
old_mmap(0x2ab82000, 400384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab82000
old_mmap(0x2abf3000, 8151, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x61000) = 0x2abf3000
old_mmap(0x2abf5000, 19456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2abf5000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
close(3)                                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=20706, ...}) = 0
mprotect(0x2ab60000, 4096, PROT_READ)   = 0
mprotect(0x2abf3000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
brk(0)                                  = 0x415000
brk(0x416000)                           = 0x416000
brk(0x417000)                           = 0x417000
brk(0x418000)                           = 0x418000
brk(0x419000)                           = 0x419000
brk(0x41a000)                           = 0x41a000
brk(0x41b000)                           = 0x41b000
brk(0x41c000)                           = 0x41c000
brk(0x41d000)                           = 0x41d000
brk(0x41e000)                           = 0x41e000
open("/usr/bin/iwinfo", O_RDONLY)       = 3
ioctl(3, TIOCNXCL, 0x7fa96720)          = -1 ENOTTY (Inappropriate ioctl for device)
brk(0x41f000)                           = 0x41f000
read(3, "#!/usr/bin/lua\n\nrequire \"iwinfo\""..., 4096) = 4096
read(3, "rg[2]:match(\"^c", 15)         = 15
brk(0x420000)                           = 0x420000
brk(0x421000)                           = 0x421000
brk(0x422000)                           = 0x422000
brk(0x423000)                           = 0x423000
brk(0x424000)                           = 0x424000
brk(0x425000)                           = 0x425000
brk(0x426000)                           = 0x426000
read(3, "\") then\n\tprint_countrylist(api, "..., 4096) = 85
read(3, "", 4011)                       = 0
brk(0x427000)                           = 0x427000
close(3)                                = 0
rt_sigaction(SIGINT, {0x10000000, [RT_68 RT_69], SA_SIGINFO|0x4013c4}, {SIG_DFL, [RT_68 RT_70 RT_71 RT_73 RT_75 RT_78 RT_79 RT_82 RT_83 RT_84 RT_86 RT_87 RT_90 RT_92], 0}, 16) = 0
open("./iwinfo.lua", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./iwinfo.so", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 3
ioctl(3, TIOCNXCL, 0x7fa97370)          = -1 ENOTTY (Inappropriate ioctl for device)
close(3)                                = 0
open("/usr/lib/lua/iwinfo.so", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=63430, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\36\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abfa000
old_mmap(0x2abfa000, 53776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2abfa000
old_mmap(0x2ac17000, 10182, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x2ac17000
old_mmap(0x2ac1a000, 13744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac1a000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/liblua.so.5.1.4", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib/liblua.so.5.1.4", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib/liblua.so.5.1.4", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=209215, ...}) = 0
close(3)                                = 0
open("/lib/libnl-tiny.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libnl-tiny.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/libnl-tiny.so", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGINT, {0x10000000, [RT_68 RT_69], 0}, {0x10000000, [RT_65], SA_SIGINFO|0x4013c4}, 16) = 0
write(2, "/usr/bin/lua", 12/usr/bin/lua)            = 12
write(2, ": ", 2: )                       = 2
write(2, "error loading module 'iwinfo' fr"..., 176error loading module 'iwinfo' from file '/usr/lib/lua/iwinfo.so':
        File not found
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/bin/iwinfo:3: in main chunk
        [C]: ?) = 176
write(2, "\n", 1
)                       = 1
exit(1)                                 = ?

Once again thank you very much for your time

comment:9 Changed 4 years ago by jow

Hmm, is it possible for you to arrange shell access for me? You can find me on freenode as jow_laptop or reach me via mail to jow - at - openwrt.org

comment:10 Changed 4 years ago by anonymous

This router lan works, but I will try to provide access for you. I will write how to log in to email. Thank you very much for your help

comment:11 Changed 4 years ago by anonymous

I sent you the data to log on to e-mail address.
Once again thank you very much for your help.
I greet
andy

comment:12 Changed 4 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

The crash was caused due to missing libnl-tiny, required by libiwinfo. After installing it, the ui works as expected.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.