Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#8715 closed defect (fixed)

MythZoneMiner crashes in LiveView without monitors

Reported by: otto at kolsi dot fi Owned by: paulh
Priority: minor Milestone: 0.24
Component: Plugin - MythZoneminder Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no

Description

If there are no monitors defined in ZoneMinder?, MythZoneminder? segfaults when trying to watch Live View. There seems to be code in place to handle no-monitors situation but segfault still occurs. I've attached bt which shows the problem.

Attachments (1)

mzminder-bt.txt (24.0 KB) - added by otto at kolsi dot fi 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by otto at kolsi dot fi

Attachment: mzminder-bt.txt added

comment:1 Changed 14 years ago by robertm

Status: newassigned

comment:2 Changed 14 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [25672]) MythZoneMinder?: Fix a segfault when displaying the live view when no monitors have been setup in ZoneMinder?.

There was already code to protect against that but it turns out you can't call Close() on a screen until after it has been fully initialised. Fixes #8715.

comment:3 Changed 14 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.