Capture failure, possible signal loss?: Input/output error

Forum for questions and support relating to the 1.24.x releases only.
Locked
littlej
Posts: 68
Joined: Sun Oct 18, 2009 11:46 am

Capture failure, possible signal loss?: Input/output error

Post by littlej »

i'm geting a lots of this in zmdc.log :

12/28/09 01:01:21.393843 zmdc[26786].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

afther this blank screen. if i clik on source again, and click save it works again. i went into options and disabled STRICT_VIDEO_CONFIG. at least now i dont have to click source again and save. but still errors in logs apear.

this too:

12/28/09 01:01:21.381674 zmc_dvideo0[26810].WAR-zm_local_camera.cpp/1520 [Capture failure, possible signal loss?: Input/output error]
12/28/09 01:01:21.381991 zmc_dvideo0[26810].ERR-zmc.cpp/260 [Failed to capture image from monitor 13 (0/1)]
12/28/09 01:01:21.382138 zmc_dvideo0[26810].DB3-zm_local_camera.cpp/698 [Terminating video stream]
12/28/09 01:01:21.382225 zmc_dvideo0[26810].DB3-zm_local_camera.cpp/704 [Unmapping video buffers]


i have 2 camera runing, and aint hapening to bouth in the same time... its kinda random. its enoying cose i'm usin jZMConsole also, and if this hapens few times i get a blank screen there too. so have to restart that too... what could it be? how can i debug anymore ? i have lvl 9 turned but still cant figure it out.

Should i increse SIGNAL_CHECK_POINTS ? i curently have it set to 20...


this error apeared too :

12/28/09 01:12:25.429714 zms[28990].ERR-zm_monitor.cpp/3590 [Terminating, last frame sent time 10.003876 secs more than maximum of 10.000000]

i have my cameras running at 10fps, could this be a link or something ?
littlej
Posts: 68
Joined: Sun Oct 18, 2009 11:46 am

Post by littlej »

and few more debuging it seems to be something with shared memory

12/28/09 01:21:08.840713 zms[30031].DB1-zm_monitor.cpp/458 [Monitor Curte has function 2]
12/28/09 01:21:08.840739 zms[30031].DB1-zm_monitor.cpp/459 [Monitor Curte LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
12/28/09 01:21:08.840754 zms[30031].DB1-zm_monitor.cpp/460 [Monitor Curte IBC = 24, WUC = 25, pEC = 20, PEC = 60, EAF = 1, FRI = 1000, RBP = 4, FM = 0]
12/28/09 01:21:08.840772 zms[30031].DB1-zm_monitor.cpp/2470 [Loaded monitor 13(Curte), 0 zones]
12/28/09 01:21:08.840944 zms[30031].DB3-zm_stream.cpp/58 [FPS:0.00, MXFPS:10.00, BFPS:0.00, EFPS:0.00, FM:1]
12/28/09 01:21:08.840985 zms[30031].DB3-zm_stream.cpp/65 [aEFPS:0.00, aFM:1]
12/28/09 01:21:08.841154 zms[30031].DB2-zm_monitor.cpp/3385 [Checking swap image location]
12/28/09 01:21:08.841195 zms[30031].DB3-zm_monitor.cpp/3386 [Checking swap image path]
12/28/09 01:21:08.841264 zms[30031].DB3-zm_monitor.cpp/2879 [Swap path '/tmp/zmswap-m13/zmswap-q125612' missing, creating]
12/28/09 01:21:08.841342 zms[30031].DB2-zm_monitor.cpp/3407 [Assigning temporary buffer]
12/28/09 01:21:08.851310 zms[30031].DB2-zm_monitor.cpp/3410 [Assigned temporary buffer]
12/28/09 01:21:08.851493 zms[30031].DB3-zm_stream.cpp/115 [Scaling by 100, zooming by 100 = magnifying by 100(100)]
12/28/09 01:21:08.851513 zms[30031].DB3-zm_stream.cpp/119 [Last scaling by 100, zooming by 100 = magnifying by 100(100)]
12/28/09 01:21:08.851533 zms[30031].DB3-zm_stream.cpp/122 [Base image width = 320, height = 240]
12/28/09 01:21:08.851546 zms[30031].DB3-zm_stream.cpp/125 [Virtual image width = 320, height = 240]
12/28/09 01:21:08.851558 zms[30031].DB3-zm_stream.cpp/128 [Last virtual image width = 320, height = 240]
12/28/09 01:21:08.851570 zms[30031].DB3-zm_stream.cpp/131 [Actual image width = 320, height = 240]
12/28/09 01:21:08.851583 zms[30031].DB3-zm_stream.cpp/134 [Last actual image width = 320, height = 240]
12/28/09 01:21:08.851595 zms[30031].DB3-zm_stream.cpp/137 [Display image width = 320, height = 240]
12/28/09 01:21:08.851607 zms[30031].DB3-zm_stream.cpp/140 [Last display image width = 320, height = 240]
12/28/09 01:21:08.851622 zms[30031].DB3-zm_stream.cpp/143 [Send image width = 320, height = 240]
12/28/09 01:21:08.851638 zms[30031].DB3-zm_stream.cpp/146 [Last send image width = 320, height = 240]
12/28/09 01:21:08.851653 zms[30031].DB3-zm_stream.cpp/164 [Real image width = 320, height = 240]
12/28/09 01:21:08.854735 zms[30031].WAR-zm_monitor.cpp/3575 [Unable to store frame as shared memory invalid]
12/28/09 01:21:11.355543 zms[30031].DB3-zm_stream.cpp/115 [Scaling by 100, zooming by 100 = magnifying by 100(100)]
12/28/09 01:21:11.355568 zms[30031].DB3-zm_stream.cpp/119 [Last scaling by 100, zooming by 100 = magnifying by 100(100)]
12/28/09 01:21:11.355584 zms[30031].DB3-zm_stream.cpp/122 [Base image width = 320, height = 240]
12/28/09 01:21:11.355598 zms[30031].DB3-zm_stream.cpp/125 [Virtual image width = 320, height = 240]



strange, cose i used --enable-mmap when i compiled...

can any one tell me how to calculate what shmax and shmmall to use? i have 2gb ram. thanks
Locked