zoneminder icon indicating copy to clipboard operation
zoneminder copied to clipboard

ZMC crashes when save JPEG is enabled

Open xeroiv opened this issue 2 years ago • 7 comments

Describe Your Environment

  • Version: 1.36.14
  • Installation: Installed from ZM Repo(https://wiki.zoneminder.com/Debian_11_Bullseye_with_Zoneminder_1.36.x)
  • OS: Debian 11 LXC on Proxmox 7.1
  • Storage: FreeNAS nfs share

Describe the bug When the option for save JPEG is enabled ZMC constantly crashes causing many single frame events to be saved instead of the 10 minute segments that are configured as the minimum event length.

To Reproduce Steps to reproduce the behavior:

  1. Go Monitor 1 Edit Screen.
  2. Set "save JPEG" to something other than disabled.
  3. Save Configuration.
  4. See error

Expected behavior ZMC for the monitor that saves JPEG not crashing.

Debug Logs

zmc_m1.log

xeroiv avatar Apr 08 '22 00:04 xeroiv

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

welcome[bot] avatar Apr 08 '22 00:04 welcome[bot]

Your logs show that you are passing through h264 stream to the videowriter ->

04/07/22 19:42:29.510443 zmc_m1[580].DB1-zm_event.cpp/182 [Using storage area at /shared/security/1/2022-04-07/4068]
04/07/22 19:42:29.510488 zmc_m1[580].DB1-zm_event.cpp/199 [Writing video file to /shared/security/1/2022-04-07/4068/4068-video.mp4]
04/07/22 19:42:29.510505 zmc_m1[580].DB4-zm_swscale.cpp/27 [SWScale object created]
04/07/22 19:42:29.510521 zmc_m1[580].DB1-zm_videostore.cpp/115 [Opening video storage stream /shared/security/1/2022-04-07/4068/4068-video.mp4 format: mp4]

baudneo avatar Apr 08 '22 19:04 baudneo

So after further reading some of the documents that setting would appear to be at odds with the passthrough command and should probably remain off. There is an issue though that someone CAN turn both those settings on and crashes ZMC.

xeroiv avatar Apr 10 '22 13:04 xeroiv

There is nothing wrong with saving to both mp4 and jpegs.

That log doesn't show any crashing.

connortechnology avatar Apr 11 '22 13:04 connortechnology

So is this still an ongoing issue? If you can't show actual crashing I'll have to close it.

connortechnology avatar Sep 21 '22 19:09 connortechnology

Hi, I have worked around the issue by using the correct setup options. I haven't done troubleshooting since I opened the issue.

On Wed, Sep 21, 2022, 3:58 PM Isaac Connor @.***> wrote:

So is this still an ongoing issue? If you can't show actual crashing I'll have to close it.

— Reply to this email directly, view it on GitHub https://github.com/ZoneMinder/zoneminder/issues/3463#issuecomment-1254166355, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSRYBYYKYH2DWLF2GBPVOLV7NSHBANCNFSM5S25YTXA . You are receiving this because you authored the thread.Message ID: @.***>

xeroiv avatar Sep 21 '22 20:09 xeroiv

I have the same issue. After a couple of seconds of recording log shows INF 'zmc -m 1' crashed, signal 8 zmdc.pl - and zoneminder is restarting. It's happening only when i use NFS storage and "Save jpegs" is checked.

Hi, I have worked around the issue by using the correct setup options. I haven't done troubleshooting since I opened the issue. On Wed, Sep 21, 2022, 3:58 PM Isaac Connor @.> wrote: So is this still an ongoing issue? If you can't show actual crashing I'll have to close it. — Reply to this email directly, view it on GitHub <#3463 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSRYBYYKYH2DWLF2GBPVOLV7NSHBANCNFSM5S25YTXA . You are receiving this because you authored the thread.Message ID: @.>

Could you please tell me, how you have solved it?

RTechSn avatar Mar 22 '23 08:03 RTechSn