<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 20/10/12 16:27, Greg Grotsky wrote:<br>
</div>
<blockquote
cite="mid:CAKL4i_q_oMd0fZAf5u4PEAgCpoF5Ud8QVpmM-wfwEZNRORyzHw@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Sun, Sep 4, 2011 at 10:11 AM, Rajil
Saraswat <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rajil.s@gmail.com" target="_blank">rajil.s@gmail.com</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"
class="gmail_quote">
<p>Hi,<br>
<br>
Zoneminder has moved from using shared memory to mmap as a
default. It<br>
is a very welcome move since shm sometimes did not work very
well. Are<br>
there any plans of making mythzoneminder to work with mmap?<br>
</p>
</blockquote>
<div> </div>
<div>I second this question. I've recently installed zoneminder
1.25.0 on my machine and I've found that mythzoneminder does
not display the live stream. It just shows a "TV Test Pattern"
display and throws a bunch of errors in the log:</div>
<div> </div>
<div>2012-10-20 09:25:32.865905 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:32.967017 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.068153 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.169238 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.329914 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.431208 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.532428 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.633852 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.735045 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.836297 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:33.937571 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
2012-10-20 09:25:34.040503 E [14707/14707] CoreContext
zmclient.cpp:176 (sendReceiveStringList) - The server failed
to process the command. The error was:-<br>
ERROR - Cannot get shared memory
pointers<br>
</div>
</div>
<br>
</blockquote>
<br>
It should already try mmap first and then fall back to shm if that
doesn't work.<br>
<a class="moz-txt-link-freetext" href="http://code.mythtv.org/trac/changeset/ab02583b3e">http://code.mythtv.org/trac/changeset/ab02583b3e</a><br>
<br>
Does the log from mythzmserver give any clues why it's failing?
Adding the -v switch should give more debugging info.<br>
<br>
Paul H.<br>
<br>
<br>
</body>
</html>