ZMA Segfault
Posted: Thu Jul 13, 2006 2:29 am
Hey everyone. I'm using ZM1.22.2, with FC4, and I'm having a crashing problem with zma. The following are excerpts from my messages file. Monitor function works great, just when I record/modetect, it has issues.
------------------------------
On Modetect, I get the following output. It keeps repeating itself over and over until I switch back to monitor.
Jul 12 22:23:52 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:23:52 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:52, pid = 21387]
Jul 12 22:23:52 tvserver zmdc[21387]: INF ['zma -m 1' started at 06/07/12 22:23:52]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21387]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [In mode 3/1, warming up]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [Got signal (Hangup), reloading]
Jul 12 22:23:53 tvserver zma_m1[21387]: INF [Garage: 14 - Processing at 7.00 fps]
Jul 12 22:23:54 tvserver zma_m1[21387]: INF [Garage: 21 - Processing at 7.00 fps]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Got signal (Segmentation fault), crashing]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Signal address is 0xfa73000, from 0x81c777 ]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma [0x80547fe]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma [0x805fa2d]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma [0x80647d4]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0x384) [0x804ad00]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xc6) [0x7c5de6]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0xa1) [0x804aa1d]]
Jul 12 22:23:55 tvserver zma_m1[21387]: INF [Backtrace complete]
Jul 12 22:23:55 tvserver zmdc[17309]: ERR ['zma -m 1' exited abnormally, exit status 11]
Jul 12 22:23:55 tvserver zmdc[17309]: INF [Starting pending process, zma -m 1]
Jul 12 22:23:55 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:55, pid = 21405]
Jul 12 22:23:55 tvserver zmdc[21405]: INF ['zma -m 1' started at 06/07/12 22:23:55]
Jul 12 22:23:55 tvserver zma_m1[21405]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:23:55 tvserver zma_m1[21405]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21405]
Jul 12 22:23:55 tvserver zma_m1[21405]: INF [In mode 3/1, warming up]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Got signal (Segmentation fault), crashing]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Signal address is 0xf0f8000, from 0x81c777 ]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma [0x80547fe]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma [0x805fa2d]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma [0x80647d4]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0x384) [0x804ad00]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xc6) [0x7c5de6]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0xa1) [0x804aa1d]]
Jul 12 22:24:00 tvserver zma_m1[21405]: INF [Backtrace complete]
Jul 12 22:24:00 tvserver zmdc[17309]: ERR ['zma -m 1' exited abnormally, exit status 11]
------------------------------
When switching to record mode, it SOMETIMES works, outputing the following and creating 1 event:
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:23:14 tvserver zmdc[21273]: INF ['zma -m 1' started at 06/07/12 22:23:14]
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:14, pid = 21273]
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zma -m 1' exited normally]
Jul 12 22:23:14 tvserver zmdc[17309]: INF [Starting pending process, zma -m 1]
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:14, pid = 21278]
Jul 12 22:23:14 tvserver zmdc[21278]: INF ['zma -m 1' started at 06/07/12 22:23:14]
Jul 12 22:23:14 tvserver zma_m1[21278]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:23:15 tvserver zma_m1[21278]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21278]
Jul 12 22:23:15 tvserver zma_m1[21278]: INF [In mode 4/1, warming up]
Jul 12 22:23:19 tvserver zma_m1[21278]: INF [Garage: 026 - Starting new event 5]
Jul 12 22:23:40 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:23:40 tvserver zmdc[17309]: INF ['zma -m 1' stopping at 06/07/12 22:23:40]
Jul 12 22:23:40 tvserver zma_m1[21278]: INF [Got signal (Terminated), exiting]
Jul 12 22:23:40 tvserver zmdc[17309]: INF ['zma -m 1' exited normally]
------------------------------
Most of the time on Record, I get the below. It creates 2 events, one of 0.00 length, and the other one is fine. The end of this snippet is as it's recording.
Jul 12 22:25:24 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:25:24 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:25:24, pid = 21591]
Jul 12 22:25:24 tvserver zmdc[21591]: INF ['zma -m 1' started at 06/07/12 22:25:24]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21591]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [In mode 4/1, warming up]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [Got signal (Hangup), reloading]
Jul 12 22:25:25 tvserver zma_m1[21591]: INF [Garage: 7 - Processing at 7.00 fps]
Jul 12 22:25:26 tvserver zma_m1[21591]: INF [Garage: 14 - Processing at 7.00 fps]
Jul 12 22:25:26 tvserver zma_m1[21591]: INF [Garage: 015 - Starting new event 6]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Got signal (Floating point exception), crashing]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Signal address is (nil), from 0x80633c8 ]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma [0x80633c8]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma [0x80633c8]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0x384) [0x804ad00]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xc6) [0x7c5de6]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0xa1) [0x804aa1d]]
Jul 12 22:25:27 tvserver zma_m1[21591]: INF [Backtrace complete]
Jul 12 22:25:27 tvserver zmdc[17309]: ERR ['zma -m 1' exited abnormally, exit status 8]
Jul 12 22:25:27 tvserver zmdc[17309]: INF [Starting pending process, zma -m 1]
Jul 12 22:25:27 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:25:27, pid = 21609]
Jul 12 22:25:27 tvserver zmdc[21609]: INF ['zma -m 1' started at 06/07/12 22:25:27]
Jul 12 22:25:27 tvserver zma_m1[21609]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:25:27 tvserver zma_m1[21609]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21609]
Jul 12 22:25:27 tvserver zma_m1[21609]: INF [In mode 4/1, warming up]
Jul 12 22:25:32 tvserver zma_m1[21609]: INF [Garage: 026 - Starting new event 7]
------------------------------
Any ideas? Other info I should provide?
Thanks!
Ben
------------------------------
On Modetect, I get the following output. It keeps repeating itself over and over until I switch back to monitor.
Jul 12 22:23:52 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:23:52 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:52, pid = 21387]
Jul 12 22:23:52 tvserver zmdc[21387]: INF ['zma -m 1' started at 06/07/12 22:23:52]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21387]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [In mode 3/1, warming up]
Jul 12 22:23:52 tvserver zma_m1[21387]: INF [Got signal (Hangup), reloading]
Jul 12 22:23:53 tvserver zma_m1[21387]: INF [Garage: 14 - Processing at 7.00 fps]
Jul 12 22:23:54 tvserver zma_m1[21387]: INF [Garage: 21 - Processing at 7.00 fps]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Got signal (Segmentation fault), crashing]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Signal address is 0xfa73000, from 0x81c777 ]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma [0x80547fe]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma [0x805fa2d]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma [0x80647d4]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0x384) [0x804ad00]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xc6) [0x7c5de6]]
Jul 12 22:23:55 tvserver zma_m1[21387]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0xa1) [0x804aa1d]]
Jul 12 22:23:55 tvserver zma_m1[21387]: INF [Backtrace complete]
Jul 12 22:23:55 tvserver zmdc[17309]: ERR ['zma -m 1' exited abnormally, exit status 11]
Jul 12 22:23:55 tvserver zmdc[17309]: INF [Starting pending process, zma -m 1]
Jul 12 22:23:55 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:55, pid = 21405]
Jul 12 22:23:55 tvserver zmdc[21405]: INF ['zma -m 1' started at 06/07/12 22:23:55]
Jul 12 22:23:55 tvserver zma_m1[21405]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:23:55 tvserver zma_m1[21405]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21405]
Jul 12 22:23:55 tvserver zma_m1[21405]: INF [In mode 3/1, warming up]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Got signal (Segmentation fault), crashing]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Signal address is 0xf0f8000, from 0x81c777 ]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /lib/libc.so.6(memset+0x37) [0x81c777]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma [0x80547fe]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma [0x805fa2d]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma [0x80647d4]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0x384) [0x804ad00]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xc6) [0x7c5de6]]
Jul 12 22:24:00 tvserver zma_m1[21405]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0xa1) [0x804aa1d]]
Jul 12 22:24:00 tvserver zma_m1[21405]: INF [Backtrace complete]
Jul 12 22:24:00 tvserver zmdc[17309]: ERR ['zma -m 1' exited abnormally, exit status 11]
------------------------------
When switching to record mode, it SOMETIMES works, outputing the following and creating 1 event:
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:23:14 tvserver zmdc[21273]: INF ['zma -m 1' started at 06/07/12 22:23:14]
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:14, pid = 21273]
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zma -m 1' exited normally]
Jul 12 22:23:14 tvserver zmdc[17309]: INF [Starting pending process, zma -m 1]
Jul 12 22:23:14 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:23:14, pid = 21278]
Jul 12 22:23:14 tvserver zmdc[21278]: INF ['zma -m 1' started at 06/07/12 22:23:14]
Jul 12 22:23:14 tvserver zma_m1[21278]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:23:15 tvserver zma_m1[21278]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21278]
Jul 12 22:23:15 tvserver zma_m1[21278]: INF [In mode 4/1, warming up]
Jul 12 22:23:19 tvserver zma_m1[21278]: INF [Garage: 026 - Starting new event 5]
Jul 12 22:23:40 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:23:40 tvserver zmdc[17309]: INF ['zma -m 1' stopping at 06/07/12 22:23:40]
Jul 12 22:23:40 tvserver zma_m1[21278]: INF [Got signal (Terminated), exiting]
Jul 12 22:23:40 tvserver zmdc[17309]: INF ['zma -m 1' exited normally]
------------------------------
Most of the time on Record, I get the below. It creates 2 events, one of 0.00 length, and the other one is fine. The end of this snippet is as it's recording.
Jul 12 22:25:24 tvserver zmdc[17309]: INF ['zmc -d /dev/video0' already running at 06/07/12 22:12:48, pid = 19887]
Jul 12 22:25:24 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:25:24, pid = 21591]
Jul 12 22:25:24 tvserver zmdc[21591]: INF ['zma -m 1' started at 06/07/12 22:25:24]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21591]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [In mode 4/1, warming up]
Jul 12 22:25:24 tvserver zma_m1[21591]: INF [Got signal (Hangup), reloading]
Jul 12 22:25:25 tvserver zma_m1[21591]: INF [Garage: 7 - Processing at 7.00 fps]
Jul 12 22:25:26 tvserver zma_m1[21591]: INF [Garage: 14 - Processing at 7.00 fps]
Jul 12 22:25:26 tvserver zma_m1[21591]: INF [Garage: 015 - Starting new event 6]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Got signal (Floating point exception), crashing]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Signal address is (nil), from 0x80633c8 ]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma [0x80633c8]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma [0x80633c8]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0x384) [0x804ad00]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xc6) [0x7c5de6]]
Jul 12 22:25:27 tvserver zma_m1[21591]: ERR [Backtrace: /usr/local/bin/zma(__gxx_personality_v0+0xa1) [0x804aa1d]]
Jul 12 22:25:27 tvserver zma_m1[21591]: INF [Backtrace complete]
Jul 12 22:25:27 tvserver zmdc[17309]: ERR ['zma -m 1' exited abnormally, exit status 8]
Jul 12 22:25:27 tvserver zmdc[17309]: INF [Starting pending process, zma -m 1]
Jul 12 22:25:27 tvserver zmdc[17309]: INF ['zma -m 1' starting at 06/07/12 22:25:27, pid = 21609]
Jul 12 22:25:27 tvserver zmdc[21609]: INF ['zma -m 1' started at 06/07/12 22:25:27]
Jul 12 22:25:27 tvserver zma_m1[21609]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 22:25:27 tvserver zma_m1[21609]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.21609]
Jul 12 22:25:27 tvserver zma_m1[21609]: INF [In mode 4/1, warming up]
Jul 12 22:25:32 tvserver zma_m1[21609]: INF [Garage: 026 - Starting new event 7]
------------------------------
Any ideas? Other info I should provide?
Thanks!
Ben