Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241376 - kde-base/kopete-4.1.2 bad handling of USB webcam
Summary: kde-base/kopete-4.1.2 bad handling of USB webcam
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-11 14:13 UTC by Graham Murray
Modified: 2008-10-13 17:48 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 Graham Murray 2008-10-11 14:13:16 UTC
kde-base/kpopete-4.1.2 seems to have some problems (I suspect that it may be just one problem, but several symptoms) with webcam handling. kopete-3.5.10 did not show any of these problems.

I am using a Creative Optima AF USB camera using the uvcvideo driver supplied with the gentoo-sources-2.6.26-r1 kernel.

1) If kopete is running, other applications are unable to open the webcam. This is without having attempted to use the webcam from within kopete.

2) If another application is using the webcam and kopete is started, the image parameters (brightness, saturation etc) are reset/changed in the other application.

3) If another application is using the webcam, kopete crashes (traceback below) when selecting the 'Settings'->Configure menu option.

Application: Kopete (kopete), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5819720 (LWP 4937)]
[KCrash handler]
#6  QImage::scanLine (this=0xa56cc08, i=0) at image/qimage.cpp:1757
#7  0xb342c2d0 in Kopete::AV::VideoDevice::getImage (this=0xa583860, 
    qimage=0xa56cc08)
    at /usr/src/debug/kde-base/kopete-4.1.2/kopete-4.1.2/kopete/libkopete/avdevice/videodevice.cpp:1273
#8  0xb3432eb0 in Kopete::AV::VideoDevicePool::getImage (this=0xa57fa28, 
    qimage=0xa56cc08)
    at /usr/src/debug/kde-base/kopete-4.1.2/kopete-4.1.2/kopete/libkopete/avdevice/videodevicepool.cpp:436
#9  0xb0561f9b in AVDeviceConfig::slotUpdateImage (this=0xa56cbe8)
    at /usr/src/debug/kde-base/kopete-4.1.2/kopete-4.1.2/kopete/kopete/config/avdevice/avdeviceconfig.cpp:235
#10 0xb0561bf3 in AVDeviceConfig::qt_metacall (this=0xa56cbe8, 
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbf97ba28)
    at /usr/src/debug/kde-base/kopete-4.1.2/kopete_build/kopete/kopete/config/avdevice/moc_avdeviceconfig.cpp:107
#11 0xb7e92419 in QMetaObject::activate (sender=0xa56cc20, 
    from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3028
#12 0xb7e93173 in QMetaObject::activate (sender=0xa56cc20, m=0xb7f5e9c4, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3098
#13 0xb7ecbfe8 in QTimer::timeout (this=0xa56cc20)
    at .moc/release-shared/moc_qtimer.cpp:126
#14 0xb7e98dbe in QTimer::timerEvent (this=0xa56cc20, e=0xbf97becc)
    at kernel/qtimer.cpp:263
#15 0xb7e8ce2f in QObject::event (this=0xa56cc20, e=0xbf97becc)
    at kernel/qobject.cpp:1117
#16 0xb615431c in QApplicationPrivate::notify_helper (this=0x9c1b0e8, 
    receiver=0xa56cc20, e=0xbf97becc) at kernel/qapplication.cpp:3809
#17 0xb615c283 in QApplication::notify (this=0xbf97c26c, receiver=0xa56cc20, 
    e=0xbf97becc) at kernel/qapplication.cpp:3399
#18 0xb78a382e in KApplication::notify (this=0xbf97c26c, receiver=0xa56cc20, 
    event=0xbf97becc)
    at /usr/src/debug/kde-base/kdelibs-4.1.2-r1/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#19 0xb7e7d6f0 in QCoreApplication::notifyInternal (this=0xbf97c26c, 
    receiver=0xa56cc20, event=0xbf97becc) at kernel/qcoreapplication.cpp:593
#20 0xb7eaa401 in QTimerInfoList::activateTimers (this=0x9c1b99c)
    at kernel/qcoreapplication.h:215
#21 0xb7eaa6ab in QEventDispatcherUNIX::processEvents (this=0x9c1b1e0, flags=
      {i = -1080573620}) at kernel/qeventdispatcher_unix.cpp:899
#22 0xb61eaf96 in QEventDispatcherX11::processEvents (this=0x9c1b1e0, flags=
      {i = -1080573560}) at kernel/qeventdispatcher_x11.cpp:154
#23 0xb7e7bd6b in QEventLoop::processEvents (this=0xbf97c200, flags=
      {i = -1080573496}) at kernel/qeventloop.cpp:149
#24 0xb7e7bf42 in QEventLoop::exec (this=0xbf97c200, flags={i = -1080573432})
    at kernel/qeventloop.cpp:200
#25 0xb7e7e585 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#26 0xb6154188 in QApplication::exec () at kernel/qapplication.cpp:3337
#27 0x0808940f in main (argc=3, argv=0xbf97c654)
    at /usr/src/debug/kde-base/kopete-4.1.2/kopete-4.1.2/kopete/kopete/main.cpp:102
#0  0xb7f62424 in __kernel_vsyscall ()


emerge --info                                                                                                                                                            
Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1-ext4-7 i686)                                                                
=================================================================                                                                                                                   
System uname: Linux-2.6.26-gentoo-r1-ext4-7-i686-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-glibc2.0                                                                                
Timestamp of tree: Fri, 10 Oct 2008 16:45:01 +0000                                                                                                                                  
app-shells/bash:     3.2_p39                                                                                                                                                        
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                                                                                               
dev-lang/python:     2.4.4-r11, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 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:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildsyspkg distlocks installsources parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.blueyonder.co.uk http://gentoo.tiscali.nl/ http://gentoo.mirror.solnet.ch http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en fr_FR fr"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/perl-experimental /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bluetooth bonobo branding browserplugin bzip2 bzlib cairo caps cddb cdparanoia cdr cjk clicracklib crypt cups curl cvs cxx dbus directfb doc dri dts dvd dvdr dvdread eds emacs emboss encode esd ethereal evo examples exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gcj gd gdbm gif glut gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal htmlhandbook iconv icq idn ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility kerberos ladspa latex lcms ldap leim libgda libnotify libsamplerate libwww lirc lm_sensors logrotate lua m17n-lib mad matroska mbox midi mikmod milter mime mmap mmx mng modplug mono mozilla mp3 mpeg mpi mplayer msn mudflap musepack ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl openmp oscar oss pam pcntl pcre pdf perl png postgres ppds pppd profile pulseaudio python qt3 qt3support qt4 quicktime readline recode reflection ruby sasl sdl session sharedmem sndfile snmp sockets sox speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs sysvipc tcl tcltk tcpd theora threads tiff tk truetype uicktime unicode usb v4l v4l2 vim-syntax vorbis wavpack win32codecs wmf wxwindows x264 x86 xattr xcb xface xine xml xml2 xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en fr_FR fr" LIRC_DEVICES="asusdh" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga v4l"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-13 17:48:00 UTC
This looks to me as upstream bug.

Would you please open bug in kde.org bugzilla and atatch link to that bug here. When they solve this issue please reopen this bug so we can apply theirs patch.

If you disagree reopen and so on... :]