Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515126 - media-video/guvcview - segmentation fault when capturing image in __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1523
Summary: media-video/guvcview - segmentation fault when capturing image in __memcpy_ss...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-25 20:36 UTC by Karl Lindén
Modified: 2016-03-01 17:50 UTC (History)
0 users

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


Attachments
The build log (build.log,62.22 KB, text/plain)
2014-06-25 20:36 UTC, Karl Lindén
Details
The gdb output (gdb.txt,9.04 KB, text/plain)
2014-06-25 20:37 UTC, Karl Lindén
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Lindén 2014-06-25 20:36:03 UTC
When I try to capture an image from my web camera using =media-video/guvcview-1.6.1 the program segfaults.

Reproducible: Always

Steps to Reproduce:
1. Start guvciew (either using the menu or the terminal)
2. When the interface appears, press the "Cap
3. The program crashes with a segmentation fault.
Actual Results:  
The program crashes with SIGSEGV.

Expected Results:  
The program should have captured a picture and not crashed.
Comment 1 Karl Lindén 2014-06-25 20:36:31 UTC
Created attachment 379674 [details]
The build log
Comment 2 Karl Lindén 2014-06-25 20:37:00 UTC
Created attachment 379676 [details]
The gdb output
Comment 3 Karl Lindén 2014-06-25 20:37:54 UTC
$ emerge --info '=media-video/guvcview-1.6.1'
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.9.0, glibc-2.17, 3.12.21-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Core-TM-_i3-2350M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     3957620 total,   2691508 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Sun, 22 Jun 2014 10:45:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1, 4.9.0
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo stuff lilrc proaudio
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://192.168.1.69/gentoo-portage/"
LANG="sv_SE.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/kalle/stuff-overlay /home/kalle/lilrc-overlay /home/kalle/proaudio"
SYNC="rsync://192.168.1.69/gentoo-portage/"
USE="X a52 aac alloca amd64 aspell bluetooth cairo cd cdda cddb cdr consolekit cracklib cups curl dri dssi dvd dvdr exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb inotify javascript jit jpeg keymap ladspa lame libkms libnotify lv2 mad mmx mp3 mpeg netifrc nls nptl ogg opengl openmp openrc orc pdf png policykit pulseaudio qt4 readline sse sse2 sse4 sse4_1 ssl ssse3 startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode usb v4l vlc vorbis webgl x264 xcb xfce xinerama xorg xscreensaver zlib" ABI_X86="64" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LINGUAS="en en_GB sv sv_SE" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="i965 intel" XFCE_PLUGINS="trash battery brightness"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-video/guvcview-1.6.1 was built with the following:
USE="-pulseaudio"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
Comment 4 Karl Lindén 2014-06-25 20:48:42 UTC
I tried the more recent versions in tree and the bug is reproducible with the following versions: 1.6.1, 1.7.1, 1.7.2. I do not know if the bug is reproducible with version 1.7.3, because it crashes with a segmentation fault much earlier.
Comment 5 Pacho Ramos gentoo-dev 2016-03-01 17:50:55 UTC
please retry with 2.0.3