ZMS memory allocation error - only when displaying scaled playback
Posted: Sat Dec 05, 2015 4:21 pm
Hi,
This is my first zoneminder install. I have everything working- two IP cams streaming RTSP, motion detect is defined and operational, frames are captured, live streaming works (at any scaling value). With defaults, I am able to see playback of events. Happy.
However, because the IP cams are 3MP, the replay image does not fit on my server monitor, so I changed the monitor dialog / misc / default scale to 1/3. When I do this, I get the following:
- the event playback window opens and shows a single frame of the event.
- zms then times out because of the following error from the apache log:
[cgi:error] [pid 1838] [client 127.0.0.1:58175] AH01215: *** Error in `/usr/lib/cgi-bin/zms': free(): invalid next size (normal): 0x00000000084ee9e0 ***, referer: http://localhost/zm/index.php?view=even ... c=1&page=1
[Sat Dec 05 11:00:18.189003 2015] [cgi:error] [pid 1838] [client 127.0.0.1:58175] AH01215: *** Error in `/usr/lib/cgi-bin/zms': realloc(): invalid next size: 0x00000000084f0a10 ***, referer: http://localhost/zm/index.php?view=even ... c=1&page=1
These then cascade timeout errors related to the socket not opening. The ZMS app becomes unresponsive and nothing happens.
Setting the default scale back to "Actual" fixes the problem and I can stream recorded events again.
I'm on a fresh install of Linux Mint 17, (2) 3MP cams, 4fps, CPU loading is about 35%, 4Gb of RAM total.
Thanks for any help.
This is my first zoneminder install. I have everything working- two IP cams streaming RTSP, motion detect is defined and operational, frames are captured, live streaming works (at any scaling value). With defaults, I am able to see playback of events. Happy.
However, because the IP cams are 3MP, the replay image does not fit on my server monitor, so I changed the monitor dialog / misc / default scale to 1/3. When I do this, I get the following:
- the event playback window opens and shows a single frame of the event.
- zms then times out because of the following error from the apache log:
[cgi:error] [pid 1838] [client 127.0.0.1:58175] AH01215: *** Error in `/usr/lib/cgi-bin/zms': free(): invalid next size (normal): 0x00000000084ee9e0 ***, referer: http://localhost/zm/index.php?view=even ... c=1&page=1
[Sat Dec 05 11:00:18.189003 2015] [cgi:error] [pid 1838] [client 127.0.0.1:58175] AH01215: *** Error in `/usr/lib/cgi-bin/zms': realloc(): invalid next size: 0x00000000084f0a10 ***, referer: http://localhost/zm/index.php?view=even ... c=1&page=1
These then cascade timeout errors related to the socket not opening. The ZMS app becomes unresponsive and nothing happens.
Setting the default scale back to "Actual" fixes the problem and I can stream recorded events again.
I'm on a fresh install of Linux Mint 17, (2) 3MP cams, 4fps, CPU loading is about 35%, 4Gb of RAM total.
Thanks for any help.