Skip to content
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

5 out of 5 monitors no longer work after the updates Ubuntu 23.10 -> 24.04 and zoneminder 1.36.33 -> 1.36.35 #4174

Open
TheRealEckat opened this issue Oct 11, 2024 · 3 comments

Comments

@TheRealEckat
Copy link

  • Version of ZoneMinder: 1.36.35 (1.36.35~20241001.9-noble1 amd64)
  • How you installed ZoneMinder: ppa:iconnor/zoneminder-proposed
  • Full name and version of OS: Ubuntu Linux 24.04.1

The bug affects all 5 of the 5 cameras set up (3x Reolink, 1x Axis, 1x Cisco)

Description:
I had installed Zoneminder on Ubuntu 23.10 and configured it with the 5 cameras.
As this Ubuntu version was no longer in maintenance, I did a release update to 24.04.
In the course of this I also updated Zoneminder. With the ppa:iconnor/zoneminder-1.36 the newer Ubuntu versions are unfortunately no longer supported (the last one is 1.36.33).
Therefore, after a hint in another issue, I switched to the ppa:iconnor/zoneminder-proposed.
This then installed 1.36.35 (1.36.35~20241001.9-noble1 amd64).

Since then, all 5 cameras no longer work.

I was able to fix an error with a not found font file myself.

I can't figure out the log files for the current problem. They look identical for the 5 cameras.

Can anyone help here?

To Reproduce
The error is constantly present for me after I have made the updates.

Expected behavior
Functioning cameras :)

Debug Logs

zmdc.log
11.10.2024 22:16:41.225858 zmdc[12655].INF [ZMServer:411] [Starting pending process, zmc -m 2]
11.10.2024 22:16:41.238727 zmdc[12655].INF [ZMServer:411] ['zmc -m 2' starting at 24/10/11 22:16:41, pid = 15246]
11.10.2024 22:16:41.238766 zmdc[15246].INF [ZMServer:411] ['zmc -m 2' started at 24/10/11 22:16:41]
11.10.2024 22:16:42.243676 zmdc[12655].INF [ZMServer:411] [Starting pending process, zmc -m 1]
11.10.2024 22:16:42.253893 zmdc[12655].INF [ZMServer:411] ['zmc -m 1' starting at 24/10/11 22:16:42, pid = 15251]
11.10.2024 22:16:42.253908 zmdc[15251].INF [ZMServer:411] ['zmc -m 1' started at 24/10/11 22:16:42]
11.10.2024 22:16:43.877369 zmdc[12655].ERR [ZMServer:718] ['zmc -m 2' exited abnormally, exit status 255]
11.10.2024 22:16:46.390523 zmdc[12655].ERR [ZMServer:718] ['zmc -m 1' exited abnormally, exit status 255]
zmc_m1.log
10/11/24 22:15:00.337821 zmc_m1[14938].DB1-zm_logger.cpp/224 [LogOpts: level=DB1 effective=DB1, screen=OFF, database=INF, logfile=DB9->/var/log/zm/zmc_m1.log, syslog=WAR]
10/11/24 22:15:00.337873 zmc_m1[14938].DB1-zm_utils.cpp/198 [Detected a x86\x86-64 processor with AVX2]
10/11/24 22:15:00.338336 zmc_m1[14938].DB1-zm_storage.cpp/91 [No id passed to Storage constructor.  Using default path /var/cache/zoneminder/events instead]
10/11/24 22:15:00.338347 zmc_m1[14938].DB1-zm_monitor.cpp/494 [Have camera type Ffmpeg]
10/11/24 22:15:00.338351 zmc_m1[14938].DB1-zm_monitor.cpp/2218 [Reloading linked monitors for monitor 1. OG - Flur/Treppe 1, '(null)']
10/11/24 22:15:00.338358 zmc_m1[14938].DB1-zm_packetqueue.cpp/743 [Setting pre_event_video_packet_count to 5]
10/11/24 22:15:00.338362 zmc_m1[14938].DB1-zm_packetqueue.cpp/737 [Setting max_video_packet_count to 0]
10/11/24 22:15:00.338366 zmc_m1[14938].DB1-zm_monitor.cpp/659 [mem.size(8) SharedData=768 TriggerData=560 VideoStoreData=4128 timestamps=48 images=3x5242880 = 15728640 total=15734208]
10/11/24 22:15:00.338382 zmc_m1[14938].INF-zm_ffmpeg.cpp/84 [Enabling ffmpeg logs, as LOG_DEBUG+LOG_FFMPEG are enabled in options]
10/11/24 22:15:00.338649 zmc_m1[14938].DB1-zm_zone.cpp/839 [Got 6 zones for monitor 1. OG - Flur/Treppe 1]
10/11/24 22:15:00.339238 zmc_m1[14938].DB1-zm_image.cpp/2486 [vertices 12]
10/11/24 22:15:00.340766 zmc_m1[14938].DB1-zm_image.cpp/2486 [vertices 9]
10/11/24 22:15:00.342018 zmc_m1[14939].DB1-zm_db.cpp/226 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1728677700.338382, 'zmc_m1', 0, 14938, 0, 'INF', 'Enabling ffmpeg logs, as LOG_DEBUG+LOG_FFMPEG are enabled in options', 'zm_ffmpeg.cpp', 84 ), thread_id: 2398]
10/11/24 22:15:00.342298 zmc_m1[14938].DB1-zm_image.cpp/2486 [vertices 5]
10/11/24 22:15:00.343714 zmc_m1[14938].DB1-zm_image.cpp/2486 [vertices 12]
10/11/24 22:15:00.345172 zmc_m1[14938].DB1-zm_image.cpp/2486 [vertices 4]
10/11/24 22:15:00.346645 zmc_m1[14938].DB1-zm_image.cpp/2486 [vertices 4]
10/11/24 22:15:00.347495 zmc_m1[14938].DB1-zm_monitor.cpp/2212 [Reloading zones for monitor 1. OG - Flur/Treppe 1 have 6]
10/11/24 22:15:00.347508 zmc_m1[14938].DB1-zm_monitor.cpp/695 [Loaded monitor 1(1. OG - Flur/Treppe 1), 6 zones]
10/11/24 22:15:00.347523 zmc_m1[14938].INF-zmc.cpp/220 [Starting Capture version 1.36.35]
10/11/24 22:15:00.351083 zmc_m1[14939].DB1-zm_db.cpp/226 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1728677700.347523, 'zmc_m1', 0, 14938, 0, 'INF', 'Starting Capture version 1.36.35', 'zmc.cpp', 220 ), thread_id: 2398]
10/11/24 22:15:00.355852 zmc_m1[14938].DB1-zm_db.cpp/226 [Success running sql query INSERT INTO Monitor_Status (MonitorId,Status,CaptureFPS,AnalysisFPS,UpdatedOn) VALUES (1, 'Running',0,0,NOW()) ON DUPLICATE KEY UPDATE Status='Running',CaptureFPS=0,AnalysisFPS=0,CaptureBandwidth=0,UpdatedOn=NOW(), thread_id: 2398]
10/11/24 22:15:00.355870 zmc_m1[14938].DB1-zm_ffmpeg_camera.cpp/186 [Priming capture from rtsp://192.168.2.53/mpeg4/media.amp]
10/11/24 22:15:00.355889 zmc_m1[14938].DB1-zm_ffmpeg_camera.cpp/313 [Calling avformat_open_input for rtsp://192.168.2.53/mpeg4/media.amp]
10/11/24 22:15:00.410626 zmc_m1[14938].DB1-zm_ffmpeg_camera.cpp/347 [Finding stream info]
10/11/24 22:15:04.389026 zmc_m1[14938].DB1-zm_ffmpeg.cpp/280 [Dumping stream index i(0) index(0)]
10/11/24 22:15:04.389064 zmc_m1[14938].DB1-zm_ffmpeg.cpp/290 [    Stream #0:0]
10/11/24 22:15:04.389071 zmc_m1[14938].DB1-zm_ffmpeg.cpp/298 [frame_size:0 stream timebase: 1/90000]
10/11/24 22:15:04.389076 zmc_m1[14938].DB1-zm_ffmpeg.cpp/304 [codec: mpeg4 video]
10/11/24 22:15:04.389081 zmc_m1[14938].DB1-zm_ffmpeg.cpp/232 [90k stream tb numerator]
10/11/24 22:15:04.389102 zmc_m1[14938].DB1-zm_ffmpeg.cpp/254 [Dumping codec_context codec_type(0 video) codec_id(12 mpeg4) width(1280) height(1024)  timebase(0/1) format(yuv420p) gop_size 12 max_b_frames 0 me_cmp 0 me_range 0 qmin 2 qmax 31]
10/11/24 22:15:04.389111 zmc_m1[14938].DB1-zm_packetqueue.cpp/697 [Didn't find a keyframe for stream 0, so returning the it to it]
10/11/24 22:15:04.389116 zmc_m1[14938].DB1-zm_monitor.cpp/2998 [Creating decoder thread]
10/11/24 22:15:04.389208 zmc_m1[14938].DB1-zm_monitor.cpp/3005 [Done restarting decoder]
10/11/24 22:15:04.389222 zmc_m1[14938].DB1-zm_monitor.cpp/3007 [getting analysis_it]
10/11/24 22:15:04.389227 zmc_m1[14938].DB1-zm_packetqueue.cpp/697 [Didn't find a keyframe for stream 0, so returning the it to it]
10/11/24 22:15:04.389232 zmc_m1[14938].DB1-zm_monitor.cpp/3013 [Starting an analysis thread for monitor (1)]
10/11/24 22:15:04.393252 zmc_m1[14938].DB1-zm_db.cpp/226 [Success running sql query INSERT INTO Monitor_Status (MonitorId,Status,UpdatedOn) VALUES (1, 'Connected', NOW()) ON DUPLICATE KEY UPDATE Status='Connected',UpdatedOn=NOW(), thread_id: 2398]
10/11/24 22:15:04.398921 zmc_m1[14957].DB1-zm_packet.cpp/126 [got frame: format 0 yuv420p 1280x1024 linesize:1280x640 pts: -9223372036854775808 keyframe: 1]
10/11/24 22:15:04.399053 zmc_m1[14957].DB1-zm_monitor.cpp/2530 [Setup conversion context for 1280x1024 yuv420p to 1280x1024 rgba]
10/11/24 22:15:04.399062 zmc_m1[14957].DB1-zm_image.cpp/253 [PopulateFrame: width 1280 height 1024 linesize 5120 colours 4 imagesize 5242880 rgba]
10/11/24 22:15:04.399067 zmc_m1[14957].DB1-zm_image.cpp/285 [PopulateFrame: width 1280 height 1024 linesize 5120 colours 4 imagesize 5242880]
10/11/24 22:15:04.399071 zmc_m1[14957].DB1-zm_image.cpp/286 [Image.Populate(frame): format 26 rgba 1280x1024 linesize:5120x0 pts: -9223372036854775808 keyframe: 0]
10/11/24 22:15:04.399074 zmc_m1[14957].DB1-zm_image.cpp/315 [source frame before convert: format 0 yuv420p 1280x1024 linesize:1280x640 pts: -9223372036854775808 keyframe: 1]
10/11/24 22:15:04.402081 zmc_m1[14957].DB1-zm_image.cpp/329 [dest frame after convert: format 26 rgba 1280x1024 linesize:5120x0 pts: -9223372036854775808 keyframe: 0]
10/11/24 22:15:04.402753 zmc_m1[14958].DB1-zm_monitor.cpp/1852 [Recalculating motion_frame_skip (0) = capture_fps(0.247348) / analysis_fps(5.000000)]
10/11/24 22:15:04.402793 zmc_m1[14958].DB1-zm_monitor.cpp/1860 [Assigning instead of Detecting]
10/11/24 22:15:04.405570 zmc_m1[14958].ERR-zm_signal.cpp/54 [Got signal 11 (Segmentation fault), crashing]
10/11/24 22:15:04.405626 zmc_m1[14958].DB1-zm_signal.cpp/61 [Signal information: number 11 code 1 errno 0 pid 112 uid 0 status 0]
10/11/24 22:15:04.405630 zmc_m1[14958].ERR-zm_signal.cpp/84 [Signal address is 0x70, from 0x5dec18f87852]
10/11/24 22:15:04.405874 zmc_m1[14958].ERR-zm_signal.cpp/105 [Backtrace 0: /usr/bin/zmc(+0x54b66) [0x5dec18fa9b66]]
10/11/24 22:15:04.405889 zmc_m1[14958].ERR-zm_signal.cpp/105 [Backtrace 1: /lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x72de9c445320]]
10/11/24 22:15:04.405897 zmc_m1[14958].ERR-zm_signal.cpp/105 [Backtrace 2: /usr/bin/zmc(+0x32852) [0x5dec18f87852]]
10/11/24 22:15:04.405903 zmc_m1[14958].ERR-zm_signal.cpp/105 [Backtrace 3: /usr/bin/zmc(+0x5e1f1) [0x5dec18fb31f1]]
10/11/24 22:15:04.405909 zmc_m1[14958].ERR-zm_signal.cpp/105 [Backtrace 4: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xeabb4) [0x72de9c8eabb4]]
10/11/24 22:15:04.405915 zmc_m1[14958].ERR-zm_signal.cpp/105 [Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(+0x9ca94) [0x72de9c49ca94]]
10/11/24 22:15:04.405921 zmc_m1[14958].ERR-zm_signal.cpp/105 [Backtrace 6: /lib/x86_64-linux-gnu/libc.so.6(+0x129c3c) [0x72de9c529c3c]]
10/11/24 22:15:04.405927 zmc_m1[14958].INF-zm_signal.cpp/112 [Backtrace complete, please execute the following command for more information: addr2line -e /usr/bin/zmc 0x5dec18fa9b66 0x72de9c445320 0x5dec18f87852 0x5dec18fb31f1 0x72de9c8eabb4 0x72de9c49ca94 0x72de9c529c3c]
10/11/24 22:15:04.405937 zmc_m1[14958].FAT-zm_signal.cpp/52 [Got signal 11 (Segmentation fault), crashing]

The command
addr2line -e /usr/bin/zmc 0x5dec18fa9b66 0x72de9c445320 0x5dec18f87852 0x5dec18fb31f1 0x72de9c8eabb4 0x72de9c49ca94 0x72de9c529c3c
shows:
??:0
??:0
??:0
??:0
??:0
??:0
??:0

I could not find anything in the other log files that indicates an error.
If you want me to add other logs, please tell me which ones.

Copy link

welcome bot commented Oct 11, 2024

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

@gurka
Copy link

gurka commented Oct 17, 2024

I think that you need to install the zoneminder-dbg package, which should also be available in the ppa, to get anything useful from the addr2line command.

@connortechnology
Copy link
Member

Please update. There is a fix for this. Also, 1.36.35 has formally been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants