Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182467 - x11-misc/xvidcap-1.1.6 crash on single-frame recording
Summary: x11-misc/xvidcap-1.1.6 crash on single-frame recording
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 15:00 UTC by Anatoly Arzhnikov
Modified: 2007-06-29 11:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anatoly Arzhnikov 2007-06-18 15:00:38 UTC
First. I can't choose single-frame mode from menu. It says "You selected single-frame capture mode but specified a target file format which is used for multi-frame capture", but output file format is set to "auto".

Second. If I request single-frame from command line and try to record anything, it crashes with the following message:

/home/tolich/xvidcap/test-0000.png: No such file or directory
The program 'xvidcap' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 2476 error_code 164 request_code 146 minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Reproducible: Always

Steps to Reproduce:
1. xvidcap --sf --fps 1 --format png
2. start recording
Actual Results:  
Crash =)

Expected Results:  
Take the screenshots every second

Portage 2.1.3_rc3 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Mon, 18 Jun 2007 01:47:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.utf8"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi aim alsa apache2 berkdb bitmap-fonts bzip2 cdr cgi cli cracklib crypt dbus dri dvd exif firefox fortran ftp gdbm gif gpm gtk gtk2 hal iconv icq isdnlog jabber java javascript jpeg jpeg2k kde kdehiddenvisibility libg++ midi mime mmx mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pascal pcre pdf perl php png pppd python qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl tcpd threads tiff timidity truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xine xorg xpm xvid zip zlib" ALSA_CARDS="intel8x0 seq-dummy" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-06-26 16:26:50 UTC
Could you please try xvidcap-1.1.6-r1? It's still package.masked because it needs package.masked ffmpeg. This version uses system ffmpeg, instead of bundled ffmpeg it comes with.

Thanks!
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-06-26 21:08:41 UTC
Actually, xvidcap-1.1.6-r2 is the one that needs testing.
Comment 3 Anatoly Arzhnikov 2007-06-27 12:04:06 UTC
Yes, xvidcap-1.1.6-r2 seems to working fine. At least in my case.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-06-27 12:12:51 UTC
(In reply to comment #3)
> Yes, xvidcap-1.1.6-r2 seems to working fine. At least in my case.
> 

Good news. Unfortunately it can't be unmasked yet because we are waiting for ffmpeg unmask..
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-06-29 11:11:19 UTC
new ffmpeg and xvidcap has now been unmasked and this bug can be closed. :)