I delete this segment: ipcrm -m <id>
And restart ZM.
The first error was after command: /etc/rc.d/rc.zm restart
Code: Select all
*** glibc detected *** malloc(): memory corruption: 0x0dac9b20 ***
*** glibc detected *** malloc(): memory corruption: 0x0dac9b20 ***
*** glibc detected *** malloc(): memory corruption: 0x0dac9b20 ***
*** glibc detected *** malloc(): memory corruption: 0x0dac9b20 ***
In /var/log/messages:
Code: Select all
zmpkg[5789]: INF [Command: start]
zmdc[5802]: INF [Server starting at 06/04/27 20:17:09]
zmdc[5802]: INF ['zmc -d /dev/video0' starting at 06/04/27 20:17:12, pid = 5825]
zmdc[5825]: INF ['zmc -d /dev/video0' started at 06/04/27 20:17:12]
zmc_dvideo0[5825]: INF [Debug Level = 0, Debug Log = <none>]
zmdc[5802]: INF ['zmfilter.pl' starting at 06/04/27 20:17:12, pid = 5829]
zmdc[5829]: INF ['zmfilter.pl' started at 06/04/27 20:17:12]
zmdc[5802]: INF ['zmaudit.pl -c' starting at 06/04/27 20:17:12, pid = 5833]
zmdc[5833]: INF ['zmaudit.pl -c' started at 06/04/27 20:17:12]
zmdc[5802]: INF ['zmwatch.pl' starting at 06/04/27 20:17:13, pid = 5837]
zmdc[5837]: INF ['zmwatch.pl' started at 06/04/27 20:17:13]
zmfilter[5829]: INF [Scanning for events]
zmdc[5802]: INF ['zmupdate.pl -c' starting at 06/04/27 20:17:13, pid = 5843]
zmdc[5843]: INF ['zmupdate.pl -c' started at 06/04/27 20:17:13]
zmdc[5802]: INF ['zmc -d /dev/video0' died, signal 6]
zmdc[5802]: INF [Starting pending process, zmc -d /dev/video0]
zmdc[5802]: INF ['zmc -d /dev/video0' starting at 06/04/27 20:17:13, pid = 5844]
zmdc[5844]: INF ['zmc -d /dev/video0' started at 06/04/27 20:17:13]
zmc_dvideo0[5844]: INF [Debug Level = 0, Debug Log = <none>]
zmwatch[5837]: INF [Watchdog starting]
zmwatch[5837]: INF [Watchdog pausing for 30 seconds]
zmdc[5802]: INF ['zmc -d /dev/video0' died, signal 6]
zmdc[5802]: INF [Starting pending process, zmc -d /dev/video0]
zmdc[5802]: INF ['zmc -d /dev/video0' starting at 06/04/27 20:17:19, pid = 5850]
zmdc[5850]: INF ['zmc -d /dev/video0' started at 06/04/27 20:17:19]
zmc_dvideo0[5850]: INF [Debug Level = 0, Debug Log = <none>]
zmdc[5802]: INF ['zmc -d /dev/video0' died, signal 6]
zmdc[5802]: INF [Starting pending process, zmc -d /dev/video0]
zmdc[5802]: INF ['zmc -d /dev/video0' starting at 06/04/27 20:17:29, pid = 5860]
zmdc[5860]: INF ['zmc -d /dev/video0' started at 06/04/27 20:17:29]
zmc_dvideo0[5860]: INF [Debug Level = 0, Debug Log = <none>]
zmdc[5802]: INF ['zmc -d /dev/video0' died, signal 6]
In /var/log/syslog
Code: Select all
zmc_dvideo0[5675]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
zmdc[5570]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
zmc_dvideo0[5677]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
zmdc[5570]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
zmc_dvideo0[5687]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
zmdc[5570]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
zmc_dvideo0[5689]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
zmdc[5570]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
zmc_dvideo0[5692]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
zmdc[5570]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
In zmdc.log
Code: Select all
zmdc[5802].INF ['zmc -d /dev/video0' starting at 06/04/27 20:17:12, pid = 5825]
zmdc[5825].INF ['zmc -d /dev/video0' started at 06/04/27 20:17:12]
zmdc[5802].INF ['zmfilter.pl' starting at 06/04/27 20:17:12, pid = 5829]
zmdc[5829].INF ['zmfilter.pl' started at 06/04/27 20:17:12]
zmdc[5802].INF ['zmaudit.pl -c' starting at 06/04/27 20:17:12, pid = 5833]
zmdc[5833].INF ['zmaudit.pl -c' started at 06/04/27 20:17:12]
zmdc[5802].INF ['zmwatch.pl' starting at 06/04/27 20:17:13, pid = 5837]
zmdc[5837].INF ['zmwatch.pl' started at 06/04/27 20:17:13]
zmdc[5802].INF ['zmupdate.pl -c' starting at 06/04/27 20:17:13, pid = 5843]
zmdc[5843].INF ['zmupdate.pl -c' started at 06/04/27 20:17:13]
zmdc[5802].INF ['zmc -d /dev/video0' died, signal 6]
zmdc[5802].INF [Starting pending process, zmc -d /dev/video0]
zmdc[5802].INF ['zmc -d /dev/video0' starting at 06/04/27 20:17:13, pid = 5844]
zmdc[5844].INF ['zmc -d /dev/video0' started at 06/04/27 20:17:13]
zmdc[5802].INF ['zmc -d /dev/video0' died, signal 6]
In 'strace zmc -d /dev/video0'
Code: Select all
open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 6
writev(6, [{"*** glibc detected *** ", 23}, {"malloc(): memory c orruption", 27}, {": 0x", 4}, {"0dac9b20", 8}, {" ***\n", 5}], 5 *** glibc detected *** malloc(): memory corruption: 0x0dac9b20 * **
) = 67
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
getpid() = 5985
kill(5985, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
In 'ipcs -m'
Code: Select all
- Segmentos da memória compartilhada -
chave shmid proprietário perms bytes nattch status
0x00000000 0 root 600 33554432 11 dest
0x00000000 32769 root 600 33554432 11 dest
0x00000000 65538 root 600 46084 11 dest
0x7a6d2001 458755 nobody 700 9216708 0
0x00000001 294916 nobody 700 3041988 0
What it can be?
Thanks lot