Jump to content

Recommended Posts

Привет! Есть Viva (KN-1910) и Ultra (KN-1810) на последних stable прошивках с обновлённым entware. Поставил man, но на любую команду с man получаю Segmentation fault. Я такой один, или проблема известная и есть решение? Спасибо!

Скрытый текст
~ # strace /opt/bin/man exec
execve("/opt/bin/man", ["/opt/bin/man", "exec"], 0x7ffe8374 /* 17 vars */) = 0
brk(NULL)                               = 0x587000
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x773d7000
access("/opt/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/lib/tls/libmandb-2.10.2.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls", 0x7fd789e0)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/lib/libmandb-2.10.2.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/opt/lib", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
openat(AT_FDCWD, "/opt/lib/man-db/tls/libmandb-2.10.2.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/man-db/tls", 0x7fd789e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/lib/man-db/libmandb-2.10.2.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\240\17\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=20708, ...}) = 0
mmap2(NULL, 83920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x77394000
mprotect(0x77399000, 61440, PROT_NONE)  = 0
mmap2(0x773a8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x773a8000
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libman-2.10.2.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/lib/man-db/libman-2.10.2.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\360a\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=265688, ...}) = 0
mmap2(NULL, 311024, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x77348000
mprotect(0x77383000, 65536, PROT_NONE)  = 0
mmap2(0x77393000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x77393000
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libgdbm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\33\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=63280, ...}) = 0
mmap2(NULL, 123968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x77329000
mprotect(0x77338000, 61440, PROT_NONE)  = 0
mmap2(0x77347000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x77347000
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\27\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=89556, ...}) = 0
mmap2(NULL, 149488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x77304000
mprotect(0x77319000, 61440, PROT_NONE)  = 0
mmap2(0x77328000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x77328000
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libpipeline.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000\30\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=55284, ...}) = 0
mmap2(NULL, 115632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x772e7000
mprotect(0x772f3000, 65536, PROT_NONE)  = 0
mmap2(0x77303000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x77303000
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libiconv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\16\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=934324, ...}) = 0
mmap2(NULL, 989632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x771f5000
mprotect(0x772d6000, 65536, PROT_NONE)  = 0
mmap2(0x772e6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe1000) = 0x772e6000
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\20(\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=94236, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x773d5000
mmap2(NULL, 152704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x771cf000
mprotect(0x771e5000, 61440, PROT_NONE)  = 0
mmap2(0x771f4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x771f4000
mprotect(0x7fd79000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\240T\0\0004\0\0\0"..., 512) = 512
_llseek(3, 6340, [6340], SEEK_SET)      = 0
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0", 32) = 32
fstat64(3, {st_mode=S_IFREG|0755, st_size=123056, ...}) = 0
mmap2(NULL, 185392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x771a1000
mprotect(0x771bc000, 61440, PROT_NONE)  = 0
mmap2(0x771cb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x771cb000
mmap2(0x771cd000, 5168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x771cd000
close(3)                                = 0
openat(AT_FDCWD, "/opt/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0T\315\1\0004\0\0\0"..., 512) = 512
_llseek(3, 26116, [26116], SEEK_SET)    = 0
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0", 32) = 32
fstat64(3, {st_mode=S_IFREG|0755, st_size=1672960, ...}) = 0
mmap2(NULL, 1646736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7700e000
mprotect(0x77188000, 61440, PROT_NONE)  = 0
mmap2(0x77197000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x179000) = 0x77197000
mmap2(0x7719e000, 8336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7719e000
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x773d3000
set_thread_area(0x773da4a0)             = 0
mprotect(0x77197000, 16384, PROT_READ)  = 0
mprotect(0x771cb000, 4096, PROT_READ)   = 0
mprotect(0x773dc000, 4096, PROT_READ)   = 0
set_tid_address(0x773d3078)             = 13940
set_robust_list(0x773d3080, 12)         = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x771a5e68, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x771a5f6c, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 16) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=2147483647}) = 0
brk(NULL)                               = 0x587000
brk(0x5a8000)                           = 0x5a8000
umask(022)                              = 022
openat(AT_FDCWD, "/opt/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2931760, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76e0e000
close(3)                                = 0
fcntl64(0, F_GETFD)                     = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(2, F_GETFD)                     = 0
rt_sigaction(SIGHUP, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_73 RT_74 RT_79 RT_80 RT_87], sa_flags=0}, 16) = 0
rt_sigaction(SIGHUP, {sa_handler=0x7734e75c, sa_mask=[], sa_flags=0}, {sa_handler=SIG_DFL, sa_mask=[RT_73 RT_74 RT_79 RT_80 RT_87], sa_flags=0}, 16) = 0
rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_73 RT_74 RT_79 RT_80 RT_87], sa_flags=0}, 16) = 0
rt_sigaction(SIGINT, {sa_handler=0x7734e75c, sa_mask=[], sa_flags=0}, {sa_handler=SIG_DFL, sa_mask=[RT_73 RT_74 RT_79 RT_80 RT_87], sa_flags=0}, 16) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_73 RT_74 RT_79 RT_80 RT_87], sa_flags=0}, 16) = 0
rt_sigaction(SIGTERM, {sa_handler=0x7734e75c, sa_mask=[], sa_flags=0}, {sa_handler=SIG_DFL, sa_mask=[RT_73 RT_74 RT_79 RT_80 RT_87], sa_flags=0}, 16) = 0
openat(AT_FDCWD, "/opt/root/.manpath", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/etc/man_db.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0600, st_size=4349, ...}) = 0
read(3, "# \n#\n# This file is used by the "..., 4096) = 4096
read(3, " the terminal actually being use"..., 4096) = 253
read(3, "", 4096)                       = 0
close(3)                                = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid()                                = 13940
stat64("/opt/sbin/less", 0x7fd79360)    = -1 ENOENT (No such file or directory)
stat64("/opt/bin/less", {st_mode=S_IFREG|0755, st_size=190376, ...}) = 0
stat64("/opt/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/opt/usr/man", 0x7fd792e8)      = -1 ENOENT (No such file or directory)
stat64("/opt/usr/sbin/man", 0x7fd792e8) = -1 ENOENT (No such file or directory)
stat64("/opt/usr/share/man", 0x7fd792e8) = -1 ENOENT (No such file or directory)
stat64("/opt/usr/sbin/share/man", 0x7fd792e8) = -1 ENOENT (No such file or directory)
stat64("/opt/usr/man", 0x7fd792e8)      = -1 ENOENT (No such file or directory)
stat64("/opt/usr/bin/man", 0x7fd792e8)  = -1 ENOENT (No such file or directory)
stat64("/opt/usr/share/man", 0x7fd792e8) = -1 ENOENT (No such file or directory)
stat64("/opt/usr/bin/share/man", 0x7fd792e8) = -1 ENOENT (No such file or directory)
stat64("/usr/man", 0x7fd792e8)          = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/man", 0x7fd792e8)     = -1 ENOENT (No such file or directory)
stat64("/usr/share/man", 0x7fd792e8)    = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/share/man", 0x7fd792e8) = -1 ENOENT (No such file or directory)
stat64("/usr/man", 0x7fd792e8)          = -1 ENOENT (No such file or directory)
stat64("/usr/bin/man", 0x7fd792e8)      = -1 ENOENT (No such file or directory)
stat64("/usr/share/man", 0x7fd792e8)    = -1 ENOENT (No such file or directory)
stat64("/usr/bin/share/man", 0x7fd792e8) = -1 ENOENT (No such file or directory)
stat64("/man", 0x7fd792e8)              = -1 ENOENT (No such file or directory)
stat64("/sbin/man", 0x7fd792e8)         = -1 ENOENT (No such file or directory)
stat64("/share/man", 0x7fd792e8)        = -1 ENOENT (No such file or directory)
stat64("/sbin/share/man", 0x7fd792e8)   = -1 ENOENT (No such file or directory)
stat64("/man", 0x7fd792e8)              = -1 ENOENT (No such file or directory)
stat64("/bin/man", 0x7fd792e8)          = -1 ENOENT (No such file or directory)
stat64("/share/man", 0x7fd792e8)        = -1 ENOENT (No such file or directory)
stat64("/bin/share/man", 0x7fd792e8)    = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/share/man", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, 0x589108 /* 10 entries */, 32768) = 240
getdents64(3, 0x589108 /* 0 entries */, 32768) = 0
close(3)                                = 0
stat64("/opt/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/opt/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/opt/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/opt/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/opt/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/opt/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV +++
Segmentation fault
~ # 

 

 

Edited by PoliceMan
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...