Floating Point Exception Filling Logs

Current Development version likely to have breaking changes
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

Just for clarity...

zmc_m1 was showing "Segmentation Fault"s
zmc_m2 was showing "Floating Point Exceptions"

The Segmentation Fault and Floating Point Exceptions were happening at different times.

Also... Sorry I'm not very good with github. How do I update zoneminder to the version you pushed?

Thanks again for your help.
User avatar
iconnor
Posts: 3269
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Floating Point Exception Filling Logs

Post by iconnor »

If you are running ubuntu or debian, then sudo apt update && sudo apt install zoneminder
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

Got:
zoneminder is already the newest version (1.37.61~20240617135553-focal)
User avatar
iconnor
Posts: 3269
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Floating Point Exception Filling Logs

Post by iconnor »

Yeah that's def not latest.

I just push a possible fix for the float point exception. I noticed that it was reporting a negative fps, so I've fixed that. We will see if it fixes the exception.

New packages building, should be zoneminder_1.37.61~20240621 ish.
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

I think the update & install worked this time.
"Setting up zoneminder (1.37.61~20240621140450-focal)"

Should I turn LOG_DEBUG ON again, or watch for the errors and turn it ON only if they return?
User avatar
iconnor
Posts: 3269
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Floating Point Exception Filling Logs

Post by iconnor »

Wait for them to return.
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

Looking good so far. No Floating Point or Segmentation Fault errors yet.
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

Started getting Segmentation Faults in zmc_m1.log again.

I've set all the logging levels to "info" and turned logging back on. Waiting for the Seg Faults to start again...
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

Attached is a portion of the zmc_m1.log file with segmentation fault errors:
Attachments
zmc_m1.log
(29.42 KiB) Downloaded 126 times
User avatar
iconnor
Posts: 3269
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Floating Point Exception Filling Logs

Post by iconnor »

I may have fixed it this morning. Please update.
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

Sorry for the delay in response. It had seemed to work for a while (v1.37.62). I am now getting 3Gb log files with the following error:

I will turn on info level debug logging to get more information.

zmc_m1.log

Code: Select all

07/09/24 01:11:15.880224 zmc_m1[135600].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 02:21:51.713253 zmc_m1[135600].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 02:21:51.931591 zmc_m1[135600].ERR-zm_ffmpeg_camera.cpp/366 [Unable to open input rtsp://192.168.0.20:554/videoMain due to: Immediate exit requested]
07/09/24 03:32:28.755578 zmc_m1[158056].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 04:43:04.388511 zmc_m1[158056].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 05:53:40.134787 zmc_m1[158056].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 07:10:40.423942 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 08:21:16.668438 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 08:57:16.095508 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 09:17:51.845586 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 10:28:27.666040 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 11:20:26.016992 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 12:32:00.658589 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 13:43:35.577952 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 14:55:10.550783 zmc_m1[170836].ERR-zmc.cpp/318 [Failed to capture image from monitor 1 Back Porch (1/1)]
07/09/24 15:26:24.547256 zmc_m1[211047].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
07/09/24 15:26:24.547298 zmc_m1[211047].ERR-zm_signal.cpp/82 [Signal address is 0x10, from 0x55cb51fe5c9f]
07/09/24 15:26:24.552407 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 0: /usr/bin/zmc(+0x100b89) [0x55cb51efbb89]]
07/09/24 15:26:24.552426 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f2c751da420]]
07/09/24 15:26:24.552432 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 2: /usr/bin/zmc(+0x1eac9f) [0x55cb51fe5c9f]]
07/09/24 15:26:24.552437 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 3: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6df4) [0x7f2c74892df4]]
07/09/24 15:26:24.552442 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 4: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f2c751ce609]]
07/09/24 15:26:24.552447 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f2c7457d353]]
07/09/24 15:26:24.552452 zmc_m1[211047].ERR-zm_signal.cpp/127 [Backtrace complete, please install debug symbols (typically zoneminder-dbg)]
07/09/24 15:26:24.552457 zmc_m1[211047].ERR-zm_signal.cpp/128 [and execute the following command for more information:]
07/09/24 15:26:24.552461 zmc_m1[211047].ERR-zm_signal.cpp/129 [addr2line -Cfip -e /usr/bin/zmc 0x100b89 0x1eac9f]
07/09/24 15:26:24.552473 zmc_m1[211047].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
07/09/24 15:26:24.552479 zmc_m1[211047].ERR-zm_signal.cpp/82 [Signal address is 0x10, from 0x55cb51fe5c9f]
07/09/24 15:26:24.552609 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 0: /usr/bin/zmc(+0x100b89) [0x55cb51efbb89]]
07/09/24 15:26:24.552616 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f2c751da420]]
07/09/24 15:26:24.552620 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 2: /usr/bin/zmc(+0x1eac9f) [0x55cb51fe5c9f]]
07/09/24 15:26:24.552625 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 3: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6df4) [0x7f2c74892df4]]
07/09/24 15:26:24.552629 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 4: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f2c751ce609]]
07/09/24 15:26:24.552633 zmc_m1[211047].ERR-zm_signal.cpp/108 [Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f2c7457d353]]
07/09/24 15:26:24.552638 zmc_m1[211047].ERR-zm_signal.cpp/127 [Backtrace complete, please install debug symbols (typically zoneminder-dbg)]
07/09/24 15:26:24.552642 zmc_m1[211047].ERR-zm_signal.cpp/128 [and execute the following command for more information:]
07/09/24 15:26:24.552647 zmc_m1[211047].ERR-zm_signal.cpp/129 [addr2line -Cfip -e /usr/bin/zmc 0x100b89 0x1eac9f]
07/09/24 15:26:24.552655 zmc_m1[211047].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
07/09/24 15:26:24.552660 zmc_m1[211047].ERR-zm_signal.cpp/82 [Signal address is 0x10, from 0x55cb51fe5c9f]
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

Here is part of zm1 with debug levels set to info:

Code: Select all

07/11/24 06:33:55.146580 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10100 - Capturing at 4.99 fps, capturing bandwidth 124511bytes/sec Analysing at 1.70 fps]
07/11/24 06:34:15.126792 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10200 - Capturing at 5.00 fps, capturing bandwidth 125084bytes/sec Analysing at 1.65 fps]
07/11/24 06:34:35.112985 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10300 - Capturing at 5.00 fps, capturing bandwidth 122080bytes/sec Analysing at 1.65 fps]
07/11/24 06:34:55.135245 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10400 - Capturing at 4.99 fps, capturing bandwidth 122557bytes/sec Analysing at 1.70 fps]
07/11/24 06:35:15.132449 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10500 - Capturing at 5.00 fps, capturing bandwidth 123634bytes/sec Analysing at 1.65 fps]
07/11/24 06:35:35.134833 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10600 - Capturing at 5.00 fps, capturing bandwidth 124165bytes/sec Analysing at 1.65 fps]
07/11/24 06:35:55.128876 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10700 - Capturing at 5.00 fps, capturing bandwidth 122834bytes/sec Analysing at 1.70 fps]
07/11/24 06:36:15.125908 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10800 - Capturing at 5.00 fps, capturing bandwidth 124195bytes/sec Analysing at 1.65 fps]
07/11/24 06:36:35.132320 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 10900 - Capturing at 5.00 fps, capturing bandwidth 123178bytes/sec Analysing at 1.65 fps]
07/11/24 06:36:55.142614 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11000 - Capturing at 5.00 fps, capturing bandwidth 122157bytes/sec Analysing at 1.70 fps]
07/11/24 06:37:15.135524 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11100 - Capturing at 5.00 fps, capturing bandwidth 123905bytes/sec Analysing at 1.65 fps]
07/11/24 06:37:35.155345 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11200 - Capturing at 5.00 fps, capturing bandwidth 123258bytes/sec Analysing at 1.65 fps]
07/11/24 06:37:55.154787 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11300 - Capturing at 5.00 fps, capturing bandwidth 123765bytes/sec Analysing at 1.70 fps]
07/11/24 06:38:15.154697 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11400 - Capturing at 5.00 fps, capturing bandwidth 123142bytes/sec Analysing at 1.65 fps]
07/11/24 06:38:19.547409 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 11421 - Gone into prealarm state]
07/11/24 06:38:20.745811 zmc_m1[374842].INF-zm_monitor.cpp/2339 [Back Porch: 11427 - Gone into alarm state PreAlarmCount: 2 > AlarmFrameCount:3 Cause:Motion:MotionArea]
07/11/24 06:38:20.745863 zmc_m1[374842].INF-zm_monitor.cpp/2523 [Back Porch: 11427 - Opening event timestamp 1720697900 % 500]
07/11/24 06:38:21.143992 zmc_m1[374842].INF-zm_monitor.cpp/2530 [Opened new event 48619 Motion:MotionArea]
07/11/24 06:38:28.554943 zmc_m1[374842].INF-zm_monitor.cpp/2372 [Back Porch: 11466 - Gone into alert state]
07/11/24 06:38:35.145624 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11500 - Capturing at 5.00 fps, capturing bandwidth 119245bytes/sec Analysing at 0.95 fps]
07/11/24 06:38:38.733817 zmc_m1[374842].INF-zm_monitor.cpp/2377 [Back Porch: 11517 - Left alert state]
07/11/24 06:38:38.733851 zmc_m1[374842].INF-zm_monitor.cpp/2498 [Back Porch: 11517 - Closing event 48619 1720697918 - 1720697897 = 21 >= 600]
07/11/24 06:38:51.348268 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 11580 - Gone into prealarm state]
07/11/24 06:38:52.527277 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 11586 - Gone into prealarm state]
07/11/24 06:38:55.156108 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11600 - Capturing at 5.00 fps, capturing bandwidth 124073bytes/sec Analysing at 1.40 fps]
07/11/24 06:39:15.164299 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11700 - Capturing at 5.00 fps, capturing bandwidth 122640bytes/sec Analysing at 1.65 fps]
07/11/24 06:39:35.164527 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11800 - Capturing at 5.00 fps, capturing bandwidth 122808bytes/sec Analysing at 1.65 fps]
07/11/24 06:39:55.162529 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 11900 - Capturing at 5.00 fps, capturing bandwidth 122585bytes/sec Analysing at 1.70 fps]
07/11/24 06:40:15.150005 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 12000 - Capturing at 5.00 fps, capturing bandwidth 124102bytes/sec Analysing at 1.65 fps]
07/11/24 06:40:19.555884 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 12021 - Gone into prealarm state]
07/11/24 06:40:21.947082 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 12033 - Gone into prealarm state]
07/11/24 06:40:35.173417 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 12100 - Capturing at 4.99 fps, capturing bandwidth 121985bytes/sec Analysing at 1.65 fps]
07/11/24 06:40:55.173407 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 12200 - Capturing at 5.00 fps, capturing bandwidth 123984bytes/sec Analysing at 1.70 fps]
07/11/24 06:41:15.193344 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 12300 - Capturing at 5.00 fps, capturing bandwidth 123212bytes/sec Analysing at 1.65 fps]
07/11/24 06:41:35.185711 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 12400 - Capturing at 5.00 fps, capturing bandwidth 123410bytes/sec Analysing at 1.65 fps]
07/11/24 06:41:53.763864 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 12492 - Gone into prealarm state]
07/11/24 06:41:54.974052 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 12498 - Gone into prealarm state]
07/11/24 06:41:55.171705 zmc_m1[374776].INF-zm_monitor.cpp/1934 [Back Porch: 12500 - Capturing at 5.00 fps, capturing bandwidth 123618bytes/sec Analysing at 1.70 fps]
07/11/24 06:42:03.954960 zmc_m1[374842].INF-zm_monitor.cpp/2343 [Back Porch: 12543 - Gone into prealarm state]
07/11/24 06:42:05.176333 zmc_m1[374842].INF-zm_monitor.cpp/2339 [Back Porch: 12549 - Gone into alarm state PreAlarmCount: 2 > AlarmFrameCount:3 Cause:Motion:MotionArea]
07/11/24 06:42:05.176379 zmc_m1[374842].INF-zm_monitor.cpp/2523 [Back Porch: 12549 - Opening event timestamp 1720698125 % 125]
07/11/24 06:42:05.399816 zmc_m1[374842].INF-zm_monitor.cpp/2530 [Opened new event 48624 Motion:MotionArea]
07/11/24 06:42:05.400405 zmc_m1[378156].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
07/11/24 06:42:05.400439 zmc_m1[378156].ERR-zm_signal.cpp/82 [Signal address is 0xdaf, from 0x5626349d05f1]
07/11/24 06:42:05.400688 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 0: /usr/bin/zmc(+0x100b89) [0x5626349ffb89]]
07/11/24 06:42:05.400698 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f9e96b48420]]
07/11/24 06:42:05.400706 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 2: /usr/bin/zmc(+0xd15f1) [0x5626349d05f1]]
07/11/24 06:42:05.400714 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 3: /usr/bin/zmc(+0x1eab2c) [0x562634ae9b2c]]
07/11/24 06:42:05.400721 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 4: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6df4) [0x7f9e96200df4]]
07/11/24 06:42:05.400728 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 5: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f9e96b3c609]]
07/11/24 06:42:05.400735 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 6: /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f9e95eeb353]]
07/11/24 06:42:05.400741 zmc_m1[378156].ERR-zm_signal.cpp/127 [Backtrace complete, please install debug symbols (typically zoneminder-dbg)]
07/11/24 06:42:05.400748 zmc_m1[378156].ERR-zm_signal.cpp/128 [and execute the following command for more information:]
07/11/24 06:42:05.400755 zmc_m1[378156].ERR-zm_signal.cpp/129 [addr2line -Cfip -e /usr/bin/zmc 0x100b89 0xd15f1 0x1eab2c]
07/11/24 06:42:05.400767 zmc_m1[378156].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
07/11/24 06:42:05.400774 zmc_m1[378156].ERR-zm_signal.cpp/82 [Signal address is 0xdaf, from 0x5626349d05f1]
07/11/24 06:42:05.400906 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 0: /usr/bin/zmc(+0x100b89) [0x5626349ffb89]]
07/11/24 06:42:05.400915 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f9e96b48420]]
07/11/24 06:42:05.400922 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 2: /usr/bin/zmc(+0xd15f1) [0x5626349d05f1]]
07/11/24 06:42:05.400929 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 3: /usr/bin/zmc(+0x1eab2c) [0x562634ae9b2c]]
07/11/24 06:42:05.400936 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 4: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6df4) [0x7f9e96200df4]]
07/11/24 06:42:05.400943 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 5: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f9e96b3c609]]
07/11/24 06:42:05.400950 zmc_m1[378156].ERR-zm_signal.cpp/108 [Backtrace 6: /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f9e95eeb353]]
07/11/24 06:42:05.400956 zmc_m1[378156].ERR-zm_signal.cpp/127 [Backtrace complete, please install debug symbols (typically zoneminder-dbg)]
07/11/24 06:42:05.400963 zmc_m1[378156].ERR-zm_signal.cpp/128 [and execute the following command for more information:]
07/11/24 06:42:05.400970 zmc_m1[378156].ERR-zm_signal.cpp/129 [addr2line -Cfip -e /usr/bin/zmc 0x100b89 0xd15f1 0x1eab2c]
07/11/24 06:42:05.400980 zmc_m1[378156].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
User avatar
iconnor
Posts: 3269
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Floating Point Exception Filling Logs

Post by iconnor »

INF is not useful. Need Debug=4
dwoolridge
Posts: 26
Joined: Tue Mar 23, 2021 3:58 pm

Re: Floating Point Exception Filling Logs

Post by dwoolridge »

I will get that to you Monday.
MarsRover
Posts: 46
Joined: Sat Apr 30, 2022 10:34 am

Re: Floating Point Exception Filling Logs

Post by MarsRover »

iconnor wrote: Fri Jul 12, 2024 4:23 pm INF is not useful. Need Debug=4
Hi.

Code: Select all

Ubuntu Server 5.15.0-113-generic #123~20.04.1-Ubuntu.

zoneminder-dbg/focal,now 1.37.62~20240707094607-focal amd64 [installed]
zoneminder-doc/focal,now 1.37.62~20240707094607-focal all [installed,automatic]
zoneminder/focal,now 1.37.62~20240707094607-focal amd64 [installed]
In my case it's not just filling up logs, but stops recording (Recording=Always, Writer=Camera Passthrough and Analysis=Off) until I manually restart the corresponding zmc by reapplying Monitor settings, which is really bad. zmc_x just stops doing what it should.
Usually this happens when it's time to create another continuous event (I have default section length = 600s for all monitors).

Debug=4 logs: https://drive.google.com/file/d/11FrA-L ... sp=sharing
110MB, too large to attach here. It's seems that there's not much more about the fault than there's in DB log, same lines repeating over and over:

Code: Select all

07/13/24 15:00:01.507777 zmc_m202[17670].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
07/13/24 15:00:01.507785 zmc_m202[17670].DB1-zm_signal.cpp/57 [Signal information: number 11 code 128 errno 0 pid 0 uid 0 status 0]
07/13/24 15:00:01.507789 zmc_m202[17670].ERR-zm_signal.cpp/82 [Signal address is (nil), from 0x556262cbcc9f]
07/13/24 15:00:01.507967 zmc_m202[17670].ERR-zm_signal.cpp/108 [Backtrace 0: /usr/bin/zmc(+0x100b89) [0x556262bd2b89]]
07/13/24 15:00:01.507975 zmc_m202[17670].ERR-zm_signal.cpp/108 [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f15ae59d420]]
07/13/24 15:00:01.507979 zmc_m202[17670].ERR-zm_signal.cpp/108 [Backtrace 2: /usr/bin/zmc(+0x1eac9f) [0x556262cbcc9f]]
07/13/24 15:00:01.507982 zmc_m202[17670].ERR-zm_signal.cpp/108 [Backtrace 3: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6df4) [0x7f15adc54df4]]
07/13/24 15:00:01.508005 zmc_m202[17670].ERR-zm_signal.cpp/108 [Backtrace 4: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f15ae591609]]
07/13/24 15:00:01.508010 zmc_m202[17670].ERR-zm_signal.cpp/108 [Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f15ad93f353]]
07/13/24 15:00:01.508015 zmc_m202[17670].ERR-zm_signal.cpp/127 [Backtrace complete, please install debug symbols (typically zoneminder-dbg)]
07/13/24 15:00:01.508019 zmc_m202[17670].ERR-zm_signal.cpp/128 [and execute the following command for more information:]
07/13/24 15:00:01.508022 zmc_m202[17670].ERR-zm_signal.cpp/129 [addr2line -Cfip -e /usr/bin/zmc 0x100b89 0x1eac9f]
Also in the logs after crash it says to check addr2line, here's what I get:

Code: Select all

~: addr2line -Cfip -e /usr/bin/zmc 0x100b89 0x1eac9f
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x1021252 vs 0xb80bf0)
void std::vector<char, std::allocator<char> >::_M_realloc_insert<char>(__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, char&&) at ??:?
std::mersenne_twister_engine<unsigned long, 32ul, 624ul, 397ul, 31ul, 2567483615ul, 11ul, 4294967295ul, 7ul, 2636928640ul, 15ul, 4022730752ul, 18ul, 1812433253ul>::operator()() at ??:?
Last edited by MarsRover on Sat Jul 13, 2024 12:38 pm, edited 1 time in total.
Post Reply