Z-way server goes down spontaneously

Discussions about Z-Way software and Z-Wave technology in general
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Z-way server goes down spontaneously

Post by PoltoS »

Hm... This looks like either some critical race condition we have never seen or a low memory. Can you monitor the memory of your Pi? Is it a Pi? Do you use other services that can eat memory?
User avatar
GokMasE
Posts: 59
Joined: 13 Mar 2016 01:04
Location: Sweden

Re: Z-way server goes down spontaneously

Post by GokMasE »

PoltoS wrote:
08 Jan 2020 04:59
Hm... This looks like either some critical race condition we have never seen or a low memory. Can you monitor the memory of your Pi? Is it a Pi? Do you use other services that can eat memory?
Yes, it is a RPi3.

I can only recall installing Zway.me, and in december I updated from Jessie to Stretch in order to get 3.0.0 installed and working.

Recent sessions I did keep an eye on mem useage and could not see any memory footprint building up, but unfortunately I forgot to check the memory situation at the actual time of the latest crash :/

I will keep an eye out for that on next test session.


Regards,

/Joakim
Wikibear
Posts: 102
Joined: 01 Jul 2016 14:10

Re: Z-way server goes down spontaneously

Post by Wikibear »

Same Issue here. Running on 3.0.3. API doesn't work and no communication with devices. Dashboard is working. Storage page is also not working, that i can't update to next version if exist... After full reboot, everything is fine.

Code: Select all

https://storage.z-wave.me/z-way-serverz-way-3.0.3-13-g771b1d7_armhf.deb
Image

Image

Logs say:

Code: Select all

[2020-01-09 16:51:33.425] [D] [zway] SENT ACK
[2020-01-09 16:51:33.425] [D] [zway] SETDATA devices.4.data.lastReceived = 0 (0x00000000)
[2020-01-09 16:51:33.426] [D] [zway] SETDATA devices.4.instances.0.commandClasses.67.data.1.size = **********
[2020-01-09 16:51:33.426] [D] [zway] SETDATA devices.4.instances.0.commandClasses.67.data.1.precision = **********
[2020-01-09 16:51:33.426] [D] [zway] SETDATA devices.4.instances.0.commandClasses.67.data.1.deviceScale = 0 (0x00000000)
[2020-01-09 16:51:33.426] [D] [zway] SETDATA devices.4.instances.0.commandClasses.67.data.1.deviceScaleString = "°C"
[2020-01-09 16:51:33.426] [D] [zway] SETDATA devices.4.instances.0.commandClasses.67.data.1.val = 20.000000
[2020-01-09 16:51:33.426] [D] [zway] SETDATA devices.4.instances.0.commandClasses.67.data.1.setVal = 20.000000
[2020-01-09 16:51:33.426] [D] [zway] SETDATA devices.4.instances.0.commandClasses.67.data.1 = Empty
[2020-01-09 16:51:33.445] [D] [zway] RECEIVED: ( 01 0C 00 04 00 04 04 46 08 00 7F B9 00 7F )
[2020-01-09 16:51:33.445] [D] [zway] SENT ACK
[2020-01-09 16:51:33.445] [D] [zway] SETDATA devices.4.data.lastReceived = 0 (0x00000000)
[2020-01-09 16:51:33.466] [D] [zway] RECEIVED: ( 01 0A 00 04 00 04 02 84 07 B9 00 CD )
[2020-01-09 16:51:33.466] [D] [zway] SENT ACK
[2020-01-09 16:51:33.466] [D] [zway] SETDATA devices.4.data.lastReceived = 0 (0x00000000)
[2020-01-09 16:51:33.466] [I] [zway] Node 4:0 CC Wakeup: Wakeup notification
[2020-01-09 16:51:33.466] [D] [zway] SETDATA devices.4.instances.0.commandClasses.132.data.lastWakeup = 1578585093 (0x5e174c05)
[2020-01-09 16:51:33.466] [D] [zway] SETDATA devices.4.data.isAwake = True
[2020-01-09 16:51:33.466] [D] [zway] SETDATA devices.4.data.lastSendInternal = **********
[2020-01-09 16:51:33.466] [D] [zway] SETDATA devices.4.data.lastNonceGet = 66800126 (0x03fb49fe)
[2020-01-09 16:51:33.466] [D] [zway] Running wakeup handler for node 4
[2020-01-09 16:51:33.466] [D] [zway] SETDATA devices.4.instances.0.commandClasses.132.data.lastSleep = 1578585093 (0x5e174c05)
[2020-01-09 16:51:33.466] [I] [zway] Node 4:0 CC Wakeup: Send node to sleep
[2020-01-09 16:51:33.467] [I] [zway] Adding job: Wakeup Sleep
[2020-01-09 16:51:33.467] [D] [zway] SENDING (cb 0x48): ( 01 09 00 13 04 02 84 08 05 48 22 )
[2020-01-09 16:51:33.476] [D] [zway] RECEIVED ACK
[2020-01-09 16:51:33.476] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-01-09 16:51:33.476] [D] [zway] SENT ACK
[2020-01-09 16:51:33.476] [D] [zway] Delivered to Z-Wave stack
[2020-01-09 16:51:33.496] [D] [zway] RECEIVED: ( 01 18 00 13 48 00 00 02 00 BB 7F 7F 7F 7F 01 01 03 00 00 00 00 02 01 00 00 05 )
[2020-01-09 16:51:33.496] [D] [zway] SENT ACK
[2020-01-09 16:51:33.496] [I] [zway] Job 0x13 (Wakeup Sleep): Delivered
[2020-01-09 16:51:33.496] [D] [zway] SendData Response with callback 0x48 received: received by recipient
[2020-01-09 16:51:33.496] [D] [zway] SETDATA devices.4.data.lastSendInternal = **********
[2020-01-09 16:51:33.496] [D] [zway] SETDATA devices.4.data.lastSend = 66801129 (0x03fb4de9)
[2020-01-09 16:51:33.496] [D] [zway] Job 0x13 (Wakeup Sleep): success
[2020-01-09 16:51:33.497] [D] [zway] SETDATA devices.4.data.isAwake = False
[2020-01-09 16:51:33.497] [D] [zway] Sending the queue for node 4 into sleep
[2020-01-09 16:51:33.497] [I] [zway] Removing job: Wakeup Sleep
[2020-01-09 16:51:48.972] [D] [zway] Job 0x3b: deleted from queue
[2020-01-09 16:51:53.750] [D] [zway] Job 0x13: deleted from queue
[2020-01-09 16:51:58.695] [I] [zway] Adding job: Get background noise level
[2020-01-09 16:51:58.697] [D] [zway] SENDING: ( 01 03 00 3B C7 )
[2020-01-09 16:51:58.698] [D] [zway] RECEIVED ACK
[2020-01-09 16:51:58.698] [D] [zway] RECEIVED: ( 01 05 01 3B AD AA C7 )
[2020-01-09 16:51:58.698] [D] [zway] SENT ACK
[2020-01-09 16:51:58.698] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel1 = 173 (0x000000ad)
[2020-01-09 16:51:58.698] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel2 = 170 (0x000000aa)
[2020-01-09 16:51:58.698] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel3 = 127 (0x0000007f)
[2020-01-09 16:51:58.699] [I] [zway] Job 0x3b (Get background noise level): RSSI Ch#1: -86 dBm, Ch#2: -86 dBm, Ch#3: invalid
[2020-01-09 16:51:58.699] [D] [zway] Job 0x3b (Get background noise level): success
[2020-01-09 16:51:58.699] [I] [zway] Removing job: Get background noise level
Greatings from the noob
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Z-way server goes down spontaneously

Post by PoltoS »

Please be more specific. v3.0.3-13 works or not?
User avatar
GokMasE
Posts: 59
Joined: 13 Mar 2016 01:04
Location: Sweden

Re: Z-way server goes down spontaneously

Post by GokMasE »

PoltoS wrote:
08 Jan 2020 04:59
Hm... This looks like either some critical race condition we have never seen or a low memory. Can you monitor the memory of your Pi? Is it a Pi? Do you use other services that can eat memory?
I have kept TOP running and could not see any memory building up during the day. Is there any way to log memory usage over time somehow?
Suddenly I got a new segmentation fault, which is covered in the log data below:

Code: Select all

[New Thread 0x703ff450 (LWP 25206)]
[Thread 0x703ff450 (LWP 25206) exited]
[New Thread 0x703ff450 (LWP 25207)]
[Thread 0x703ff450 (LWP 25207) exited]
[New Thread 0x703ff450 (LWP 25208)]
[Thread 0x703ff450 (LWP 25208) exited]
[New Thread 0x703ff450 (LWP 25209)]
[Thread 0x703ff450 (LWP 25209) exited]
[New Thread 0x703ff450 (LWP 25210)]
[Thread 0x703ff450 (LWP 25210) exited]
[New Thread 0x703ff450 (LWP 25211)]
[Thread 0x703ff450 (LWP 25211) exited]
[New Thread 0x703ff450 (LWP 25212)]
[Thread 0x703ff450 (LWP 25212) exited]
[New Thread 0x703ff450 (LWP 25213)]
[Thread 0x703ff450 (LWP 25213) exited]
[New Thread 0x703ff450 (LWP 25214)]
[Thread 0x703ff450 (LWP 25214) exited]
[New Thread 0x703ff450 (LWP 25215)]
[Thread 0x703ff450 (LWP 25215) exited]
[New Thread 0x703ff450 (LWP 25220)]
[New Thread 0x6fbfe450 (LWP 25221)]
[Thread 0x6fbfe450 (LWP 25221) exited]
[Thread 0x703ff450 (LWP 25220) exited]
[New Thread 0x703ff450 (LWP 25222)]
[New Thread 0x6fbfe450 (LWP 25223)]

Thread 7 "zway/core" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x73539450 (LWP 365)]
0x76c03e64 in v8::internal::GlobalHandles::Create(v8::internal::Object*) ()
   from libs/libv8.so
(gdb) i thr
  Id   Target Id         Frame
  1    Thread 0x76ff6140 (LWP 351) "z-way-server" 0x76350030 in nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  2    Thread 0x73d6d450 (LWP 357) "OptimizingCompi" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x59ec4)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  3    Thread 0x7405b450 (LWP 361) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a014)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  4    Thread 0x7356c450 (LWP 362) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a134)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  5    Thread 0x7355b450 (LWP 363) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a254)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  6    Thread 0x7354a450 (LWP 364) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a374)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
* 7    Thread 0x73539450 (LWP 365) "zway/core" 0x76c03e64 in v8::internal::GlobalHandles::Create(v8::internal::Object*) () from libs/libv8.so
  8    Thread 0x729ff450 (LWP 368) "zway/webserver" 0x76350030 in nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  9    Thread 0x721fe450 (LWP 369) "zway/timers" 0x76350030 in nanosleep ()
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/syscall-template.S:84
  10   Thread 0x713ff450 (LWP 370) "zway/core" 0x7637e674 in select ()
    at ../sysdeps/unix/syscall-template.S:84
  73413 Thread 0x703ff450 (LWP 25222) "zway/core" 0x7637c120 in poll ()
    at ../sysdeps/unix/syscall-template.S:84
  73414 Thread 0x6fbfe450 (LWP 25223) "zway/core" 0x7637c120 in poll ()
    at ../sysdeps/unix/syscall-template.S:84
(gdb) bt
#0  0x76c03e64 in v8::internal::GlobalHandles::Create(v8::internal::Object*) ()
   from libs/libv8.so
#1  0x76b50c1c in v8::V8::GlobalizeReference(v8::internal::Isolate*, v8::internal::Object**) () from libs/libv8.so
#2  0x73d7b328 in zwjs::SafeValue::SafeValue(v8::Isolate*, v8::Handle<v8::Value>) () from ./modules/modhttp.so
#3  0x73d7b768 in zwjs::SafeValue::New(v8::Isolate*, v8::Handle<v8::Value>) ()
   from ./modules/modhttp.so
#4  0x73d7a2b8 in zwjs::Http::Request(v8::FunctionCallbackInfo<v8::Value> const&) () from ./modules/modhttp.so
#5  0x76b70bc0 in v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) () from libs/libv8.so
#6  0x76b8c4a4 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) () from libs/libv8.so
#7  0x42b0a3a8 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

Regarding my particular setup - I also have the module "Link Telldus Live! devices" installed. It installs any device present in the Telldus Live API as virtual devices through the zway.me server. Not sure if that is important or not, but it struck me I forgot to mention this in previous posts in this thread.



Regards,

/Joakim
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Z-way server goes down spontaneously

Post by PoltoS »

Hm... and if you disable this module for few days, will it stop crashing? Please test this and then we will dig a big more in your issue.
User avatar
GokMasE
Posts: 59
Joined: 13 Mar 2016 01:04
Location: Sweden

Re: Z-way server goes down spontaneously

Post by GokMasE »

PoltoS wrote:
12 Jan 2020 02:18
Hm... and if you disable this module for few days, will it stop crashing? Please test this and then we will dig a big more in your issue.
Disabling the module did not affect the crash situation I'm afraid - had a new SIGSEGV waiting for me this morning:

Code: Select all

[New Thread 0x6f9fe450 (LWP 13094)]
[New Thread 0x6f1fd450 (LWP 13095)]
[Thread 0x6f1fd450 (LWP 13095) exited]
[Thread 0x6f9fe450 (LWP 13094) exited]
[New Thread 0x6f9fe450 (LWP 13096)]
[Thread 0x6f9fe450 (LWP 13096) exited]
[New Thread 0x6f9fe450 (LWP 13097)]
[Thread 0x6f9fe450 (LWP 13097) exited]
[New Thread 0x6f9fe450 (LWP 13098)]
[Thread 0x6f9fe450 (LWP 13098) exited]
[New Thread 0x6f9fe450 (LWP 13099)]
[Thread 0x6f9fe450 (LWP 13099) exited]

Thread 7 "zway/core" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x733fe450 (LWP 25827)]
0x76c03e64 in v8::internal::GlobalHandles::Create(v8::internal::Object*) ()
   from libs/libv8.so
(gdb) i thr
  Id   Target Id         Frame
  1    Thread 0x76ff6140 (LWP 25821) "z-way-server" 0x76350030 in nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  2    Thread 0x73bff450 (LWP 25822) "OptimizingCompi" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x59eac)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  3    Thread 0x7405b450 (LWP 25823) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a00c)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  4    Thread 0x73d6d450 (LWP 25824) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a12c)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  5    Thread 0x73d5c450 (LWP 25825) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a24c)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  6    Thread 0x73d4b450 (LWP 25826) "v8:SweeperThrea" 0x765f6068 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x5a36c)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
* 7    Thread 0x733fe450 (LWP 25827) "zway/core" 0x76c03e64 in v8::internal::GlobalHandles::Create(v8::internal::Object*) () from libs/libv8.so
  8    Thread 0x721ff450 (LWP 25830) "zway/webserver" 0x76350030 in nanosleep
    () at ../sysdeps/unix/syscall-template.S:84
  9    Thread 0x719fe450 (LWP 25831) "zway/timers" 0x76350030 in nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  10   Thread 0x70fff450 (LWP 25832) "zway/core" 0x7637e674 in select ()
    at ../sysdeps/unix/syscall-template.S:84
(gdb) bt
#0  0x76c03e64 in v8::internal::GlobalHandles::Create(v8::internal::Object*) ()
   from libs/libv8.so
#1  0x76b50c1c in v8::V8::GlobalizeReference(v8::internal::Isolate*, v8::internal::Object**) () from libs/libv8.so
#2  0x73d7b328 in zwjs::SafeValue::SafeValue(v8::Isolate*, v8::Handle<v8::Value>) () from ./modules/modhttp.so
#3  0x73d7b768 in zwjs::SafeValue::New(v8::Isolate*, v8::Handle<v8::Value>) ()
   from ./modules/modhttp.so
#4  0x73d7a2b8 in zwjs::Http::Request(v8::FunctionCallbackInfo<v8::Value> const&) () from ./modules/modhttp.so
#5  0x76b70bc0 in v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) () from libs/libv8.so
#6  0x76b8c4a4 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) () from libs/libv8.so
#7  0x73c0a3a8 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

End of related z-way-server.log:

Code: Select all

[2020-01-12 05:44:53.037] [I] [core] ---  ZWayVDev_zway_2-0-37 performCommand processing: {"0":"on","1":{}}
[2020-01-12 05:44:53.038] [I] [zway] Adding job: SwitchBinary Set
[2020-01-12 05:44:53.038] [I] [zway] Adding job: SwitchBinary Get
[2020-01-12 05:44:53.042] [D] [zway] SENDING (cb 0xb4): ( 01 0A 00 13 02 03 25 01 FF 25 B4 AD )
[2020-01-12 05:44:53.044] [D] [zway] RECEIVED ACK
[2020-01-12 05:44:53.048] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-01-12 05:44:53.048] [D] [zway] SENT ACK
[2020-01-12 05:44:53.048] [D] [zway] Delivered to Z-Wave stack
[2020-01-12 05:44:53.073] [D] [zway] RECEIVED: ( 01 07 00 13 B4 00 00 02 5D )
[2020-01-12 05:44:53.073] [D] [zway] SENT ACK
[2020-01-12 05:44:53.073] [I] [zway] Job 0x13 (SwitchBinary Set): Delivered
[2020-01-12 05:44:53.073] [D] [zway] SendData Response with callback 0xb4 received: received by recipient
[2020-01-12 05:44:53.073] [D] [zway] SETDATA devices.2.data.lastSendInternal = **********
[2020-01-12 05:44:53.073] [D] [zway] SETDATA devices.2.data.lastSend = 3577979 (0x0036987b)
[2020-01-12 05:44:53.074] [D] [zway] Job 0x13 (SwitchBinary Set): success
[2020-01-12 05:44:53.074] [I] [zway] Removing job: SwitchBinary Set
[2020-01-12 05:44:53.113] [D] [zway] SENDING (cb 0xb5): ( 01 09 00 13 02 02 25 02 25 B5 52 )
[2020-01-12 05:44:53.115] [D] [zway] RECEIVED ACK
[2020-01-12 05:44:53.119] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-01-12 05:44:53.119] [D] [zway] SENT ACK
[2020-01-12 05:44:53.119] [D] [zway] Delivered to Z-Wave stack
[2020-01-12 05:44:53.144] [D] [zway] RECEIVED: ( 01 07 00 13 B5 00 00 02 5C )
[2020-01-12 05:44:53.144] [D] [zway] SENT ACK
[2020-01-12 05:44:53.144] [I] [zway] Job 0x13 (SwitchBinary Get): Delivered
[2020-01-12 05:44:53.145] [D] [zway] SendData Response with callback 0xb5 received: received by recipient
[2020-01-12 05:44:53.145] [D] [zway] SETDATA devices.2.data.lastSendInternal = **********
[2020-01-12 05:44:53.145] [D] [zway] SETDATA devices.2.data.lastSend = 3577986 (0x00369882)
[2020-01-12 05:44:53.145] [D] [zway] Job 0x13 (SwitchBinary Get): success
[2020-01-12 05:44:53.145] [I] [zway] Waiting for job reply: SwitchBinary Get
[2020-01-12 05:44:53.154] [D] [zway] RECEIVED: ( 01 09 00 04 00 02 03 25 03 FF 2A )
[2020-01-12 05:44:53.154] [D] [zway] SENT ACK
[2020-01-12 05:44:53.155] [D] [zway] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2020-01-12 05:44:53.155] [D] [zway] Received reply on job (SwitchBinary Get)
[2020-01-12 05:44:53.155] [D] [zway] SETDATA devices.2.instances.0.commandClasses.37.data.level = True
[2020-01-12 05:44:53.171] [I] [core] Notification: device-info (device-OnOff): {"dev":"Switch (2.0)","l":"on","location":1}
[2020-01-12 05:44:53.171] [I] [core] http://192.168.1.3:1025/ZWave?Cmd=CBck&Dev=%DEVICE%&Lev=%VALUE% : ZWayVDev_zway_2-0-37 : on : http://192.168.1.3:1025/ZWave?Cmd=CBck&Dev=ZWayVDev_zway_2-0-37&Lev=on
[2020-01-12 05:44:53.265] [I] [core] Request was successful
[2020-01-12 05:44:53.459] [D] [zway] Job 0x13: deleted from queue
[2020-01-12 05:44:55.287] [D] [zway] Job 0x13: deleted from queue
[2020-01-12 05:44:55.318] [D] [zway] RECEIVED: ( 01 12 00 04 00 0B 0C 60 0D 03 03 31 05 01 44 00 00 09 15 EE )
[2020-01-12 05:44:55.318] [D] [zway] SENT ACK
[2020-01-12 05:44:55.318] [D] [zway] SETDATA devices.11.data.lastReceived = 0 (0x00000000)
[2020-01-12 05:44:55.318] [D] [zway] SETDATA devices.11.instances.3.commandClasses.49.data.1.deviceScale = 0 (0x00000000)
[2020-01-12 05:44:55.320] [D] [zway] SETDATA devices.11.instances.3.commandClasses.49.data.1.scaleString = "°C"
[2020-01-12 05:44:55.320] [D] [zway] SETDATA devices.11.instances.3.commandClasses.49.data.1.val = 23.250000
[2020-01-12 05:44:55.320] [D] [zway] SETDATA devices.11.instances.3.commandClasses.49.data.1 = Empty
[2020-01-12 05:44:55.336] [I] [core] http://192.168.1.3:1025/ZWave?Cmd=CBck&Dev=%DEVICE%&Lev=%VALUE% : ZWayVDev_zway_11-3-49-1 : 23.25 : http://192.168.1.3:1025/ZWave?Cmd=CBck&Dev=ZWayVDev_zway_11-3-49-1&Lev=23.25
[2020-01-12 05:44:55.338] [D] [zway] RECEIVED: ( 01 12 00 04 00 0B 0C 60 0D 04 04 31 05 01 44 00 00 07 C9 3C )
[2020-01-12 05:44:55.338] [D] [zway] SENT ACK
[2020-01-12 05:44:55.339] [D] [zway] SETDATA devices.11.data.lastReceived = 0 (0x00000000)
[2020-01-12 05:44:55.339] [D] [zway] SETDATA devices.11.instances.4.commandClasses.49.data.1.deviceScale = 0 (0x00000000)
[2020-01-12 05:44:55.340] [D] [zway] SETDATA devices.11.instances.4.commandClasses.49.data.1.scaleString = "°C"
[2020-01-12 05:44:55.341] [D] [zway] SETDATA devices.11.instances.4.commandClasses.49.data.1.val = 19.930000
[2020-01-12 05:44:55.341] [D] [zway] SETDATA devices.11.instances.4.commandClasses.49.data.1 = Empty
[2020-01-12 05:44:55.387] [I] [core] http://192.168.1.3:1025/ZWave?Cmd=CBck&Dev=%DEVICE%&Lev=%VALUE% : ZWayVDev_zway_11-4-49-1 : 19.93 : http://192.168.1.3:1025/ZWave?Cmd=CBck&Dev=ZWayVDev_zway_11-4-49-1&Lev=19.93
Still have not seen any mem usage building up, so if that is happening it is building up fast right at the time of the server receiving the SIGSEGV.




EDIT:

I just happened to notice that when starting z-way-server+gdb I see this message scrolling by in the terminal window:

"Failed to load module modsockets.so: libwebsockets.so.8: cannot open shared object file: No such file or directory".

Not sure if that is a clue or if that is something normal, but thought I'd mention it.




Regards,

/Joakim
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Z-way server goes down spontaneously

Post by PoltoS »

the libwebsockets is a problem, we will fix it, but it is not about the crash.

Hm... every time it is after the HTTP request.

Can you please show me the module configuration (that produce this HTTP) and the what is replied to http://192.168.1.3:1025/ZWave?Cmd=CBck& ... &Lev=19.93 so I can reproduce it (may be a wireshark/tcpdump dump)
User avatar
GokMasE
Posts: 59
Joined: 13 Mar 2016 01:04
Location: Sweden

Re: Z-way server goes down spontaneously

Post by GokMasE »

PoltoS wrote:
14 Jan 2020 02:02
Can you please show me the module configuration (that produce this HTTP) and the what is replied to http://192.168.1.3:1025/ZWave?Cmd=CBck& ... &Lev=19.93 so I can reproduce it (may be a wireshark/tcpdump dump)
The HTTPGet module has this syntax configured for the URL:

Code: Select all

http://192.168.1.3:1025/ZWave?Cmd=CBck&Dev=%DEVICE%&Lev=%VALUE%
Also,I will install some tcp monitoring software and try to catch the actual tcp traffic at the time of the crash.

Regards,

/Joakim
Wikibear
Posts: 102
Joined: 01 Jul 2016 14:10

Re: Z-way server goes down spontaneously

Post by Wikibear »

PoltoS wrote:
10 Jan 2020 15:40
Please be more specific. v3.0.3-13 works or not?
I can't install this deb cause i will redirect to main page.
Greatings from the noob
Post Reply