View unanswered posts | View active topics It is currently Fri Aug 01, 2014 12:52 pm



Reply to topic  [ 10 posts ] 
ERR [Got signal (Floating point exception), crashing] 
Author Message

Joined: Tue Feb 27, 2007 12:58 pm
Posts: 39
Post 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:
Code:
./configure --prefix=/ZoneMinder --with-cgidir=/usr/lib/cgi-bin --with-webdir=/www/html/zm --with-webuser=www-data --with-webgroup=www-data


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 :oops:


Thu Jan 29, 2009 9:25 am
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
Quote:
Jan 29 10:16:17 router zmc_dvideo1[17449]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]

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
Profile WWW

Joined: Tue Feb 27, 2007 12:58 pm
Posts: 39
Post 
cordel wrote:
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?


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:
Code:
Feb  1 12:03:40 router kernel: [178718.620994] zc3xx: probe 2wr ov vga 0x0000
Feb  1 12:03:40 router zmc_dvideo0[4487]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Feb  1 12:03:40 router zmc_dvideo0[4487]: ERR [Failed to post-capture monitor 0]
Feb  1 12:03:40 router zmdc[3942]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]


And ZM's own logs:
Code:
02/01/09 12:02:17.685740 zmwatch[3975].INF [Restarting capture daemon for New, time since last capture 8 seconds (1233482537-1233482529)]
02/01/09 12:02:17.777498 zmwatch[3975].INF ['zmc -d /dev/video0' starting at 09/02/01 12:02:17, pid = 4186]
02/01/09 12:02:27.777958 zmwatch[3975].ERR [Can't get shared memory id '7a6d0006', 6: No such file or directory]


And now the killblow.. xawtv says like this when trying to capture a still image:
Code:
libv4l2: error setting pixformat: Invalid argument
no way to get: 2048x1572 24 bit TrueColor (BE: rgb)
ioctl: VIDIOC_REQBUFS(count=2;type=VIDEO_CAPTURE;memory=MMAP): Device or resource busy
v4l2: oops: select timeout
ioctl: VIDIOC_REQBUFS(count=0;type=VIDEO_CAPTURE;memory=MMAP): Device or resource busy
libv4l2: error requesting 4 buffers: Device or resource busy
v4l2: read: Device or resource busy


I didn't change anything from xawtv.. just installed it from the repository.


Sun Feb 01, 2009 11:18 am
Profile

Joined: Thu Mar 12, 2009 9:48 pm
Posts: 1
Post 
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:

Code:
$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';


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
Profile

Joined: Tue Feb 27, 2007 12:58 pm
Posts: 39
Post 
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
Profile

Joined: Wed May 13, 2009 10:25 am
Posts: 1
Post 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!!

8)


Wed May 13, 2009 10:36 am
Profile

Joined: Mon May 18, 2009 10:17 am
Posts: 3
Post 
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
Profile

Joined: Wed Jun 03, 2009 12:57 am
Posts: 2
Post 
I'm also getting the floating point crash with or without the suggested fix.


Wed Jun 03, 2009 3:18 am
Profile

Joined: Fri Jun 12, 2009 12:36 pm
Posts: 22
Post 
iZone wrote:
Hi,

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]


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
Profile

Joined: Wed Oct 07, 2009 12:54 pm
Posts: 2
Post 
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:

Code:
$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';


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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group