ZM crashes, keeps restarting, libc-2.27.so

Forum for questions and support relating to the 1.30.x releases only.
Locked
triode3
Posts: 1
Joined: Fri Dec 21, 2018 10:15 pm

ZM crashes, keeps restarting, libc-2.27.so

Post by triode3 »

Hello,

I have a gentoo installation of zoneminder that was working fine, but then I upgraded gentoo (emerge sync then update), and now zoneminder
just keeps crashing and not starting. In the beginning, I was having libmysql issues, but I ran zmupdate.pl. This did not fully fix the issue. There was a problem with a tables name mismatch, and I fixed that with:

Code: Select all

  alter Table `Monitors` change column `AnalysisFPSLimit` `AnalysisFPS` decimal(2,2); 
After that, it just complains that there is a libc error, and it is not logging to the zm long, only to /var/log/messages.

Here is some sample output:

Code: Select all

Dec 21 09:07:03 grid zmdc[31506]: INF [Starting pending process, zma -m 1]
Dec 21 09:07:03 grid zmdc[31506]: INF ['zmc -m 3' crashed, signal 10]
Dec 21 09:07:03 grid zmdc[31506]: INF ['zma -m 1' starting at 18/12/21 09:07:03, pid = 31755]
Dec 21 09:07:03 grid zmdc[31755]: INF ['zma -m 1' started at 18/12/21 09:07:03]
Dec 21 09:07:03 grid zmdc[31506]: INF [Starting pending process, zmc -m 4]
Dec 21 09:07:03 grid zmdc[31506]: INF ['zmc -m 4' starting at 18/12/21 09:07:03, pid = 31758]
Dec 21 09:07:03 grid zmdc[31758]: INF ['zmc -m 4' started at 18/12/21 09:07:03]
Dec 21 09:07:03 grid zmdc[31506]: INF ['zma -m 1' crashed, signal 10]
Dec 21 09:07:03 grid zmdc[31506]: INF ['zmc -m 4' crashed, signal 10]
Dec 21 09:07:04 grid zmdc[31506]: INF [Starting pending process, zma -m 5]
Dec 21 09:07:04 grid zmdc[31506]: INF ['zma -m 5' starting at 18/12/21 09:07:04, pid = 31765]
Dec 21 09:07:04 grid zmdc[31765]: INF ['zma -m 5' started at 18/12/21 09:07:04]
Dec 21 09:07:04 grid zmdc[31506]: INF [Starting pending process, zma -m 4]
Dec 21 09:07:04 grid zmdc[31506]: INF ['zma -m 4' starting at 18/12/21 09:07:04, pid = 31768]
Dec 21 09:07:04 grid zmdc[31768]: INF ['zma -m 4' started at 18/12/21 09:07:04]
Dec 21 09:07:04 grid zmdc[31506]: INF [Starting pending process, zmc -m 5]
Dec 21 09:07:04 grid kernel: do_general_protection: 17 callbacks suppressed
Dec 21 09:07:04 grid kernel: traps: zma[31765] general protection ip:7fc908469e00 sp:7fff9d8ca8b0 error:0 in libc-2.27.so[7fc90842e000+1be000]
Dec 21 09:07:04 grid zmdc[31506]: INF ['zma -m 5' crashed, signal 10]
Dec 21 09:07:04 grid kernel: traps: zma[31768] general protection ip:7f5b72c56e00 sp:7ffea2bfb590 error:0 in libc-2.27.so[7f5b72c1b000+1be000]
Dec 21 09:07:04 grid zmdc[31506]: INF ['zma -m 4' crashed, signal 10]
Dec 21 09:07:04 grid zmdc[31506]: INF ['zmc -m 5' starting at 18/12/21 09:07:04, pid = 31775]
Dec 21 09:07:04 grid zmdc[31775]: INF ['zmc -m 5' started at 18/12/21 09:07:04]
Dec 21 09:07:04 grid zmdc[31506]: INF ['zmc -m 5' crashed, signal 10]
Dec 21 09:07:04 grid kernel: traps: zmc[31775] general protection ip:7f4dbc5a2e00 sp:7ffd694e0b20 error:0 in libc-2.27.so[7f4dbc567000+1be000]
Dec 21 09:07:13 grid zmdc[31506]: INF [Starting pending process, zmc -m 2]
Dec 21 09:07:13 grid zmdc[31506]: INF ['zmc -m 2' starting at 18/12/21 09:07:13, pid = 31781]
Dec 21 09:07:13 grid zmdc[31781]: INF ['zmc -m 2' started at 18/12/21 09:07:13]
Dec 21 09:07:13 grid zmdc[31506]: INF [Starting pending process, zma -m 2]
Dec 21 09:07:13 grid zmdc[31506]: INF ['zma -m 2' starting at 18/12/21 09:07:13, pid = 31784]
Dec 21 09:07:13 grid zmdc[31784]: INF ['zma -m 2' started at 18/12/21 09:07:13]
Dec 21 09:07:13 grid kernel: traps: zmc[31781] general protection ip:7f9727498e00 sp:7ffcd678c580 error:0 in libc-2.27.so[7f972745d000+1be000]
Dec 21 09:07:13 grid zmdc[31506]: INF ['zmc -m 2' crashed, signal 10]
Dec 21 09:07:13 grid zmdc[31506]: INF [Starting pending process, zmc -m 1]
Dec 21 09:07:13 grid kernel: traps: zma[31784] general protection ip:7ff658197e00 sp:7ffde6e1c2a0 error:0 in libc-2.27.so[7ff65815c000+1be000]
Dec 21 09:07:13 grid zmdc[31506]: INF ['zma -m 2' crashed, signal 10]
Dec 21 09:07:13 grid zmdc[31506]: INF ['zmc -m 1' starting at 18/12/21 09:07:13, pid = 31791]
Dec 21 09:07:13 grid zmdc[31791]: INF ['zmc -m 1' started at 18/12/21 09:07:13]
Dec 21 09:07:13 grid zmdc[31506]: INF [Starting pending process, zma -m 3]
Dec 21 09:07:13 grid zmdc[31506]: INF ['zma -m 3' starting at 18/12/21 09:07:13, pid = 31795]
Dec 21 09:07:13 grid zmdc[31795]: INF ['zma -m 3' started at 18/12/21 09:07:13] 
The sever in question is running the lateste gentoo release, 4.14.52-gentoo #3 SMP Thu Jul 19 20:41:47 CDT 2018 x86_64 Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz GenuineIntel GNU/Linux

I am not sure where to go to look for more debugging.

The output of zmaudit.pl is:

Code: Select all

Argument "back_porch" isn't numeric in numeric comparison (<=>) at /usr/bin/zmaudit.pl line 196.
Argument "Porch1" isn't numeric in numeric comparison (<=>) at /usr/bin/zmaudit.pl line 196.
Argument "Porch2" isn't numeric in numeric comparison (<=>) at /usr/bin/zmaudit.pl line 196.
Argument "Garage" isn't numeric in numeric comparison (<=>) at /usr/bin/zmaudit.pl line 196.
Argument "back_porch" isn't numeric in numeric comparison (<=>) at /usr/bin/zmaudit.pl line 196.
It just repeats this at lightning speed.

Thanks for any input.
Locked