Hello ALL!!! I use zm 1.19.1 for streaming translation over LAN. But i have a problem - zm starts and work well, but after some time (i didn't detected exactly when) zmc crashes...
in zndc.log there are strings:
Starting pending process, zmc -d 0
'zmc -d 0' started at 04/04/23 16:09:36
'zmc -d 0' starting at 04/04/23 16:09:36, pid = 2888
'zmc -d 0' crashed at 04/04/23 16:09:36, exit status 255
Starting pending process, zmc -d 0
'zmc -d 0' started at 04/04/23 16:09:56
'zmc -d 0' starting at 04/04/23 16:09:56, pid = 2891
'zmc -d 0' crashed at 04/04/23 16:09:56, exit status 255
Starting pending process, zmc -d 0
'zmc -d 0' started at 04/04/23 16:10:36
'zmc -d 0' starting at 04/04/23 16:10:36, pid = 2918
'zmc -d 0' crashed at 04/04/23 16:10:36, exit status 255
--------------------
i made strace of 'zmc -d 0' and found:
1) when zmc starts ok:
open("/dev/video0", O_RDWR) = 5
ioctl(5, VIDIOCGWIN, 0xbfffdd10) = 0
ioctl(5, VIDIOCSWIN, 0xbfffdd10) = 0
ioctl(5, VIDIOCGPICT, 0xbfffdd00) = 0
ioctl(5, VIDIOCSPICT, 0xbfffdd00) = 0
ioctl(5, VIDIOCGMBUF, 0xa486640) = 0
mmap2(NULL, 8519680, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x404c7000
ioctl(5, VIDIOCGCHAN, 0xbfffdcd0) = 0
ioctl(5, VIDIOCSCHAN, 0xbfffdcd0) = 0
ioctl(5, VIDIOCGWIN, 0xbfffdd10) = 0
ioctl(5, VIDIOCGPICT, 0xbfffdd00) = 0
shmget(2053971969, 6400448, IPC_CREAT|0x1c0|0600) = 163840
---------------------------
2) when it fails
open("/dev/video0", O_RDWR) = 5
ioctl(5, VIDIOCGWIN, 0xbffff420) = 0
ioctl(5, VIDIOCSWIN, 0xbffff420) = -1 EINVAL (Invalid argument)
gettimeofday({1082726880, 887300}, {4294967116, 0}) = 0
brk(0) = 0xc8c9000
brk(0xc8cb000) = 0xc8cb000
time([1082726880]) = 1082726880
and when it crashes.....
OS - Red hat 9.0, hardware - p3 500, 128 RAM
What can be a problem????
Thanks a lot!!!!