[mythtv-commits] Ticket #12350: segfault in mythzmserver when zoneminder was stoped by user
MythTV
noreply at mythtv.org
Tue Jan 20 14:49:19 UTC 2015
#12350: segfault in mythzmserver when zoneminder was stoped by user
-----------------------------------------+---------------------------------
Reporter: warpme@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythZoneminder | Version: Master Head
Severity: medium | Keywords: zoneminder
Ticket locked: 0 | mythzmserver
-----------------------------------------+---------------------------------
Current mythtv master has nice enhancement where user can be notified
about zoneminder alarms. When usage scenario is scenario with zoneminder
running non-stop - all seems to be OK. My home system uses zoneminder with
running state _only when home monitoring is armed_ (there is nobody home).
When anybody arrives - zoneminder is turned-off before entry. However in
my case, mythzmserver is still constantly 'on' - as without it, starting
FE shows error notification at start about missing mythzmserver.
Unfortunately having zoneminder stopped but mythzmserver running gives
segfaults in mythzmserver at FE start.
mythzmserver log is following:
{{{
-- Logs begin at Tue 2015-01-13 20:14:46 CET, end at Tue 2015-01-20
15:22:44 CET. --
Jan 20 15:22:28 mythtv mythzmserver[31816]: loading zm config from
/etc/zm.conf
Jan 20 15:22:28 mythtv mythzmserver[31816]: ZM is version '1.28.0'
Jan 20 15:22:28 mythtv mythzmserver[31816]: Listening on port: 6548
Jan 20 15:22:28 mythtv mythzmserver[31816]: Failed to shmget for monitor:
5
----------------------------------------------------------------------
}}}
trace from segfaulted mythzmserver is following:
{{{
----Proces trace------------------------------------------------------
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mythzmserver...done.
[New LWP 31816]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/bin/mythzmserver'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000407471 in MONITOR::getState (this=0x2f83d50)
at zmserver.cpp:399
(gdb) quit
----------------------------------------------------------------------
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12350>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list