| Author |
Message |
|
wisekki
Joined: Tue Feb 27, 2007 12:58 pm Posts: 39
|
 ERR [Got signal (Floating point exception), crashing]
Okay a new thread with new errors. A fresh install of Ubuntu 8.10 32bit and zm1.23.3 from source. Configured with:
When adding a new usb-camera (ID 046d:08da Logitech, Inc. QuickCam Messanger) using gspca_zc3xx and gspca_main modules (ubuntu installed them.) I get these errors to syslog:  |  |  |  | Code: Jan 29 10:16:16 router zma_m2[17427]: WAR [Waiting for capture daemon] Jan 29 10:16:16 router kernel: [ 2186.692097] zc3xx: probe 2wr ov vga 0x0000 Jan 29 10:16:17 router zma_m2[17427]: WAR [Waiting for capture daemon] Jan 29 10:16:17 router zmc_dvideo1[17449]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument] Jan 29 10:16:17 router zmc_dvideo1[17449]: ERR [Failed to post-capture monitor 0] Jan 29 10:16:17 router zmdc[17263]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] Jan 29 10:16:18 router zma_m2[17427]: INF [In mode 3/1, warming up] Jan 29 10:16:22 router zmdc[17263]: INF [Starting pending process, zmc -d /dev/video1] Jan 29 10:16:22 router zmdc[17263]: INF ['zmc -d /dev/video1' starting at 09/01/29 10:16:22, pid = 17473] Jan 29 10:16:22 router zmdc[17473]: INF ['zmc -d /dev/video1' started at 09/01/29 10:16:22] Jan 29 10:16:22 router zmc_dvideo1[17473]: INF [Debug Level = 0, Debug Log = <none>] Jan 29 10:16:22 router zmc_dvideo1[17473]: INF [Starting Capture] Jan 29 10:16:23 router kernel: [ 2193.724090] zc3xx: probe 2wr ov vga 0x0000 Jan 29 10:16:24 router zmc_dvideo1[17473]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument] Jan 29 10:16:24 router zmc_dvideo1[17473]: ERR [Failed to post-capture monitor 0] Jan 29 10:16:24 router zmdc[17263]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] Jan 29 10:16:30 router zms[17500]: INF [Debug Level = 0, Debug Log = <none>] Jan 29 10:16:30 router zms[17500]: ERR [Got signal (Floating point exception), crashing] Jan 29 10:16:30 router zms[17500]: ERR [Signal address is (nil), from 0x806c598 ] Jan 29 10:16:30 router zms[17500]: ERR [Backtrace: /usr/lib/cgi-bin/nph-zms [0x806c598]] Jan 29 10:16:30 router zms[17500]: ERR [Backtrace: /usr/lib/cgi-bin/nph-zms [0x806c598]] Jan 29 10:16:30 router zms[17500]: ERR [Backtrace: /usr/lib/cgi-bin/nph-zms [0x804b8c0]] Jan 29 10:16:30 router zms[17500]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb747e685]] Jan 29 10:16:30 router zms[17500]: ERR [Backtrace: /usr/lib/cgi-bin/nph-zms [0x804aec1]] Jan 29 10:16:30 router zms[17500]: INF [Backtrace complete] Jan 29 10:16:34 router zmdc[17263]: INF [Starting pending process, zmc -d /dev/video1] Jan 29 10:16:34 router zmdc[17263]: INF ['zmc -d /dev/video1' starting at 09/01/29 10:16:34, pid = 17514] Jan 29 10:16:34 router zmdc[17514]: INF ['zmc -d /dev/video1' started at 09/01/29 10:16:34] Jan 29 10:16:34 router zmc_dvideo1[17514]: INF [Debug Level = 0, Debug Log = <none>]
|  |  |  |  |
How do i fix this? I'm really lost 
|
| Thu Jan 29, 2009 9:25 am |
|
|
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
Looks like a driver issue,
What is at the tail end of dmesg when you have ZM running?
What happens if you run xawtx and capture jpeg snapshots from it?
|
| Sat Jan 31, 2009 9:43 pm |
|
 |
|
wisekki
Joined: Tue Feb 27, 2007 12:58 pm Posts: 39
|
Yea I've been thinking about that too.. because it's starting to be the only thing what I can't change in any way.. i think..
dmesg doesn't output anything, syslog says:
And ZM's own logs: And now the killblow.. xawtv says like this when trying to capture a still image:
I didn't change anything from xawtv.. just installed it from the repository.
|
| Sun Feb 01, 2009 11:18 am |
|
 |
|
fmpfeifer
Joined: Thu Mar 12, 2009 9:48 pm Posts: 1
|
I have the same problem here.
After a lot of time wasted, I think I found a solution (Ubuntu 8.10 x64):
edit the file /usr/bin/zmdc.pl (#sudo gedit /usr/bin/zmdc.pl)
insert the following line:
this line should be inserted just before the "my @daemons = (" line
just restart zoneminder and it magically works !
|
| Thu Mar 12, 2009 9:54 pm |
|
 |
|
wisekki
Joined: Tue Feb 27, 2007 12:58 pm Posts: 39
|
I confirm this.. it works after adding that line! Very nice work indeed  So you didn't waste any time.. hopefully this will be added to 1.24..
|
| Sun Apr 05, 2009 5:14 pm |
|
 |
|
esde
Joined: Wed May 13, 2009 10:25 am Posts: 1
|
 Capture failure for frame 2: Invalid argument
I ended up with the same problem. Here are my steps in case it helps anyone:
Running Ubuntu 9.04, I installed the zoneminder v1.23.3 package with Synaptic.
In order to have my QuickCam Connect (046d:089d) I had to upgrade to kernel 2.6.29 (solution here: http://forum.ubuntu-fr.org/viewtopic.php?id=262280)
I then had the "zmc -d /dev/video0' exited abnormally, exit status 255" / "Capture failure for frame 2: Invalid argument" problem, which I solved by preloading v4l1compat.so as stated two posts above.
Thanks a lot, you made my day!!

|
| Wed May 13, 2009 10:36 am |
|
 |
|
iZone
Joined: Mon May 18, 2009 10:17 am Posts: 3
|
Hi,
I'm also getting the floating point exception. I tried adding the line
$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';
to the perl script.
Still getting the same error.
My /var/log/messages:
May 21 19:01:24 integra-desktop zmdc[5016]: INF [Starting pending process, zmc -m 2]
May 21 19:01:24 integra-desktop zmdc[6661]: INF ['zmc -m 2' started at 09/05/21 19:01:24]
May 21 19:01:24 integra-desktop zmdc[5016]: INF ['zmc -m 2' starting at 09/05/21 19:01:24, pid = 6661]
May 21 19:01:24 integra-desktop zmc_m2[6661]: INF [Debug Level = 0, Debug Log = <none>]
May 21 19:01:24 integra-desktop zmc_m2[6661]: INF [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.06661]
May 21 19:01:24 integra-desktop zmc_m2[6661]: INF [Starting Capture]
/tmp/zm_debug.log.06661:
05/21/09 19:01:24.242262 zmc_m2[6661].INF-zm_debug.c/305 [New Debug Level = 0, New Debug Log = /tmp/zm_debug.log.06661]
05/21/09 19:01:24.369176 zmc_m2[6661].INF-zmc.cpp/183 [Starting Capture]
05/21/09 19:01:27.371765 zmc_m2[6661].ERR-zm_remote_camera.cpp/154 [Can't connect to remote camera: No route to host]
05/21/09 19:01:27.372096 zmc_m2[6661].ERR-zm_remote_camera.cpp/1073 [Unable to connect to camera]
05/21/09 19:01:27.372221 zmc_m2[6661].ERR-zmc.cpp/247 [Failed to pre-capture monitor 0]
I'm not able to start nph-zms deamon also.
Any help in this regard will be appreciated.
Thanks.
|
| Thu May 21, 2009 2:37 pm |
|
 |
|
jwiegley
Joined: Wed Jun 03, 2009 12:57 am Posts: 2
|
I'm also getting the floating point crash with or without the suggested fix.
|
| Wed Jun 03, 2009 3:18 am |
|
 |
|
ThomasNovin
Joined: Fri Jun 12, 2009 12:36 pm Posts: 18
|
Hello
Try to access your camera from the Linux host with ZoneMinder. 'Can't connect to remote camera: No route to host' indicates that it isn't reachable.
|
| Sat Aug 29, 2009 3:53 pm |
|
 |
|
itl
Joined: Wed Oct 07, 2009 12:54 pm Posts: 2
|
 |  |  |  | fmpfeifer wrote: I have the same problem here. After a lot of time wasted, I think I found a solution (Ubuntu 8.10 x64): edit the file /usr/bin/zmdc.pl (#sudo gedit /usr/bin/zmdc.pl) insert the following line: this line should be inserted just before the "my @daemons = (" line just restart zoneminder and it magically works ! |  |  |  |  |
I followed this post, and it solved my problems. I've been through the FAQ numerous times, tweaked shared memory.... I even gave up on my Fedora box and built and Ubuntu machine last, just to have the same problems with my Labtec Webcam Pro. I am temporarily using this cheap camera to check out zoneminder. I switched back to troubleshooting the Fedora box, and then found this post, and just as I was about to completely give up on this app! Thanks!
I'm running Zoneminder 1.24.2, installed by yum.
Device Path /dev/video0
Capture Method v4l2
Device Channel 0
Device Format NTSC
Capture Palette RGB24
Capture Width (pixels) 320
Capture Height (pixels) 240
|
| Wed Oct 07, 2009 12:59 pm |
|
|