Could someone help me debugg a crashed zmc?

Forum for questions and support relating to the 1.30.x releases only.
Locked
Sigge
Posts: 116
Joined: Mon May 02, 2016 8:14 am

Could someone help me debugg a crashed zmc?

Post by Sigge »

It has been functioning well for years. Maybe the upgrade to 17.10 broke something.

The setup is CAM -> live555proxy -> zoneminder

Can someone point me to debug logs to set?

Thanks!

Jan 7 14:07:57 BERTILIT zmc_m8[2370]: INF [Starting Capture version 1.30.4]
Jan 7 14:07:57 BERTILIT zmc_m8[2370]: INF [Priming capture from rtsp://192.168.2.100:8554/proxyStream]
Jan 7 14:07:57 BERTILIT live555ProxyServer[1794]: ProxyServerMediaSubsession[rtsp://u:p@192.168.1.160:554/tcp_live/ch0_0/,H264]::createNewStreamSource(session id 1233499863)
Jan 7 14:07:57 BERTILIT live555ProxyServer[1794]: ProxyServerMediaSubsession[rtsp://u:p@192.168.1.160:554/tcp_live/ch0_0/,H264]::createNewRTPSink()
Jan 7 14:08:06 BERTILIT kernel: [ 1038.749016] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:de:27:84:3b:46:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
Jan 7 14:08:06 BERTILIT kernel: [ 1038.749082] [UFW BLOCK] IN=enxe46f13f38973 OUT= MAC=01:00:5e:00:00:01:e8:de:27:84:3b:46:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
Jan 7 14:08:17 BERTILIT zmwatch[1960]: INF [Restarting capture daemon for Monitor-8, time since last capture 8 seconds (1515330497-1515330489)]
Jan 7 14:08:17 BERTILIT zmdc[1587]: INF ['zmc -m 8' sending stop to pid 2370 at 18/01/07 14:08:17]
Jan 7 14:08:17 BERTILIT zmc_m8[2370]: INF [Got signal 15 (Terminated), exiting]
Jan 7 14:08:23 BERTILIT zmdc[1587]: WAR ['zmc -m 8' has not stopped at 18/01/07 14:08:23. Sending KILL to pid 2370]
Jan 7 14:08:23 BERTILIT live555ProxyServer[1794]: ProxyServerMediaSubsession[rtsp://u:p@192.168.1.160:554/tcp_live/ch0_0/,H264]::closeStreamSource()
Jan 7 14:08:23 BERTILIT zmdc[1587]: INF ['zmc -m 8' crashed, signal 8]
Jan 7 14:08:28 BERTILIT kernel: [ 1061.314870] [UFW BLOCK] IN=eno1 OUT= MAC=ac:9e:17:b5:e9:8b:14:cc:20:0d:36:77:08:00 SRC=185.130.212.69 DST=192.168.2.100 LEN=44 TOS=0x00 PREC=0x00 TTL=242 ID=22126 DF PROTO=TCP SPT=1016 DPT=1072 WINDOW=512 RES=0x00 SYN URGP=0
Jan 7 14:08:33 BERTILIT zmwatch[1960]: INF [Restarting capture daemon for Monitor-8, time since last capture 24 seconds (1515330513-1515330489)]
Jan 7 14:08:34 BERTILIT zmdc[1587]: INF ['zmc -m 8' starting at 18/01/07 14:08:34, pid = 2376]
Jan 7 14:08:34 BERTILIT zmdc[2376]: INF ['zmc -m 8' started at 18/01/07 14:08:34]
Jan 7 14:08:34 BERTILIT zmc_m8[2376]: INF [Starting Capture version 1.30.4]
Jan 7 14:08:34 BERTILIT zmc_m8[2376]: INF [Priming capture from rtsp://192.168.2.100:8554/proxyStream]
Jan 7 14:08:34 BERTILIT live555ProxyServer[1794]: ProxyServerMediaSubsession[rtsp://u:p@192.168.1.160:554/tcp_live/ch0_0/,H264]::createNewStreamSource(session id 2970474332)
Jan 7 14:08:34 BERTILIT live555ProxyServer[1794]: ProxyServerMediaSubsession[rtsp://u:p@192.168.1.160:554/tcp_live/ch0_0/,H264]::createNewRTPSink()
Sigge
Posts: 116
Joined: Mon May 02, 2016 8:14 am

Re: Could someone help me debugg a crashed zmc?

Post by Sigge »

Debug level 9 for zmdc:

07/01/2018 19:24:15.903728 zmdc[2494].INF ['zmc -m 8' sending stop to pid 2558 at 18/01/07 19:24:15]
07/01/2018 19:24:21.907631 zmdc[2494].WAR ['zmc -m 8' has not stopped at 18/01/07 19:24:21. Sending KILL to pid 2558]
07/01/2018 19:24:21.921762 zmdc[2494].INF ['zmc -m 8' crashed, signal 8]
07/01/2018 19:24:26.029730 zmdc[2494].INF [Starting pending process, zmc -m 8]
07/01/2018 19:24:26.034380 zmdc[2494].INF ['zmc -m 8' starting at 18/01/07 19:24:26, pid = 2630]
07/01/2018 19:24:26.034383 zmdc[2630].INF ['zmc -m 8' started at 18/01/07 19:24:26]
Sigge
Posts: 116
Joined: Mon May 02, 2016 8:14 am

Re: Could someone help me debugg a crashed zmc?

Post by Sigge »

Is zmc_m8 crashing after row 2 at "minUsing"?
How can I get more info?

01/07/18 21:19:24.875365 zmc_m8[3288].DB9-zm_image.cpp/2419 [1071 - 0: min_y: 0, max_y:1079, min_x:0.00, 1/m:-0.00]
01/07/18 21:19:24.875368 zmc_m8[3288].DB9-zm_image.cpp/2419 [1071 - 1: min_y: 0, max_y:1079, minUsing network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
[tcp @ 0x560d465db680] No default whitelist set
[rtsp @ 0x560d465d94e0] SDP:
v=0
o=- 1515351509266968 1 IN IP4 127.0.1.1
s=LIVE555 Streaming Media v2017.01.26
i=LIVE555 Streaming Media v2017.01.26
t=0 0
a=tool:LIVE555 Streaming Media v2017.01.26
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:LIVE555 Streaming Media v2017.01.26
a=x-qt-text-inf:LIVE555 Streaming Media v2017.01.26
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:4
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0029;sprop-parameter-sets=R00AKZmgHgCJ+WEAAAMD6AAAJxCE,SO48gA==
a=control:track1

Failed to parse interval end specification ''
[rtsp @ 0x560d465d94e0] video codec set to: h264
Locked