Hello dear sirs, I'm getting SIGSEGV when trying to configure unit via TCP socket. Here's my env:
[root@dev ~]# strace -p 21835
Process 21835 attached
write(2, "2017/10/24 19:58:27.562 [debug] "..., 62) = 62
write(2, "2017/10/24 19:58:27.562 [info] 2"..., 93) = 93
write(2, "2017/10/24 19:58:27.562 [debug] "..., 86) = 86
write(2, "2017/10/24 19:58:27.562 [debug] "..., 69) = 69
epoll_wait(3, {{EPOLLIN, {u32=22244816, u64=22244816}}}, 32, -1) = 1
write(2, "2017/10/24 19:58:38.736 [debug] "..., 61) = 61
write(2, "2017/10/24 19:58:38.736 [debug] "..., 84) = 84
write(2, "2017/10/24 19:58:38.736 [debug] "..., 86) = 86
write(2, "2017/10/24 19:58:38.736 [debug] "..., 63) = 63
accept4(6, {sa_family=AF_INET, sin_port=htons(40230), sin_addr=inet_addr("127.0.0.1")}, [16], SOCK_NONBLOCK) = 11
write(2, "2017/10/24 19:58:38.736 [debug] "..., 59) = 59
write(2, "2017/10/24 19:58:38.736 [debug] "..., 62) = 62
write(2, "2017/10/24 19:58:38.736 [debug] "..., 65) = 65
write(2, "2017/10/24 19:58:38.736 [debug] "..., 77) = 77
write(2, "2017/10/24 19:58:38.736 [debug] "..., 62) = 62
write(2, "2017/10/24 19:58:38.736 [debug] "..., 63) = 63
accept4(6, 0x1541748, [16], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "2017/10/24 19:58:38.736 [debug] "..., 94) = 94
write(2, "2017/10/24 19:58:38.736 [debug] "..., 61) = 61
write(2, "2017/10/24 19:58:38.736 [debug] "..., 74) = 74
write(2, "2017/10/24 19:58:38.736 [debug] "..., 77) = 77
write(2, "2017/10/24 19:58:38.736 [debug] "..., 77) = 77
write(2, "2017/10/24 19:58:38.736 [debug] "..., 78) = 78
write(2, "2017/10/24 19:58:38.736 [debug] "..., 61) = 61
write(2, "2017/10/24 19:58:38.736 [debug] "..., 74) = 74
write(2, "2017/10/24 19:58:38.736 [debug] "..., 70) = 70
recvfrom(11, "GET / HTTP/1.1\r\nUser-Agent: curl"..., 1024, 0, NULL, NULL) = 167
write(2, "2017/10/24 19:58:38.736 [debug] "..., 81) = 81
write(2, "2017/10/24 19:58:38.736 [debug] "..., 61) = 61
write(2, "2017/10/24 19:58:38.736 [debug] "..., 68) = 68
write(2, "2017/10/24 19:58:38.736 [debug] "..., 118) = 118
write(2, "2017/10/24 19:58:38.736 [debug] "..., 65) = 65
write(2, "2017/10/24 19:58:38.736 [debug] "..., 79) = 79
write(2, "2017/10/24 19:58:38.736 [debug] "..., 74) = 74
write(2, "2017/10/24 19:58:38.736 [debug] "..., 64) = 64
write(2, "2017/10/24 19:58:38.736 [debug] "..., 62) = 62
write(2, "2017/10/24 19:58:38.736 [debug] "..., 64) = 64
write(2, "2017/10/24 19:58:38.736 [debug] "..., 72) = 72
write(2, "2017/10/24 19:58:38.736 [debug] "..., 71) = 71
writev(11, [{"HTTP/1.1 200 OK\r\nServer: unit/0."..., 145}, {"{\r\n\t"listeners": {},\r\n\t"applicat"..., 46}], 2) = 191
write(2, "2017/10/24 19:58:38.736 [debug] "..., 66) = 66
write(2, "2017/10/24 19:58:38.736 [debug] "..., 72) = 72
write(2, "2017/10/24 19:58:38.736 [debug] "..., 66) = 66
write(2, "2017/10/24 19:58:38.736 [debug] "..., 62) = 62
write(2, "2017/10/24 19:58:38.736 [debug] "..., 69) = 69
write(2, "2017/10/24 19:58:38.736 [debug] "..., 78) = 78
write(2, "2017/10/24 19:58:38.736 [debug] "..., 69) = 69
write(2, "2017/10/24 19:58:38.736 [debug] "..., 70) = 70
write(2, "2017/10/24 19:58:38.736 [debug] "..., 65) = 65
write(2, "2017/10/24 19:58:38.736 [debug] "..., 75) = 75
shutdown(11, SHUT_RDWR) = 0
write(2, "2017/10/24 19:58:38.736 [debug] "..., 63) = 63
write(2, "2017/10/24 19:58:38.736 [debug] "..., 62) = 62
write(2, "2017/10/24 19:58:38.736 [debug] "..., 72) = 72
close(11) = 0
write(2, "2017/10/24 19:58:38.736 [debug] "..., 64) = 64
write(2, "2017/10/24 19:58:38.736 [debug] "..., 61) = 61
write(2, "2017/10/24 19:58:38.736 [debug] "..., 68) = 68
write(2, "2017/10/24 19:58:38.736 [debug] "..., 58) = 58
write(2, "2017/10/24 19:58:38.736 [debug] "..., 58) = 58
write(2, "2017/10/24 19:58:38.736 [debug] "..., 58) = 58
write(2, "2017/10/24 19:58:38.736 [debug] "..., 58) = 58
write(2, "2017/10/24 19:58:38.736 [debug] "..., 58) = 58
write(2, "2017/10/24 19:58:38.736 [debug] "..., 58) = 58
write(2, "2017/10/24 19:58:38.736 [debug] "..., 58) = 58
write(2, "2017/10/24 19:58:38.736 [debug] "..., 69) = 69
epoll_wait(3, {{EPOLLIN, {u32=22244816, u64=22244816}}}, 32, -1) = 1
write(2, "2017/10/24 19:59:16.646 [debug] "..., 61) = 61
write(2, "2017/10/24 19:59:16.646 [debug] "..., 84) = 84
write(2, "2017/10/24 19:59:16.646 [debug] "..., 86) = 86
write(2, "2017/10/24 19:59:16.646 [debug] "..., 63) = 63
accept4(6, {sa_family=AF_INET, sin_port=htons(40232), sin_addr=inet_addr("127.0.0.1")}, [16], SOCK_NONBLOCK) = 11
write(2, "2017/10/24 19:59:16.646 [debug] "..., 59) = 59
write(2, "2017/10/24 19:59:16.646 [debug] "..., 62) = 62
write(2, "2017/10/24 19:59:16.646 [debug] "..., 65) = 65
write(2, "2017/10/24 19:59:16.646 [debug] "..., 77) = 77
write(2, "2017/10/24 19:59:16.646 [debug] "..., 62) = 62
write(2, "2017/10/24 19:59:16.646 [debug] "..., 63) = 63
accept4(6, 0x1541708, [16], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "2017/10/24 19:59:16.646 [debug] "..., 94) = 94
write(2, "2017/10/24 19:59:16.646 [debug] "..., 61) = 61
write(2, "2017/10/24 19:59:16.646 [debug] "..., 74) = 74
write(2, "2017/10/24 19:59:16.646 [debug] "..., 77) = 77
write(2, "2017/10/24 19:59:16.646 [debug] "..., 77) = 77
write(2, "2017/10/24 19:59:16.646 [debug] "..., 78) = 78
write(2, "2017/10/24 19:59:16.646 [debug] "..., 61) = 61
write(2, "2017/10/24 19:59:16.646 [debug] "..., 74) = 74
write(2, "2017/10/24 19:59:16.646 [debug] "..., 70) = 70
recvfrom(11, "PUT /applications/test HTTP/1.1\r"..., 1024, 0, NULL, NULL) = 315
write(2, "2017/10/24 19:59:16.646 [debug] "..., 81) = 81
write(2, "2017/10/24 19:59:16.646 [debug] "..., 61) = 61
write(2, "2017/10/24 19:59:16.646 [debug] "..., 68) = 68
write(2, "2017/10/24 19:59:16.646 [debug] "..., 120) = 120
write(2, "2017/10/24 19:59:16.646 [debug] "..., 65) = 65
write(2, "2017/10/24 19:59:16.646 [debug] "..., 65) = 65
write(2, "2017/10/24 19:59:16.646 [debug] "..., 79) = 79
write(2, "2017/10/24 19:59:16.646 [debug] "..., 65) = 65
write(2, "2017/10/24 19:59:16.646 [debug] "..., 65) = 65
write(2, "2017/10/24 19:59:16.646 [debug] "..., 79) = 79
write(2, "2017/10/24 19:59:16.646 [debug] "..., 58) = 58
write(2, "2017/10/24 19:59:16.646 [debug] "..., 58) = 58
write(2, "2017/10/24 19:59:16.646 [debug] "..., 58) = 58
write(2, "2017/10/24 19:59:16.646 [debug] "..., 65) = 65
write(2, "2017/10/24 19:59:16.646 [debug] "..., 79) = 79
write(2, "2017/10/24 19:59:16.646 [debug] "..., 75) = 75
write(2, "2017/10/24 19:59:16.646 [debug] "..., 78) = 78
write(2, "2017/10/24 19:59:16.646 [debug] "..., 64) = 64
write(2, "2017/10/24 19:59:16.646 [debug] "..., 67) = 67
ftruncate(0, 10489856) = -1 EINVAL (Invalid argument)
write(2, "2017/10/24 19:59:16.646 [warn] 2"..., 88) = 88
write(2, "2017/10/24 19:59:16.646 [debug] "..., 58) = 58
write(2, "2017/10/24 19:59:16.649 [debug] "..., 79) = 79
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x30} ---
+++ killed by SIGSEGV +++
I'm ready to provide more info as needed.