Zoneminder stops working with no reason...

Forum for questions and support relating to the 1.24.x releases only.
Locked
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

Zoneminder stops working with no reason...

Post by DRAGSTER_TUNER »

Something is wrong...

Suddenly, all the cams fade to black and all the /de/video/ stay red, but it still "running"

i stop it, and opwn xawtv as user and it stills black screen, with this console exit:

dukenukem@duke:~$ xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.32-5-amd64)
xinerama 0: 1680x1050+0+0
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 130 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 15
Current serial number in output stream: 15
v4l-conf had some trouble, trying to continue anyway
v4l2: WARNING: framebuffer size mismatch
v4l2: me=1680x1050 v4l=0x0
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Erro de entrada/saída

If i try run xawtv as root, sometime it works another dont... here is the console exit from root:

root@duke:/home/dukenukem# xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.32-5-amd64)
xinerama 0: 1680x1050+0+0
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 130 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 15
Current serial number in output stream: 15
v4l-conf had some trouble, trying to continue anyway
v4l2: WARNING: framebuffer size mismatch
v4l2: me=1680x1050 v4l=0x0
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Erro de entrada/saída
v4l2: read: Erro de entrada/saída
*** glibc detected *** /usr/bin/xawtv: free(): invalid next size (normal): 0x00000000020a1e40 ***
======= Backtrace: =========
/lib/libc.so.6(+0x725d6)[0x7f90fe27e5d6]
/lib/libc.so.6(cfree+0x6c)[0x7f90fe28330c]
/usr/bin/xawtv[0x42ad4d]
/usr/lib/xawtv/drv0-v4l2.so(+0x5e46)[0x7f90fa6aae46]
/usr/bin/xawtv(ng_grabber_get_image+0x29)[0x428959]
/usr/bin/xawtv(x11_capture_pixmap+0x7a)[0x41502a]
/usr/bin/xawtv[0x41087c]
/usr/bin/xawtv[0x424e9e]
/usr/bin/xawtv[0x425d18]
/usr/bin/xawtv(do_va_cmd+0xe1)[0x427111]
/usr/bin/xawtv(ExitCB+0x39)[0x419819]
/usr/lib/libXt.so.6(+0x4c0ed)[0x7f90fffd00ed]
/usr/lib/libXt.so.6(+0x4c52d)[0x7f90fffd052d]
/usr/lib/libXt.so.6(_XtTranslateEvent+0x57c)[0x7f90fffd0adc]
/usr/lib/libXt.so.6(XtDispatchEventToWidget+0x3cb)[0x7f90fffa6e2b]
/usr/lib/libXt.so.6(+0x234de)[0x7f90fffa74de]
/usr/lib/libXt.so.6(XtDispatchEvent+0xb4)[0x7f90fffa6644]
/usr/bin/xawtv(xt_main_loop+0x3f)[0x41721f]
/usr/bin/xawtv(main+0x1730)[0x412710]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f90fe22aead]
/usr/bin/xawtv[0x40ef99]
======= Memory map: ========
00400000-0043d000 r-xp 00000000 08:21 73417438 /usr/bin/xawtv.bin
0063d000-00645000 rw-p 0003d000 08:21 73417438 /usr/bin/xawtv.bin
00645000-0064c000 rw-p 00000000 00:00 0
01d65000-0212e000 rw-p 00000000 00:00 0 [heap]
41612000-41678000 rw-p 00000000 00:05 562 /dev/zero
7f90f0000000-7f90f0021000 rw-p 00000000 00:00 0
7f90f0021000-7f90f4000000 ---p 00000000 00:00 0
7f90f792a000-7f90f793f000 r-xp 00000000 08:21 57286793 /lib/libgcc_s.so.1
7f90f793f000-7f90f7b3f000 ---p 00015000 08:21 57286793 /lib/libgcc_s.so.1
7f90f7b3f000-7f90f7b40000 rw-p 00015000 08:21 57286793 /lib/libgcc_s.so.1
7f90f7b40000-7f90f7b42000 r-xp 00000000 08:21 73629936 /usr/lib/gconv/ISO8859-1.so
7f90f7b42000-7f90f7d41000 ---p 00002000 08:21 73629936 /usr/lib/gconv/ISO8859-1.so
7f90f7d41000-7f90f7d42000 r--p 00001000 08:21 73629936 /usr/lib/gconv/ISO8859-1.so
7f90f7d42000-7f90f7d43000 rw-p 00002000 08:21 73629936 /usr/lib/gconv/ISO8859-1.so
7f90f7d43000-7f90f7d58000 r--p 00000000 08:21 27597433 /usr/share/locale/pt_BR/LC_MESSAGES/libc.mo
7f90f7d8e000-7f90f7e8e000 rw-s 1318ab000 00:05 5131 /dev/nvidia0
7f90f7e8e000-7f90f7e8f000 rw-s fdc03000 00:05 5131 /dev/nvidia0
7f90f7e8f000-7f90f7f8f000 rw-s 182482000 00:05 5131 /dev/nvidia0
7f90f7f8f000-7f90f7f90000 rw-s 196e9e000 00:05 5131 /dev/nvidia0
7f90f7f90000-7f90f7f91000 rw-s fd001000 00:05 5131 /dev/nvidia0
7f90f7f91000-7f90f86bf000 rw-s d0000000 00:05 5131 /dev/nvidia0
7f90f86bf000-7f90f8780000 rw-p 00000000 00:00 0
7f90f87e8000-7f90f8828000 rw-s dff7e000 00:05 5131 /dev/nvidia0
7f90f8828000-7f90f8841000 rw-s 00000000 00:04 0 /SYSV00000000 (deleted)
7f90f8841000-7f90f8846000 r-xp 00000000 08:21 27598708 /usr/lib/libXfixes.so.3.1.0
7f90f8846000-7f90f8a46000 ---p 00005000 08:21 27598708 /usr/lib/libXfixes.so.3.1.0
7f90f8a46000-7f90f8a47000 rw-p 00005000 08:21 27598708 /usr/lib/libXfixes.so.3.1.0
7f90f8a47000-7f90f8a50000 r-xp 00000000 08:21 27595558 /usr/lib/libXcursor.so.1.0.2
7f90f8a50000-7f90f8c50000 ---p 00009000 08:21 27595558 /usr/lib/libXcursor.so.1.0.2
7f90f8c50000-7f90f8c51000 rw-p 00009000 08:21 27595558 /usr/lib/libXcursor.so.1.0.2
7f90f8c51000-7f90f8c53000 r-xp 00000000 08:21 28099746 /usr/lib/xawtv/write-dv.so
7f90f8c53000-7f90f8e52000 ---p 00002000 08:21 28099746 /usr/lib/xawtv/write-dv.so
7f90f8e52000-7f90f8e53000 rw-p 00001000 08:21 28099746 /usr/lib/xawtv/write-dv.so
7f90f8e53000-7f90f8e56000 r-xp 00000000 08:21 28099745 /usr/lib/xawtv/write-avi.so
7f90f8e56000-7f90f9055000 ---p 00003000 08:21 28099745 /usr/lib/xawtv/write-avi.so
7f90f9055000-7f90f9056000 rw-p 00002000 08:21 28099745 /usr/lib/xawtv/write-avi.so
7f90f9056000-7f90f905a000 r-xp 00000000 08:21 28099744 /usr/lib/xawtv/snd-oss.so
7f90f905a000-7f90f9259000 ---p 00004000 08:21 28099744 /usr/lib/xawtv/snd-oss.so
7f90f9259000-7f90f925a000 rw-p 00003000 08:21 28099744 /usr/lib/xawtv/snd-oss.so
7f90f925a000-7f90f9276000 r-xp 00000000 08:21 27598477 /usr/lib/libdv.so.4.0.3
7f90f9276000-7f90f9475000 ---p 0001c000 08:21 27598477 /usr/lib/libdv.so.4.0.3
7f90f9475000-7f90f9478000 rw-p 0001b000 08:21 27598477 /usr/lib/libdv.so.4.0.3
7f90f9478000-7f90f9485000 rw-p 00000000 00:00 0
7f90f9485000-7f90f9487000 r-xp 00000000 08:21 28099743 /usr/lib/xawtv/read-dv.so
7f90f9487000-7f90f9687000 ---p 00002000 08:21 28099743 /usr/lib/xawtv/read-dv.so
7f90f9687000-7f90f9688000 rw-p 00002000 08:21 28099743 /usr/lib/xawtv/read-dv.so
7f90f9688000-7f90f968a000 r-xp 00000000 08:21 28099742 /usr/lib/xawtv/read-avi.so
7f90f968a000-7f90f988a000 ---p 00002000 08:21 28099742 /usr/lib/xawtv/read-avi.so
7f90f988a000-7f90f988b000 rw-p 00002000 08:21 28099742 /usr/lib/xawtv/read-avi.so
7f90f988b000-7f90f988c000 r-xp 00000000 08:21 28099741 /usr/lib/xawtv/linedoubler.so
7f90f988c000-7f90f9a8b000 ---p 00001000 08:21 28099741 /usr/lib/xawtv/linedoubler.so
7f90f9a8b000-7f90f9a8c000 rw-p 00000000 08:21 28099741 /usr/lib/xawtv/linedoubler.so
7f90f9a8c000-7f90f9a8d000 r-xp 00000000 08:21 28099740 /usr/lib/xawtv/linear-blend.so
7f90f9a8d000-7f90f9c8c000 ---p 00001000 08:21 28099740 /usr/lib/xawtv/linear-blend.so
7f90f9c8c000-7f90f9c8d000 rw-p 00000000 08:21 28099740 /usr/lib/xawtv/linear-blend.so
7f90f9c8d000-7f90f9c8f000 r-xp 00000000 08:21 28099739 /usr/lib/xawtv/flt-smooth.so
7f90f9c8f000-7f90f9e8e000 ---p 00002000 08:21 28099739 /usr/lib/xawtv/flt-smooth.so
7f90f9e8e000-7f90f9e8f000 rw-p 00001000 08:21 28099739 /usr/lib/xawtv/flt-smooth.soAbortado
root@duke:/home/dukenukem#


When it works as root, i restart or start zoneminder and it back to works...but just for amount of time...could be hbours or 1~2 days...

Any clue?
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

Re: Zoneminder stops working with no reason...

Post by DRAGSTER_TUNER »

Solved! I just unplug my capture card from my motherboard and unplug the cables too, and then reinstall it all again, problem disappear.
Locked