Re: ZWay crashing daily
Posted: 07 Apr 2017 12:23
I have the same problem with 2.3.1 How can it be resolved? As this is not a desired situation...
Code: Select all
$ screen
Code: Select all
$ sudo su
Code: Select all
$ exit
Code: Select all
$ sudo /etc/init.d/z-way-server stop
Code: Select all
$ cd /opt/z-way-server
Code: Select all
$ LD_LIBRARY_PATH=./libs gdb ./z-way-server
Code: Select all
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x743ff450 (LWP 22061)]
0x769882f4 in send () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb)
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x71fff450 (LWP 21411)]
0x75728588 in zwjs::SocketConnection::IsConfigured() const ()
from ./modules/modsockets.so
(gdb)
Code: Select all
Program received signal SIGHUP, Hangup.
0x76403360 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb)
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x71fff450 (LWP 21411)]
0x75728588 in zwjs::SocketConnection::IsConfigured() const ()
from ./modules/modsockets.so
(gdb) info thread
Id Target Id Frame
11 Thread 0x71eff450 (LWP 20033) "zway/sockets" 0x7642e964 in select ()
at ../sysdeps/unix/syscall-template.S:81
10 Thread 0x726ff450 (LWP 20032) "zway/timers" 0x76403360 in nanosleep ()
at ../sysdeps/unix/syscall-template.S:81
9 Thread 0x738ff450 (LWP 20031) "zway/core" 0x7642e964 in select ()
at ../sysdeps/unix/syscall-template.S:81
8 Thread 0x742ff450 (LWP 20030) "zway/webserver" 0x7642e964 in select ()
at ../sysdeps/unix/syscall-template.S:81
7 Thread 0x74e7f450 (LWP 20029) "zway/core" 0x76403360 in nanosleep ()
at ../sysdeps/unix/syscall-template.S:81
6 Thread 0x74e8f450 (LWP 20028) "v8:SweeperThrea" 0x76986a40 in do_futex_wait (isem=isem@entry=0x64764) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
5 Thread 0x74e9f450 (LWP 20027) "v8:SweeperThrea" 0x76986a40 in do_futex_wait (isem=isem@entry=0x6465c) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
4 Thread 0x74eaf450 (LWP 20026) "v8:SweeperThrea" 0x76986a40 in do_futex_wait (isem=isem@entry=0x64554) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
3 Thread 0x74ebf450 (LWP 20025) "v8:SweeperThrea" 0x76986a40 in do_futex_wait (isem=isem@entry=0x6444c) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
2 Thread 0x756bf450 (LWP 20024) "OptimizingCompi" 0x76986a40 in do_futex_wait (isem=isem@entry=0x64304) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
* 1 Thread 0x7634b000 (LWP 20021) "z-way-server" 0x76403360 in nanosleep ()
at ../sysdeps/unix/syscall-template.S:81
(gdb) bt
#0 0x76403360 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x76403098 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:137
#2 0x0000aeb4 in main ()
(gdb)
Code: Select all
$ sudo /etc/init.d/z-way-sever restart
Code: Select all
$ sudo killall -9 z-way-server