[mythtv-users] Mythzoneminder and mmap

Paul Harrison mythtv at sky.com
Sat Oct 20 16:30:08 UTC 2012


On 20/10/12 16:27, Greg Grotsky wrote:
> On Sun, Sep 4, 2011 at 10:11 AM, Rajil Saraswat <rajil.s at gmail.com 
> <mailto:rajil.s at gmail.com>> wrote:
>
>     Hi,
>
>     Zoneminder has moved from using shared memory to mmap as a default. It
>     is a very welcome move since shm sometimes did not work very well. Are
>     there any plans of making mythzoneminder to work with mmap?
>
> 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:
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
> 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:-
>                         ERROR - Cannot get shared memory pointers
>

It should already try mmap first and then fall back to shm if that 
doesn't work.
http://code.mythtv.org/trac/changeset/ab02583b3e

Does the log from mythzmserver give any clues why it's failing? Adding  
the -v switch should give more debugging info.

Paul H.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121020/4a42fa6d/attachment.html>


More information about the mythtv-users mailing list