'zmc -m x' exited abnormally

Support and queries relating to all previous versions of ZoneMinder
Locked
alphac
Posts: 2
Joined: Mon Nov 13, 2006 6:16 pm

'zmc -m x' exited abnormally

Post by alphac »

I've got this strange behaviour, I see the image stream from a vivotek 6122 cam, but the zmc process exits abnormally after a few seconds, interrupting the video stram till it gets restarted
The system has 512 mb of ram and is a fresh install from the livecd.
If I increment the buffers values in the zm camera settings, it doesn't even stays up for few seconds, crashes immediately after the startup of the process.


log:

11/14/06 06:03:49.238366 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:03:59.806142 zmdc[12756].INF ['zmc -m 2' started at 06/11/14 06:03:59]
11/14/06 06:03:59.816077 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:03:59, pid = 12756]
Invalid JPEG file structure: two SOI markers
11/14/06 06:04:02.628731 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:04:10.007060 zmdc[12760].INF ['zmc -m 2' started at 06/11/14 06:04:10]
11/14/06 06:04:10.010112 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:04:10, pid = 12760]
Invalid JPEG file structure: two SOI markers
11/14/06 06:04:17.429005 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:04:30.249635 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:04:30, pid = 12765]
11/14/06 06:04:30.250397 zmdc[12765].INF ['zmc -m 2' started at 06/11/14 06:04:30]
Invalid JPEG file structure: two SOI markers
11/14/06 06:04:39.642130 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:04:50.488917 zmdc[12769].INF ['zmc -m 2' started at 06/11/14 06:04:50]
11/14/06 06:04:50.496330 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:04:50, pid = 12769]
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Invalid JPEG file structure: two SOI markers
heres your problem the jpeg recieved by zm has errors in it
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
alphac
Posts: 2
Joined: Mon Nov 13, 2006 6:16 pm

Post by alphac »

how can I solve it, when I manually point the browser to the image I never get a broken image, is it possible to use a more tolerant library to convert jpeg images?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

its not a lib its how zm get the images and browsers are more tolorant of errors.
If this cam has has been used and successfully working by somehere they 'may' have written how they got it working. As you know not all ip cams are equal and they dont just work. I cant help make it work as zm needs to be altered, and if phil has a cam of this type he can test aginst it. If you send him one im sure you will see it supported next release.

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
vaclav.stepan
Posts: 3
Joined: Fri Apr 13, 2007 8:29 pm

Also seen

Post by vaclav.stepan »

Hi,

I've also encountered this problem with Vivotek 6122. When the framerate to anything up to 3 on both sides (camera AND zm), the crashes are less frequent. It is also helpful to decrease the "check is the daemons have not locked" values (config). But that is not a real solution.

Vaclav
vaclav.stepan
Posts: 3
Joined: Fri Apr 13, 2007 8:29 pm

(maybe) Solved

Post by vaclav.stepan »

Hi,
previously, I worked with the Debian unstable Zoneminder packages where the external libpcre matching is not possible - the library is not compiled in by default.
I've recompiled zm (last, that is 1.21.3) from sources, now with the external pcre library.
Now, when I switch the regexp matching (in the network tab) to the external lib (check the box), the behaviour changed. I am on 10 fps (with Vivotek 6122) and rising and zmc is rock stable (ok, ok, for five minutes or so).
Vaclav
Eklectick
Posts: 127
Joined: Sat Nov 20, 2004 1:12 am

Post by Eklectick »

Hi

I have a Vivotek IP7138 with the "Invalid JPEG file structure: two SOI markers" running Livecd 1.22.3 on a Core Duo, 1GB of ram, 1 frame per second on ZM, 1 frame per second on camera and vaclav´s recomendation of daemons.

vaclav´s solution sounds kinda geeky for me :-S is there a more simple solution for this problem?

Regards!
Locked