Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213332 - media-video/vlc-0.9.0_alpha20080309 segfault or backtrace itself when trying to open v4l:///dev/video0 (which worked with vlc 0.8.6)
Summary: media-video/vlc-0.9.0_alpha20080309 segfault or backtrace itself when trying ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-14 02:44 UTC by GNUtoo
Modified: 2008-08-16 17:55 UTC (History)
0 users

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


Attachments
output when it backtrace itself (backtrace,30.57 KB, text/plain)
2008-03-14 02:47 UTC, GNUtoo
Details
output when it segfaults itself (segfault,13.97 KB, text/plain)
2008-03-14 02:47 UTC, GNUtoo
Details
backtrace of 0.9.0_alpha20080314 (backtrace-2,6.83 KB, text/plain)
2008-03-15 12:09 UTC, GNUtoo
Details
segfault of 0.9.0_alpha20080314 (segfault-2,2.89 KB, text/plain)
2008-03-15 12:11 UTC, GNUtoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description GNUtoo 2008-03-14 02:44:32 UTC
i'll send the result of the command as files


Reproducible: Always

Steps to Reproduce:
1.vlc -vvv v4l:///dev/video0
by the way trying to access the camera from the GUI(that is to say file->open capture device->video for linux in the wxwidgets,changing to /dev/video0 and clicking on ok) makes vlc freeze



# emerge --info
Portage 2.1.3.19 (selinux/2007.0/x86, gcc-4.2.2, glibc-2.6.1-r0, 2.6.24-gentoo-r2_port4 i686)
=================================================================
System uname: 2.6.24-gentoo-r2_port4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Timestamp of tree: Wed, 12 Mar 2008 19:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.3.6-r4, 2.4.4-r6, 2.5.1-r4
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-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
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/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks loadpolicy metadata-transfer nostrip parallel-fetch sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en en_GB en_US"
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/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/java-overlay /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/zugaina /usr/portage/local/layman/kde /usr/portage /usr/overlay /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi adns aiglx alsa amr apache2 asf bash-completion berkdb bl blender-game bluetooth branding cdda cddb cdparanoia chardet clearcase cli contrarius cracklib cran crypt css cups cvs dbus dga divx dri dts dv dvb dvd dvdnav dvdr dvdread editor effects enca encode examples exif expat fam fat ffmpeg firefox flac foomaticdb fping fuse gcj gdbm gif gimp gimpprint glsa gmedia gnutls gpm gstreamer gtk hfs httpd iconv ieee1394 imagemagick inkjar inquisitio irmc isdnlog jfs jpeg jpeg2k kde kerberos kqemu lcms ldap libnotify lzo mad maps matroska midi mikmod mjpeg mmx mmxext mng modplug mp2 mp3 mp4 mpi mplayer mudflap musepack ncurses nfs nptl nptlonly nsplugin ntfs ofa ogg openal openexr openmp p2p pam pcre perforce perl php plugin png pnm ppds pppd python qa qt3 quicktime quotas readline realmedia reflection reiser4 reiserfs rt2500pci rtc rtsp samba scenarios sdl selinux session skins slang sox speex spell spl srteam sse sse2 ssl stream subtitles subversion svg swat tga theora tiff timidity tordns truetype tta unicode usb v4l vcd vidx vlm vorbis wavpack wifi wma wmf wmp wxwindows x86 xanim xfs xine xml xorg xprint xv xvid xvmc yahoo yv12 zlib zrtp zsh" 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter unique_id authz_host" ELIBC="glibc" INPUT_DEVICES="wacom evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 GNUtoo 2008-03-14 02:47:06 UTC
Created attachment 146076 [details]
output when it backtrace itself
Comment 2 GNUtoo 2008-03-14 02:47:37 UTC
Created attachment 146077 [details]
output when it segfaults itself
Comment 3 GNUtoo 2008-03-14 02:51:39 UTC
here's ffmpeg version:
[ebuild   R   ] media-video/ffmpeg-0.4.9_p20070616-r2  USE="X a52 aac amr encode ieee1394 mmx ogg sdl theora truetype v4l vorbis xvid zlib (-altivec) -debug -doc -imlib -ipv6 -network -oss -test -threads (-x264)" 0 kB
Comment 4 Alexis Ballier gentoo-dev 2008-03-14 20:04:44 UTC
yep thanks for the report, I've reproduced your problem and bumped a new snapshot that fixes this (at least it seems to work fine here).
Please reopen if today's snapshot doesn't help.
Comment 5 GNUtoo 2008-03-15 12:07:39 UTC
i have emerged vlc-0.9.0_alpha20080314
but i have still the problem...
by the way i 
Comment 6 GNUtoo 2008-03-15 12:09:36 UTC
Created attachment 146213 [details]
backtrace of 0.9.0_alpha20080314
Comment 7 GNUtoo 2008-03-15 12:11:03 UTC
Created attachment 146215 [details]
segfault of 0.9.0_alpha20080314
Comment 8 Alexis Ballier gentoo-dev 2008-03-15 14:35:54 UTC
(In reply to comment #5)
> i have emerged vlc-0.9.0_alpha20080314
> but i have still the problem...


hmm yes indeed... it worked for me after upgrading, but I think it's more due to something like that:
if I use v4l:// that fails
if I use v4l2:// that works
if I use v4l:// after v4l2:// that works
if I rmmod the driver and try again v4l:// that fails


and I cant get debug info for vlc atm; I have to figure out why...
Comment 9 GNUtoo 2008-03-15 14:56:07 UTC
from my irc logs:
Mar 14 00:50:22 <j-b>   GNUtoo: vlc v4l2:///dev/video0
it's vlc://dev/video0 and not vlc:///dev/video0
with only 2 // it works
Comment 10 Alexis Ballier gentoo-dev 2008-08-16 17:55:02 UTC
I'm not sure what was the cause but with _beta3 I dont get any segfault anymore;
please reopen if that still fails; i don't understand what might have been wrong there, but fortunately vlc's 0.9 branch is getting more and more stable.