Can't get running zmc -d
Can't get running zmc -d
Hello!
I looked at forums but did not found anything about this
using webcam on video0
flyVIDEO2000 on video1
bt848a on video2
runing 1.22.1 version
I'a getting this in logs:
06/01/06 14:53:34.059642 zmdc[17585].INF [Starting pending process, zmc -d /dev/video1]
06/01/06 14:53:34.063215 zmdc[17687].INF ['zmc -d /dev/video1' started at 06/06/01 14:53:34]
06/01/06 14:53:34.068096 zmdc[17585].INF ['zmc -d /dev/video1' starting at 06/06/01 14:53:34, pid = 17687]
*** glibc detected *** double free or corruption (out): 0x0ed37210 ***
06/01/06 14:53:34.153755 zmdc[17585].INF ['zmc -d /dev/video1' crashed, signal 6]
06/01/06 14:53:35.055657 zmdc[17585].INF [Starting pending process, zmc -d /dev/video2]
06/01/06 14:53:35.060187 zmdc[17585].INF ['zmc -d /dev/video2' starting at 06/06/01 14:53:35, pid = 17689]
06/01/06 14:53:35.059250 zmdc[17689].INF ['zmc -d /dev/video2' started at 06/06/01 14:53:35]
*** glibc detected *** double free or corruption (out): 0x0ed11a00 ***
06/01/06 14:53:35.149467 zmdc[17585].INF ['zmc -d /dev/video2' crashed, signal 6]
zmc -d /dev/video1
*** glibc detected *** double free or corruption (out): 0x0ed37210 ***
Aborted
uname -a:
Linux sms 2.6.16-gentoo-r7 #1 SMP PREEMPT Fri May 12 14:17:02 MSD 2006 i686 Intel(R) Celeron(R) CPU 1.70GHz GenuineIntel GNU/Linux
xawvt -d /dev/video1 & 2
working ok
1.22.2 version:
zmc -d /dev/video1
Aborted
if I install from liveCD 1.22.3 on the same hadrware the all devices are working fine...
somebody help!!!
I looked at forums but did not found anything about this
using webcam on video0
flyVIDEO2000 on video1
bt848a on video2
runing 1.22.1 version
I'a getting this in logs:
06/01/06 14:53:34.059642 zmdc[17585].INF [Starting pending process, zmc -d /dev/video1]
06/01/06 14:53:34.063215 zmdc[17687].INF ['zmc -d /dev/video1' started at 06/06/01 14:53:34]
06/01/06 14:53:34.068096 zmdc[17585].INF ['zmc -d /dev/video1' starting at 06/06/01 14:53:34, pid = 17687]
*** glibc detected *** double free or corruption (out): 0x0ed37210 ***
06/01/06 14:53:34.153755 zmdc[17585].INF ['zmc -d /dev/video1' crashed, signal 6]
06/01/06 14:53:35.055657 zmdc[17585].INF [Starting pending process, zmc -d /dev/video2]
06/01/06 14:53:35.060187 zmdc[17585].INF ['zmc -d /dev/video2' starting at 06/06/01 14:53:35, pid = 17689]
06/01/06 14:53:35.059250 zmdc[17689].INF ['zmc -d /dev/video2' started at 06/06/01 14:53:35]
*** glibc detected *** double free or corruption (out): 0x0ed11a00 ***
06/01/06 14:53:35.149467 zmdc[17585].INF ['zmc -d /dev/video2' crashed, signal 6]
zmc -d /dev/video1
*** glibc detected *** double free or corruption (out): 0x0ed37210 ***
Aborted
uname -a:
Linux sms 2.6.16-gentoo-r7 #1 SMP PREEMPT Fri May 12 14:17:02 MSD 2006 i686 Intel(R) Celeron(R) CPU 1.70GHz GenuineIntel GNU/Linux
xawvt -d /dev/video1 & 2
working ok
1.22.2 version:
zmc -d /dev/video1
Aborted
if I install from liveCD 1.22.3 on the same hadrware the all devices are working fine...
somebody help!!!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
why not stick with the live cd?
Gentoo is unknown to me im afraid
Gentoo is unknown to me im afraid
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
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
This is the bit that worries me. Im unsure what it means but im thinking, unsucseful build (i have read about bugs in gcc in certain versions) or a mem issue, but other than that i dont knoww, but as ive never experienced this then im not much use im afraid*** glibc detected *** double free or corruption (out): 0x0ed37210 ***
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
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
-
- Posts: 4
- Joined: Thu Jun 01, 2006 6:45 pm
- Location: Poland
I've the same problem...
I'm sorry for my English. I haven't wrote in this language for 5 years.
I think that problems with run zmc on Gentoo are caused the build fail while compiling zmc. I've found this problems in the config.log file in ZoneMinder catalog.
I'm using Gentoo Linux:
zmc returns this message, when I try to run it from command line:
Yesterday I have tried to emerge this packet. It is masked (~x86). When I try to accept this word - ebuild don't want to compile on my machine. Those are the bugs:
Now I am updateing gcc. Maybe this is a problem.
Please, help as. This project is very, very important for me.
I think that problems with run zmc on Gentoo are caused the build fail while compiling zmc. I've found this problems in the config.log file in ZoneMinder catalog.
I'm using Gentoo Linux:
Code: Select all
# uname -a
Linux Serwer_1 2.6.16-gentoo-r3 #3 SMP PREEMPT Wed May 31 10:53:10 UTC
2006 i686 AMD Sempron(tm) 2300+ GNU/Linux
Code: Select all
# /usr/local/bin/zmc -d /dev/video0
*** glibc detected *** malloc(): memory corruption: 0x0ecd7430 ***
Aborted
Code: Select all
then mv -f ".deps/zm.Tpo" ".deps/zm.Po"; else rm -f ".deps/zm.Tpo"; exit 1; fi
In file included from zmc.cpp:24:
zm.h:28:23: zm_config.h: No such file or directory
In file included from /usr/include/math.h:70,
from zm_image.h:29,
from zm_monitor.h:28,
from zmc.cpp:26:
/usr/include/bits/mathcalls.h:310: error: declaration of `double round(double) throw ()' throws different exceptions
zm.h:33: error: than previous declaration `double round(double)'
In file included from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:26:
zm_event.h: In static member function `static void Event::Initialise()':
zm_event.h:86: error: `config' undeclared (first use this function)
zm_event.h:86: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from zmc.cpp:26:
zm_monitor.h: In member function `int Monitor::PostCapture()':
zm_monitor.h:287: error: `config' undeclared (first use this function)
zmc.cpp: In function `int main(int, char**)':
zmc.cpp:155: error: `zmLoadConfig' undeclared (first use this function)
zmc.cpp:225: error: `config' undeclared (first use this function)
In file included from zm.cpp:20:
zm.h:28:23: zm_config.h: No such file or directory
make[2]: *** [zmc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [zm.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4'
make: *** [all] Error 2
!!! ERROR: www-misc/zoneminder-1.21.4 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! emake failed
Please, help as. This project is very, very important for me.
--
Przemek
Przemek
I did't have those problems in compiling masked package
but nothing was working after installing
all sql and permissions had to do by hands...
but after this zm working as i sad, just onw cam...
it is worth to install zm-1.22.2 over from sorces and it's
working the same way...
I dont know shel I updete gcc or not!
somebody help as!
but nothing was working after installing
all sql and permissions had to do by hands...
but after this zm working as i sad, just onw cam...
it is worth to install zm-1.22.2 over from sorces and it's
working the same way...
I dont know shel I updete gcc or not!
somebody help as!
-
- Posts: 4
- Joined: Thu Jun 01, 2006 6:45 pm
- Location: Poland
closer to resolving a problem - I hope...
I am still upgrading my GCC, then system and world packages. I don't have leisure enough, I'm very busy in my own firm, so I do everything with Gentoo and ZoneMinder in parts...For few weeks.
I hope, that I'll solve this problem. I am closer and closer to find a reason of our problem.
I'll be so happy, that I'll drunk
I hope, that I'll solve this problem. I am closer and closer to find a reason of our problem.
I'll be so happy, that I'll drunk
--
Przemek
Przemek
-
- Posts: 4
- Joined: Thu Jun 01, 2006 6:45 pm
- Location: Poland
-
- Posts: 4
- Joined: Thu Jun 01, 2006 6:45 pm
- Location: Poland
Code: Select all
# uname -a
Linux Serwer_1 2.6.16-gentoo-r3 #3 SMP PREEMPT Wed May 31 10:53:10 UTC 2006 i686 AMD Sempron(tm) 2300+ GNU/Linux
Code: Select all
Jun 9 10:36:01 Serwer_1 zmpkg[8591]: INF [Command: start]
Jun 9 10:36:01 Serwer_1 zmpkg[8591]: ERR [Unable to find valid 'su' syntax]
--
Przemek
Przemek
I've got the same 'su' issue. Any luck
I did this!
./configure --with-libarch=lib \
--with-mysql=/usr \
--with-ffmpeg=/usr \
--with-webdir=/var/www/localhost/htdocs \
--with-cgidir=/var/www/localhost/cgi-bin \
--with-webuser=apache \
--with-webgroup=apache \
--enable-debug=yes \
--enable-crashtrace=yes
and all things start to work
./configure --with-libarch=lib \
--with-mysql=/usr \
--with-ffmpeg=/usr \
--with-webdir=/var/www/localhost/htdocs \
--with-cgidir=/var/www/localhost/cgi-bin \
--with-webuser=apache \
--with-webgroup=apache \
--enable-debug=yes \
--enable-crashtrace=yes
and all things start to work