You are not logged in.

#1 2009-06-22 22:27:49

dieguito01
Member
From: Argentina - Buenos Aires
Registered: 2009-06-22
Posts: 5
Website

Motion - Segmentation fault ?

Hello everybody!... i need install motion for my webcam Flexcam 100, i used gspca module for this camera.

When a runs Motion program, i have a segmentation fault, somebody can help me ?

How to capture e video with ffmpeg in command lines?

Thankyou!

[root@serverzona motion]# motion 
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.11 Started
[0] ffmpeg LIBAVCODEC_BUILD 3412992 LIBAVFORMAT_BUILD 3415808
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] cap.driver: "spca561"
[1] cap.card: "Generic Digital camera"
[1] cap.bus_info: "usb-0000:00:07.2-1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: GBRG (GBRG)
[1] Unable to find a compatible palette format.
[0] motion-httpd/3.2.11 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Using VIDEO_PALETTE_YUV420P palette
[1] Using V4L1
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
Segmentation fault
[root@serverzona motion]# lsusb 
Bus 001 Device 004: ID 0951:1607 Kingston Technology Data Traveler 2.0
Bus 001 Device 002: ID 04fc:0561 Sunplus Technology Co., Ltd Flexcam 100
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
[root@serverzona motion]# lsmod 
Module                  Size  Used by
gspca_spca561           9076  0 
gspca_main             19020  1 gspca_spca561
videodev               33116  1 gspca_main
v4l1_compat            11448  1 videodev
uhci_hcd               18472  0 
intel_agp              22984  1 
ehci_hcd               27904  0 
i2c_voodoo3             3360  0 
i2c_algo_bit            4932  1 i2c_voodoo3
8139too                19580  0 
i2c_piix4               9120  0 
agpgart                30068  1 intel_agp

Offline

#2 2009-06-23 00:34:35

dieguito01
Member
From: Argentina - Buenos Aires
Registered: 2009-06-22
Posts: 5
Website

Re: Motion - Segmentation fault ?

I see in dmesg this error.

motion[1219]: segfault at 0 ip b764ca19 sp bfce24d8 error 4 in libc-2.10.1.so[b75d9000+142000]
motion[1227]: segfault at 0 ip b7693a19 sp b6f226b8 error 4 in libc-2.10.1.so[b7620000+142000]
motion[1239]: segfault at 0 ip b7502a19 sp bfe19bb8 error 4 in libc-2.10.1.so[b748f000+142000]
motion[1242]: segfault at 0 ip b74faa19 sp bf892c28 error 4 in libc-2.10.1.so[b7487000+142000]
motion[1252]: segfault at 0 ip b7638a19 sp bfbf4938 error 4 in libc-2.10.1.so[b75c5000+142000]
motion[1262]: segfault at 0 ip b7648a19 sp bfefb338 error 4 in libc-2.10.1.so[b75d5000+142000]
motion[1282]: segfault at 0 ip b76aaa19 sp b6f396b8 error 4 in libc-2.10.1.so[b7637000+142000]
motion[1292]: segfault at 0 ip b7503a19 sp b6d926b8 error 4 in libc-2.10.1.so[b7490000+142000]
motion[3616]: segfault at 0 ip b76a0a19 sp b6f2f6b8 error 4 in libc-2.10.1.so[b762d000+142000]

Offline

#3 2009-09-04 06:49:15

juanmah
Member
From: Barcelona
Registered: 2009-04-02
Posts: 28
Website

Re: Motion - Segmentation fault ?

I have the same problem.

Bus 007 Device 002: ID 046d:08da Logitech, Inc. QuickCam Messanger

Offline

#4 2009-09-07 15:26:52

ghostcat
Member
Registered: 2008-08-18
Posts: 10

Re: Motion - Segmentation fault ?

While I have not looked into this in detail, the motion website indicates that there are interface problems with the latest version ffmpeg. That said, I don't know whether this is the cause of this particular problem.

Offline

#5 2009-11-07 11:53:36

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: Motion - Segmentation fault ?

same issue here
Bus 003 Device 002: ID 1c4f:3000 SiGma Micro Micro USB Web Camera

have you solved?

Offline

#6 2009-11-07 20:30:26

Hazor
Member
From: Tennessee
Registered: 2009-04-25
Posts: 15
Website

Re: Motion - Segmentation fault ?

I had the same troubles. It's fixed in 3.2.11.1, but [extra] still has 3.2.11. Here's a PKGBUILD for 3.2.11.1:

# Maintainer: Paul Mattal <paul@archlinux.org>

pkgname=motion
pkgver=3.2.11.1
pkgrel=1
pkgdesc="Motion is a software motion detector. It grabs images from video4linux devices and/or from webcams."
arch=(i686 x86_64)
license=('GPL')
url="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
depends=('ffmpeg>=0.5')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/motion/${pkgname}-${pkgver}.tar.gz
    rc.motion)
build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --without-pgsql --without-mysql \
      --with-libavcodec=/usr/lib/ --sysconfdir=/etc/motion || return 1

  make || return 1

  make DESTDIR="${pkgdir}" install || return 1
  install -m755 -d "${pkgdir}/etc/rc.d"
  install -m755 "${srcdir}/rc.motion" "${pkgdir}/etc/rc.d/motion" || return 1
}
md5sums=('4e729f129d8f9b9abaed5121c3cd0037'
         'fc09828564850824f8549d258053e0b6')

Last edited by Hazor (2009-11-07 20:30:41)

Offline

Board footer

Powered by FluxBB