I get the following when trying to start the motion daemon for the first time: # /etc/init.d/motion start * Starting motion detection ... [0] Processing thread 0 - config file /etc/motion.conf [0] Unknown config option "ffmpeg_cap_new" [0] Unknown config option "ffmpeg_cap_motion" [0] Unknown config option "ffmpeg_timelapse" [0] Unknown config option "ffmpeg_timelapse_mode" [0] Unknown config option "ffmpeg_bps" [0] Unknown config option "ffmpeg_variable_bitrate" [0] Unknown config option "ffmpeg_video_codec" [0] Unknown config option "ffmpeg_deinterlace" [0] Unknown config option "movie_filename" [0] Unknown config option "timelapse_filename" [0] Unknown config option "sql_log_image" [0] Unknown config option "sql_log_snapshot" [0] Unknown config option "sql_log_mpeg" [0] Unknown config option "sql_log_timelapse" [0] Unknown config option "sql_query" [0] Motion 3.2.10.1 Started /lib/rcscripts/sh/rc-daemon.sh: line 231: 11597 Segmentation fault /sbin/start-stop-daemon '--start' '-c' 'motion' '-g' 'video' '--quiet' '--exec' '/usr/bin/motion' [ !! ] Is there anything I can do? # emerge --info Portage 2.1.4.5 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-hardened-r7 i686) ================================================================= System uname: 2.6.25-hardened-r7 i686 Celeron (Coppermine) Timestamp of tree: Sun, 12 Oct 2008 13:45:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r9, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X acl acpi bash-completion berkdb bzip2 caps cdr cracklib crypt cups dbus erandom gpm hal hardened hpn logwatch madwifi md5sum midi mmx mng ncurses nptl nptlonly pam pcre perl pic png ppds python readline resolvconf slp sse ssl tcpd tiff unicode urandom usb v4l x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always
which version of motion are you experiencing this problem with? thanks
It is motion-3.2.10.1. I've tried it with and without the v4l USE flag.
I did a coredump and I get: # gdb motion /tmp/core.motion.1333 GNU gdb 6.7.1 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) Core was generated by `motion -n -d 10'. Program terminated with signal 11, Segmentation fault. #0 0xb800042f in ?? () from /lib/ld-linux.so.2 (gdb) bt full #0 0xb800042f in ?? () from /lib/ld-linux.so.2 No symbol table info available. #1 0x00000006 in ?? () No symbol table info available. #2 0x00000000 in ?? () No symbol table info available. (gdb) frame 1 #1 0x00000006 in ?? () (gdb) quit
3.2.11 fixed this, thank you.