-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app causes ZM crash/bad behavior after it's been asleep for a while #30
Comments
I just can't replicate this. I'm pretty sure its a ZM DB install issue, but I'd like to know why its being triggered only after sleeping Can you do this: |
It took half a day of the device in sleep mode before I could make it happen.
|
right, I actually want to see what is it trying to write to the log DB at that time - the logs above show it could not write, but I want to see what is it that its trying to write (refer to the SQL query) |
additional information: I let it run like this (showing the errors in syslog) for about 10 minutes and then the errors simply stopped stopped. All the while, ZM was still able to capture motion events, and zmNinja was able to show the montage correctly and up to date. |
is this still a problem @alager ? |
I have not seen this happen in a while....It's probably safe to say it has been resolved. |
This issue is much better now ( it only puts about 1 error message every second or 2 ), but still occurs on a regular bases when I lock my phone while zmNinja is running. Now I have to wait a longer time it seems, but the errors still show up in syslog when I unlock my phone and view the montage. This one even caused a back trace to occur:
Sep 16 15:49:05 myZoneMonitor nph-zms[14021]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:05 myZoneMonitor nph-zms[14021]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:05 myZoneMonitor zms[14018]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:07 myZoneMonitor nph-zms[14040]: ERR [Can't insert log entry: Lost connection to MySQL server during query]
Sep 16 15:49:07 myZoneMonitor nph-zms[14040]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:07 myZoneMonitor nph-zms[14041]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Got signal 6 (Aborted), crashing]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Signal address is 0x21000036dc, from 0x7fbee34e4cc9]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x72) [0x7fbee70b5e72]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7fbee5f1c340]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 2: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7fbee34e4cc9]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 3: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fbee34e80d8]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 4: /lib/x86_64-linux-gnu/libc.so.6(+0x73394) [0x7fbee3521394]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(+0x7f66e) [0x7fbee352d66e]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 6: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(end_server+0x35) [0x7fbee57c8c75]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 7: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(mysql_close+0x61) [0x7fbee57cab81]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 8: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN6Logger9terminateEv+0x79) [0x7fbee7030af9]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 9: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN6LoggerD1Ev+0x10) [0x7fbee7030e20]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 10: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z7logTermv+0x15) [0x7fbee7031035]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 11: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0x7a9) [0x7fbee7020c49]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 12: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fbee34cfec5]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: ERR [Backtrace 13: /usr/lib/zoneminder/cgi-bin/nph-zms(+0x1fb37) [0x7fbee7021b37]]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: INF [Backtrace complete, please execute the following command for more information]
Sep 16 15:49:07 myZoneMonitor nph-zms[14044]: INF [addr2line -e /usr/lib/zoneminder/cgi-bin/nph-zms 0x7fbee70b5e72 0x7fbee5f1c340 0x7fbee34e4cc9 0x7fbee34e80d8 0x7fbee3521394 0x7fbee352d66e 0x7fbee5
7c8c75 0x7fbee57cab81 0x7fbee7030af9 0x7fbee7030e20 0x7fbee7031035 0x7fbee7020c49 0x7fbee34cfec5 0x7fbee7021b37]
Sep 16 15:49:09 myZoneMonitor zms[14074]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:11 myZoneMonitor nph-zms[14098]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:15 myZoneMonitor nph-zms[14142]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:15 myZoneMonitor nph-zms[14142]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:15 myZoneMonitor nph-zms[14148]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:15 myZoneMonitor zms[14143]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:15 myZoneMonitor nph-zms[14154]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:15 myZoneMonitor nph-zms[14154]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:17 myZoneMonitor nph-zms[14183]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:17 myZoneMonitor nph-zms[14183]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:17 myZoneMonitor nph-zms[14187]: ERR [Can't insert log entry: MySQL server has gone away]
Sep 16 15:49:17 myZoneMonitor nph-zms[14187]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:19 myZoneMonitor zms[14222]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:21 myZoneMonitor zms[14252]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:21 myZoneMonitor zms[14256]: INF [Got signal 15 (Terminated), exiting]
Sep 16 15:49:23 myZoneMonitor zms[14287]: INF [Got signal 15 (Terminated), exiting]
S
The text was updated successfully, but these errors were encountered: