Opened 5 years ago

Closed 5 years ago

#12142 closed Bug Report - General (Works for me)

After ZM upgrade to 1.27.0 LiveCamera & event preview not working

Reported by: warpme@… Owned by:
Priority: minor Milestone: unknown
Component: Plugin - MythZoneminder Version: 0.27-fixes
Severity: medium Keywords: zoneminder 1.27.0
Cc: Ticket locked: no

Description

After upgrade ZM to 1.27 zoneminder plugin showing "control" picture for 8bit/32bit palette LiveCamera?. 24bit cause segfault for mythzmserver daemon. Daemon log shows following:

Processing: 'GET_MONITOR_LIST'
Got 1 monitors
id:             3
name:           Salon
width:          640
height:         480
palette:        0
-------------------
Processing: 'GET_LIVE_FRAME'
Getting live frame from monitor: 3
Frame size: 0
Processing: 'GET_LIVE_FRAME'
Getting live frame from monitor: 3
Frame size: 0
Processing: 'GET_LIVE_FRAME'
Getting live frame from monitor: 3
Frame size: 0
Processing: 'GET_LIVE_FRAME'
Getting live frame from monitor: 3
Frame size: 0
Processing: 'GET_LIVE_FRAME'
Getting live frame from monitor: 3

Also displaying list of events has missing previews. Daemon log shows following:

[root@mythtv ~]# mythzmserver -v
loading zm config from /etc/zm.conf
Listening on port: 6548
Using server protocol version '10'
getZMSetting: ZM_SHM_KEY Result: 0x7a6d0000
Shared memory key is: 0x7a6d0000
getZMSetting: ZM_PATH_MAP Result: /dev/shm
Memory path directory is: /dev/shm
getZMSetting: ZM_EVENT_IMAGE_DIGITS Result: 3
Event file format is: %03d-capture.jpg
Analysis file format is: %03d-analyse.jpg
getZMSetting: ZM_USE_DEEP_STORAGE Result: 0
using flat directory structure
getZMSetting: ZM_CREATE_ANALYSIS_IMAGES Result: 1
using analysis images
Got 1 monitors
Opened mmap file: /dev/shm/zm.mmap.3
new connection from 192.168.1.130 on socket 5
Processing: 'HELLO'
Processing: 'GET_CAMERA_LIST'
Processing: 'GET_EVENT_DATES'
Loading event dates for monitor: <ANY>
Got 1 dates
Processing: 'GET_EVENT_LIST'
Loading events for monitor: <ANY>, date: <ANY>
Got 1 events
Processing: 'GET_ANALYSE_FRAME'
Getting analysis frame 0 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Can't open /var/http/zm/www/events/3/291/041-analyse.jpg: No such file or directory
Processing: 'GET_FRAME_LIST'
Loading frames for event: 291
Got 85 frames
Processing: 'GET_EVENT_FRAME'
Getting frame 1 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14701
Processing: 'GET_EVENT_FRAME'
Getting frame 2 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14742
Processing: 'GET_EVENT_FRAME'
Getting frame 3 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14772
Processing: 'GET_EVENT_FRAME'
Getting frame 4 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14933
Processing: 'GET_EVENT_FRAME'
Getting frame 5 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14654
Processing: 'GET_EVENT_FRAME'
Getting frame 6 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14681
Processing: 'GET_EVENT_FRAME'
Getting frame 7 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14810
Processing: 'GET_EVENT_FRAME'
Getting frame 8 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14752
Processing: 'GET_EVENT_FRAME'
Getting frame 9 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14834
Processing: 'GET_EVENT_FRAME'
Getting frame 10 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14680
Processing: 'GET_EVENT_FRAME'
Getting frame 11 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14660
Processing: 'GET_EVENT_FRAME'
Getting frame 12 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14760
Processing: 'GET_EVENT_FRAME'
Getting frame 13 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 14765
Processing: 'GET_EVENT_FRAME'
Getting frame 14 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 16823
Processing: 'GET_EVENT_FRAME'
Getting frame 15 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 16958
Processing: 'GET_EVENT_FRAME'
Getting frame 16 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 16898
Processing: 'GET_EVENT_FRAME'
Getting frame 17 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 17042
Processing: 'GET_EVENT_FRAME'
Getting frame 18 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 16984
Processing: 'GET_EVENT_FRAME'
Getting frame 19 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 17284
Processing: 'GET_EVENT_FRAME'
Getting frame 20 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 17123
Processing: 'GET_EVENT_FRAME'
Getting frame 21 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 16859
Processing: 'GET_EVENT_FRAME'
Getting frame 22 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Frame size: 16496
Processing: 'GET_ANALYSE_FRAME'
Getting analysis frame 0 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Can't open /var/http/zm/www/events/3/291/041-analyse.jpg: No such file or directory
Processing: 'GET_EVENT_LIST'
Loading events for monitor: <ANY>, date: <ANY>
Got 1 events
Processing: 'GET_ANALYSE_FRAME'
Getting analysis frame 0 for event 291 on monitor 3 event time is 14/05/13/21/43/04
Can't open /var/http/zm/www/events/3/291/041-analyse.jpg: No such file or directory

Change History (2)

comment:1 Changed 5 years ago by paulh

I've just upgraded to 1.27.0 and after fixing some installation problems in the new version everything is working OK for me.

Are you saying 8/32 bit work but 24bit is causing a segfault?

Can you get a backtrace?

comment:2 Changed 5 years ago by paulh

Resolution: Works for me
Status: newclosed

I've been using 1.27 for a few weeks now without issue.

Note: See TracTickets for help on using tickets.