zmc exit status 6

Forum for questions and support relating to the 1.24.x releases only.
Locked
the_crowbar
Posts: 22
Joined: Fri May 11, 2007 7:13 pm

zmc exit status 6

Post by the_crowbar »

Short description: Four monitors (on one bttv chip) fail to initialize. 28 other monitors are working.

Details:
Ubuntu 8.04 AMD64. Self compiled ffmpeg 0.5 and ZM 1.24.1.
One ProVideo PV-155 16 input 4 chip card.
One Euresys Picolo 16 input 4 chip card.

Camera connected to each input recording at either 320x240 or 480x360. All monitors attached to /dev/video6 appear as red in web interface. In zmdc.log I see this:

Code: Select all

03/24/2009 14:38:02.707612 zmdc[9875].INF ['zmupdate.pl -c' starting at 09/03/24 14:38:02, pid = 10013]
03/24/2009 14:38:22.031179 zmdc[9875].INF [Starting pending process, zmc -d /dev/video6]
03/24/2009 14:38:22.035455 zmdc[9875].INF ['zmc -d /dev/video6' starting at 09/03/24 14:38:22, pid = 10014]
03/24/2009 14:38:22.106003 zmdc[9875].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 14:39:02.043254 zmdc[9875].INF [Starting pending process, zmc -d /dev/video6]
03/24/2009 14:39:02.047615 zmdc[9875].INF ['zmc -d /dev/video6' starting at 09/03/24 14:39:02, pid = 10034]
03/24/2009 14:39:02.116403 zmdc[9875].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 14:39:29.161586 zmdc[9875].WAR [Can't find process with command of 'zmc -m']
03/24/2009 14:39:29.301919 zmdc[9875].WAR [Can't find process with command of 'zma -m']
03/24/2009 14:39:54.946108 zmdc[9875].WAR [Can't find process with command of 'zmc -m']
03/24/2009 14:39:55.083672 zmdc[9875].WAR [Can't find process with command of 'zma -m']
03/24/2009 14:40:22.058325 zmdc[9875].INF [Starting pending process, zmc -d /dev/video6]
03/24/2009 14:40:22.062663 zmdc[9875].INF ['zmc -d /dev/video6' starting at 09/03/24 14:40:22, pid = 10575]
03/24/2009 14:40:22.132342 zmdc[9875].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 14:40:29.337987 zmdc[9875].WAR [Can't find process with command of 'zmc -m']
03/24/2009 14:40:29.477416 zmdc[9875].WAR [Can't find process with command of 'zma -m']
03/24/2009 14:43:02.067571 zmdc[9875].INF [Starting pending process, zmc -d /dev/video6]
03/24/2009 14:43:02.071883 zmdc[9875].INF ['zmc -d /dev/video6' starting at 09/03/24 14:43:02, pid = 10610]
03/24/2009 14:43:02.141376 zmdc[9875].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 14:44:50.619643 zmdc[9875].INF ['zmc -d /dev/video4' stopping at 09/03/24 14:44:50]
03/24/2009 14:44:50.830069 zmdc[9875].INF ['zmc -d /dev/video4' exited normally]
03/24/2009 14:44:50.978477 zmdc[9875].INF ['zmc -d /dev/video4' starting at 09/03/24 14:44:50, pid = 10670]
03/24/2009 14:44:51.069784 zmdc[9875].ERR ['zmc -d /dev/video4' exited abnormally, exit status 255]
03/24/2009 14:44:51.070151 zmdc[9875].INF [Starting pending process, zmc -d /dev/video4]
03/24/2009 14:44:51.074625 zmdc[9875].INF ['zmc -d /dev/video4' starting at 09/03/24 14:44:51, pid = 10673]
03/24/2009 14:44:51.122109 zmdc[9875].INF ['zma -m 32' stopping at 09/03/24 14:44:51]
03/24/2009 14:44:51.125310 zmdc[9875].INF ['zma -m 32' exited normally]
So far I have been unable to find anything by searching. Any ideas what might be wrong?

Thanks,
the_crowbar
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

the_crowbar
Posts: 22
Joined: Fri May 11, 2007 7:13 pm

Post by the_crowbar »

I did not see anything in that thread that really applied to me. I am using all analog cams.

Just for a test I deleted all the working monitors and left only the problems ones. I did see a suspicious error in the system log. Something about a wrong palette. After checking the palette settings on one of the monitors they all came up. I had one set as RGB444 vice RGB555. I really have no idea what the different ones are or what I should be using, but that seemed to fix things.

There is also a crash recorded in the system log:

Code: Select all

Mar 24 16:11:54 sol zmdc[11770]: INF [Starting pending process, zmc -d /dev/video6] 
Mar 24 16:11:54 sol zmdc[11770]: INF ['zmc -d /dev/video6' starting at 09/03/24 16:11:54, pid = 11819] 
Mar 24 16:11:54 sol zmdc[11819]: INF ['zmc -d /dev/video6' started at 09/03/24 16:11:54] 
Mar 24 16:11:54 sol zmc_dvideo6[11819]: INF [Debug Level = 0, Debug Log = <none>]
Mar 24 16:11:54 sol zmc_dvideo6[11819]: WAR [Different video palettes defined for monitors sharing same device, results may be unpredictable or completely wrong]
Mar 24 16:11:54 sol zmc_dvideo6[11819]: INF [Starting Capture]
Mar 24 16:11:54 sol zmc_dvideo6[11819]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Mar 24 16:11:54 sol zmc_dvideo6[11819]: INF [Backtrace complete, please execute the following command for more information]
Mar 24 16:11:54 sol zmc_dvideo6[11819]: INF [addr2line -e /usr/local/bin/zmc(__gxx_personality_v0+0x269) 0x7fd25a9cb7d0 0x7fd2598cd095 0x7fd2598ceaf0 0x40ec36 0x41e4c3 0x41e89d 0x406727 0x7fd2598b91c4 0x4062d9]
Mar 24 16:12:34 sol zmdc[11770]: INF [Starting pending process, zmc -d /dev/video6] 
Mar 24 16:12:34 sol zmdc[11821]: INF ['zmc -d /dev/video6' started at 09/03/24 16:12:34] 
Mar 24 16:12:34 sol zmdc[11770]: INF ['zmc -d /dev/video6' starting at 09/03/24 16:12:34, pid = 11821] 
Mar 24 16:12:34 sol zmc_dvideo6[11821]: INF [Debug Level = 0, Debug Log = <none>]
Mar 24 16:12:34 sol zmc_dvideo6[11821]: WAR [Different video palettes defined for monitors sharing same device, results may be unpredictable or completely wrong]
Mar 24 16:12:34 sol zmc_dvideo6[11821]: INF [Starting Capture]
Mar 24 16:12:34 sol zmc_dvideo6[11821]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Mar 24 16:12:34 sol zmc_dvideo6[11821]: INF [Backtrace complete, please execute the following command for more information]
Mar 24 16:12:34 sol zmc_dvideo6[11821]: INF [addr2line -e /usr/local/bin/zmc(__gxx_personality_v0+0x269) 0x7f28b14f67d0 0x7f28b03f8095 0x7f28b03f9af0 0x40ec36 0x41e4c3 0x41e89d 0x406727 0x7f28b03e41c4 0x4062d9]
Mar 24 16:13:54 sol zmdc[11770]: INF [Starting pending process, zmc -d /dev/video6] 
Mar 24 16:13:54 sol zmdc[11822]: INF ['zmc -d /dev/video6' started at 09/03/24 16:13:54] 
Mar 24 16:13:54 sol zmdc[11770]: INF ['zmc -d /dev/video6' starting at 09/03/24 16:13:54, pid = 11822] 
Mar 24 16:13:54 sol zmc_dvideo6[11822]: INF [Debug Level = 0, Debug Log = <none>]

Here is the zmdc.log:

Code: Select all

/tmp$ cat zmdc.log
03/24/2009 16:11:31.176055 zmdc[11770].INF [Server starting at 09/03/24 16:11:31]
03/24/2009 16:11:34.318515 zmdc[11770].INF ['zmc -d /dev/video6' starting at 09/03/24 16:11:34, pid = 11792]
03/24/2009 16:11:34.385102 zmdc[11770].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 16:11:34.385526 zmdc[11770].INF [Starting pending process, zmc -d /dev/video6]
03/24/2009 16:11:34.389724 zmdc[11770].INF ['zmc -d /dev/video6' starting at 09/03/24 16:11:34, pid = 11794]
03/24/2009 16:11:34.434681 zmdc[11770].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 16:11:34.463568 zmdc[11770].INF ['zmc -d /dev/video6' starting at 09/03/24 16:11:34, pid = 11795]
03/24/2009 16:11:34.507288 zmdc[11770].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 16:11:34.605763 zmdc[11770].INF ['zmc -d /dev/video6' starting at 09/03/24 16:11:34, pid = 11797]
03/24/2009 16:11:34.650498 zmdc[11770].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
03/24/2009 16:11:34.750450 zmdc[11770].INF ['zmfilter.pl' starting at 09/03/24 16:11:34, pid = 11799]
03/24/2009 16:11:34.894913 zmdc[11770].INF ['zmaudit.pl -c' starting at 09/03/24 16:11:34, pid = 11801]
03/24/2009 16:11:35.038996 zmdc[11770].INF ['zmwatch.pl' starting at 09/03/24 16:11:35, pid = 11803]
03/24/2009 16:11:35.188966 zmdc[11770].INF ['zmupdate.pl -c' starting at 09/03/24 16:11:35, pid = 11805]
03/24/2009 16:11:54.092717 zmdc[11770].INF [Starting pending process, zmc -d /dev/video6]
03/24/2009 16:11:54.094988 zmdc[11770].INF ['zmc -d /dev/video6' starting at 09/03/24 16:11:54, pid = 11819]
03/24/2009 16:11:54.139557 zmdc[11770].ERR ['zmc -d /dev/video6' exited abnormally, exit status 6]
I was unable to get any output from addr2line. If you can give me the addr2line command to run I will try it. My ZM was built with debugging included.

Thanks,
the_crowbar
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Actually my post got crossed with another :oops:
addr2line is not useful if you don't have any instances of backtrace in your logs.

What was meant to be posted was to turn up debug to see if there was anymore detail. Glad you got it sorted.

All setting for all inputs on one device must all be the same. BT878's do not handle switching between ports if size, palette, or format are different.
Locked