Bug 137635 - multimedia/vlc breaks keyboard input processing
Summary: multimedia/vlc breaks keyboard input processing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Doug Barton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 12:20 UTC by Matti Saarinen
Modified: 2009-11-17 22:10 UTC (History)
0 users

See Also:


Attachments
patch-modules__control__globalhotkeys__xcb.c (10.07 KB, text/plain)
2009-11-17 20:32 UTC, Joseph S. Atkinson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Saarinen 2009-08-10 12:20:01 UTC
I upgraded ports today Aug 10. The upgrade didn't upgrade vlc but it did upgrade some libraries on which vlc depend. After the upgrade vlc began to behave badly. When vlc is started X11 doesn't process keyboard input anymore. Mouse still works and focus appears to follows mouse. If I move focus to another window keyboard input doesn't reach the window. Only thing that happens is that the frame of currently focused window blinks. The same thing happens even if I start vlc with dummy interface. I tried two window managers and the effect was the same.  

The only way to recover from this is to switch to another virtual console and kill vlc from there. 

Below is the list of packages vlc depends on that are installed on the computer. 

Information for vlc-1.0.0_1,3:

Depends on:
Dependency: xineramaproto-1.1.2
Dependency: xf86vidmodeproto-2.2.2
Dependency: xextproto-7.0.5
Dependency: renderproto-0.9.3
Dependency: randrproto-1.3.0
Dependency: kbproto-1.0.3
Dependency: inputproto-1.5.0
Dependency: fixesproto-4.0
Dependency: dri2proto-2.0
Dependency: damageproto-1.1.0_2
Dependency: compositeproto-0.4
Dependency: font-util-1.0.1
Dependency: encodings-1.0.2,1
Dependency: libebml-0.7.8
Dependency: expat-2.0.1
Dependency: gnome_subr-1.0
Dependency: dmidecode-2.10
Dependency: win32-codecs-3.1.0.r1,1
Dependency: libmpeg2-0.5.1
Dependency: libmatroska-0.8.1
Dependency: libdvdcss-1.2.10_1
Dependency: libdvdread-4.1.3_1
Dependency: libdvdnav-0.1.10_4
Dependency: libdvbpsi-0.1.6
Dependency: pciids-20090807
Dependency: hicolor-icon-theme-0.10_2
Dependency: gnomehier-2.3_12
Dependency: djbfft-0.76_2
Dependency: python26-2.6.2_1
Dependency: xcb-proto-1.5
Dependency: perl-5.8.9_3
Dependency: svgalib-1.4.3_5
Dependency: png-1.2.38
Dependency: jpeg-7
Dependency: tiff-3.8.2_4
Dependency: jasper-1.900.1_8
Dependency: pkg-config-0.23_1
Dependency: xtrans-1.2.3
Dependency: xproto-7.0.15
Dependency: pixman-0.15.4
Dependency: libtasn1-2.1
Dependency: libfontenc-1.0.4
Dependency: libdca-0.0.5
Dependency: libXdmcp-1.0.2_1
Dependency: libXau-1.0.4
Dependency: libICE-1.0.4_1,1
Dependency: libSM-1.1.0_1,1
Dependency: freetype2-2.3.9_1
Dependency: mkfontscale-1.0.6
Dependency: mkfontdir-1.0.4
Dependency: fontconfig-2.6.0,1
Dependency: font-misc-meltho-1.0.0_1
Dependency: font-misc-ethiopic-1.0.0
Dependency: font-bh-ttf-1.0.0
Dependency: bitstream-vera-1.10_4
Dependency: xorg-fonts-truetype-7.4
Dependency: pcre-7.9
Dependency: libvolume_id-0.81.1
Dependency: libunicode-0.4_9
Dependency: libtar-1.2.11_2
Dependency: libpthread-stubs-0.1
Dependency: libxcb-1.4
Dependency: xcb-util-0.3.5
Dependency: libdrm-2.4.12
Dependency: libX11-1.2.1_1,1
Dependency: libXt-1.0.5_1
Dependency: libXrender-0.9.4_1
Dependency: libXft-2.1.13
Dependency: libXfixes-4.0.3_1
Dependency: libXext-1.0.5,1
Dependency: libXxf86vm-1.0.2
Dependency: libXrandr-1.3.0
Dependency: libXpm-3.5.7
Dependency: libXinerama-1.0.3,1
Dependency: libXi-1.2.1,1
Dependency: libXdamage-1.1.1
Dependency: libXcursor-1.1.9_1
Dependency: libXcomposite-0.4.0,1
Dependency: aalib-1.4.r5_4
Dependency: libGL-7.4.4
Dependency: libGLU-7.4.4
Dependency: gpac-libgpac-0.4.5_2,1
Dependency: x264-0.0.20081218
Dependency: cairo-1.8.8,1
Dependency: libdaemon-0.12
Dependency: gdbm-1.8.3_3
Dependency: libiconv-1.13.1
Dependency: sdl-1.2.13_4,2
Dependency: sdl_image-1.2.7_1
Dependency: samba-libsmbclient-3.0.35
Dependency: libxml2-2.7.3
Dependency: gettext-0.17_1
Dependency: popt-1.14
Dependency: libzvbi-0.2.33
Dependency: libgpg-error-1.7
Dependency: libgcrypt-1.4.4
Dependency: gnutls-2.6.5
Dependency: gnome-mime-data-2.18.0_3
Dependency: glib-2.20.4
Dependency: qt4-corelib-4.5.2
Dependency: qt4-gui-4.5.2
Dependency: gamin-0.1.10_3
Dependency: gio-fam-backend-2.20.4
Dependency: shared-mime-info-0.60_1
Dependency: pango-1.24.5
Dependency: libIDL-0.8.13
Dependency: dbus-1.2.4.6
Dependency: dbus-glib-0.82
Dependency: policykit-0.9_4
Dependency: cups-client-1.3.10_3
Dependency: consolekit-0.3.0_8
Dependency: hal-0.5.11_25
Dependency: avahi-app-0.6.25_2
Dependency: ORBit2-2.14.17
Dependency: taglib-1.5
Dependency: libogg-1.1.4,4
Dependency: speex-1.2.r1_2,1
Dependency: libvorbis-1.2.3,3
Dependency: libtheora-1.0_1
Dependency: libmpcdec-1.2.6
Dependency: libmodplug-0.8.7
Dependency: libmad-0.15.1b_2
Dependency: libid3tag-0.15.1b
Dependency: libcddb-1.3.0
Dependency: liba52-0.7.4_2
Dependency: lame-3.98.2_1
Dependency: flac-1.2.1_1
Dependency: libsndfile-1.0.20_1
Dependency: twolame-0.3.12
Dependency: faad2-2.7_1,1
Dependency: ffmpeg-2008.07.27_11
Dependency: transcode-1.1.3_1
Dependency: cdparanoia-3.9.8_8
Dependency: libcdio-0.78.2_2
Dependency: vcdimager-0.7.23_5
Dependency: atk-1.26.0
Dependency: gtk-2.16.5_1
Dependency: libnotify-0.4.5_1
Dependency: gconf2-2.26.2_1
Dependency: gnome-vfs-2.24.1_1

How-To-Repeat: By starting vlc from xterm.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-10 12:20:14 UTC
Maintainer of multimedia/vlc,

Please note that PR ports/137635 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137635

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-10 12:20:16 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Joseph S. Atkinson 2009-08-10 17:08:05 UTC
Did you rebuild VLC against these new libraries?
Comment 4 Doug Barton 2009-08-23 06:14:10 UTC
"Me too." With just-committed vlc 1.0.1 and up to date ports and -current.


Doug
Comment 5 Matti Saarinen 2009-11-03 11:26:58 UTC
This problem still persists. I tried compiling and installing vlc 1.0.2
today. It didn't work either. Vlc 0.9.8.a_4 works fine and doesn't
prevent keyboard input.

// Matti
Comment 6 Joseph S. Atkinson 2009-11-17 20:32:32 UTC
This appears to be a known issue. It's not something I could duplicate 
personally, but was widely reported. VLC fixed this in git, but I got them to 
backport it to the bugfix branch from which 1.0.4 will be cut.

This is a diff to apply to 1.0.3.

To test it, put it in ${PORTSDIR}/multimedia/vlc/files/ and `make build 
deinstall reinstall`.

Sorry that it has taken me so long to address this.

If this works for you all (and I have one report that it does so far), dougb@ 
should be able to commit it.
Comment 7 Doug Barton freebsd_committer freebsd_triage 2009-11-17 21:56:50 UTC
State Changed
From-To: feedback->closed


Patch committed, thanks! 


Comment 8 Doug Barton freebsd_committer freebsd_triage 2009-11-17 21:56:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dougb


I committed the patch.
Comment 9 dfilter service freebsd_committer freebsd_triage 2009-11-17 22:00:25 UTC
dougb       2009-11-17 22:00:02 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/vlc       Makefile 
  Added files:
    multimedia/vlc/files patch-modules_control_globalhotkeys_xcb.c 
  Log:
  Add a patch to handle the bug of vlc locking up the keyboard when it starts
  
  Bump PORTREVISION
  
  Patch submitted by:     Joseph S. Atkinson <jsa.bsd@gmail.com> (Maintainer)
  
  PR:                     ports/137635
  Submitted by:           Matti Saarinen <mjsaarin@cc.helsinki.fi>
  
  Revision  Changes    Path
  1.199     +1 -0      ports/multimedia/vlc/Makefile
  1.1       +308 -0    ports/multimedia/vlc/files/patch-modules_control_globalhotkeys_xcb.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"