Search found 32 matches
- Sun Oct 02, 2005 2:18 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
Friends, the mistake is mine. Turns out I had entered the shared memory id as 0x7a6d200e instead of the default 0x7a6d2000. The zmc modules create their shared memory id by ORing their monitor id with the key. Problem is that the result of that ORing is the same for more than one module for example ...
- Wed Sep 28, 2005 2:56 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Tue Sep 27, 2005 11:14 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Tue Sep 27, 2005 1:21 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
Phil: That might have been me misreading a log actually. I'd like to log where in the shared memory the buffers are going, expressed as an offset from shared_data, on the zmc side and the zms side. That should tell us pretty quickly if there's some misunderstanding between the two. As for the shmem ...
- Mon Sep 26, 2005 3:29 pm
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
I don't think this is related to your problem. Your problem sounds like a mismatch between the rate zmc is populating the shared memory and the rate at which other modules are pulling it off; in other words, zmc is using up all available buffers before anyone else gets to use a buffer and free it up ...
- Mon Sep 26, 2005 10:56 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
Well, the shared_images pointer is too far up in the shared memory segment, so potentially the last buffer in the list of image buffers could run off the end of the shared memory segment, which would crash zmc I think. However I think I saw each image buffer being allocated a fairly generous fixed ...
- Mon Sep 26, 2005 2:01 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
Phil: found a bug I think: zm_monitor.cpp::Monitor::Setup int shared_data_size = sizeof(SharedData)+sizeof(TriggerData)+(image_buffer_count*sizeof(time_t))\+(image_buffer_count*camera->ImageSize()); ** note using time_t, sizeof=4 then a few lines later unsigned char *shared_images = (unsigned char ...
- Sat Sep 24, 2005 12:49 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Fri Sep 23, 2005 8:06 pm
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
You know what though...earlier logs indicated that zmc was sticking with the program as far as capture goes - the same image size was getting picked up every time. This makes me think that there's some problem with the way the shared memory is being used. In my last posted log, the "x/y" indicates ...
- Fri Sep 23, 2005 2:25 pm
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Fri Sep 23, 2005 3:13 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Wed Sep 21, 2005 1:48 am
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Tue Sep 20, 2005 6:50 pm
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Tue Sep 20, 2005 5:12 pm
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
- Tue Sep 20, 2005 12:05 pm
- Forum: ZoneMinder Previous Versions
- Topic: zoneminder mixing up my sources
- Replies: 62
- Views: 21599
Phil: a strings-filtered Ethereal capture of the session is at http://salem.dyndns.org/zmlogs/zm.dmp.txt