Bug 1294536 - Playing mp4 with vlc or xine crashes X11
Summary: Playing mp4 with vlc or xine crashes X11
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-28 21:16 UTC by Mark van Rossum
Modified: 2016-02-21 14:42 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-21 14:42:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 93810 0 None None None 2016-01-21 21:02:34 UTC

Description Mark van Rossum 2015-12-28 21:16:32 UTC
Description of problem:
I have found that playing mp4 files with either vlc or xine crash X11.
The file plays ok under totem.
Xorg.0.log is included below.



 rpm -q xorg-x11-drv-intel 
xorg-x11-drv-intel-2.99.917-18.20151109.fc23.x86_64



Version-Release number of selected component (if applicable):


How reproducible:
Seems fully reproducible. Tried two different mp4 files.


[151616.421] (EE) 
[151616.421] (EE) Backtrace:
[151616.422] (EE) 0: /usr/libexec/Xorg (OsLookupColor+0x139) [0x59afb9]
[151616.423] (EE) 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x7f52c1a1ab1f]
[151616.424] (EE) 2: /usr/lib64/xorg/modules/drivers/intel_drv.so (_init+0x4df66) [0x7f52bc6aac36]
[151616.424] (EE) 3: /usr/lib64/xorg/modules/drivers/intel_drv.so (_init+0xcd019) [0x7f52bc7a87b9]
[151616.425] (EE) 4: /usr/lib64/xorg/modules/drivers/intel_drv.so (_init+0x999aa) [0x7f52bc741e6a]
[151616.425] (EE) 5: /usr/libexec/Xorg (XvFillColorKey+0xa8f) [0x4db28f]
[151616.425] (EE) 6: /usr/libexec/Xorg (SendErrorToClient+0x2df) [0x4369bf]
[151616.425] (EE) 7: /usr/libexec/Xorg (remove_fs_handlers+0x453) [0x43a9e3]
[151616.426] (EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f52c1a06580]
[151616.426] (EE) 9: /usr/libexec/Xorg (_start+0x29) [0x424ce9]
[151616.427] (EE) 10: ? (?+0x29) [0x29]
[151616.427] (EE) 
[151616.427] (EE) Segmentation fault at address 0x0
[151616.427] (EE) 
Fatal server error:
[151616.427] (EE) Caught signal 11 (Segmentation fault). Server aborting
[151616.427] (EE) 
[151616.427] (EE) 
Please consult the Fedora Project support 
	 at http://wiki.x.org
 for help. 
[151616.427] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[151616.427] (EE) 
[151616.428] (II) AIGLX: Suspending AIGLX clients for VT switch
[151616.439] (EE) Server terminated with error (1). Closing log file.

Comment 1 Freddy Willemsen 2016-01-21 20:47:02 UTC
I have the exact same issue. vainfo returns:

libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.38 (libva 1.6.2)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.6.2
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice

Not sure if it is relevant, but vdpau and libva packages are present:

libvdpau-1.1.1-2.fc23.x86_64
libvdpau-va-gl-0.3.4-6.fc23.x86_64
mesa-vdpau-drivers-11.1.0-2.20151218.fc23.x86_64

libva-1.6.2-1.fc23.x86_64
libva-intel-driver-1.6.2-1.fc23.x86_64
libva-utils-1.6.2-1.fc23.x86_64
libva-vdpau-driver-0.7.4-13.fc23.x86_64

Comment 2 Mark van Rossum 2016-01-21 21:04:42 UTC
See also

https://bugs.freedesktop.org/show_bug.cgi?id=93810

Here is a very brief, freely accessible movie that show the bug.
http://www.inf.ed.ac.uk/teaching/courses/nc/hubel_Wiesel_lgn_off_cell.asf

Comment 3 Mark van Rossum 2016-01-31 10:16:22 UTC
Skype also crashes X11 as soon as it does video.

Comment 4 Mark van Rossum 2016-02-10 21:37:42 UTC
Finally solved this using the UXA driver
see

https://bugs.kde.org/show_bug.cgi?id=349519

Please, other users, try and report back here.

Comment 5 Xavier Bachelot 2016-02-10 23:20:10 UTC
I guess this is not an issue with xine-plugin (or xine) but rather with xorg-x11-drv-intel. And anyway, the xine stack is no more in Fedora, it has been moved to RPM Fusion some time ago.

Comment 6 Mark van Rossum 2016-02-21 14:42:01 UTC
Solved with latest driver
xorg-x11-drv-intel-2.99.917-19.20151206.fc23.x86_64


Note You need to log in before you can comment on or make changes to this bug.