Bug 27926 - xine may crash at launch, or exit silently when trying to play various multimedia files
Summary: xine may crash at launch, or exit silently when trying to play various multim...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 9
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA9, Triaged
Depends on:
Blocks:
 
Reported: 2020-12-26 06:06 CET by Ben McMonagle
Modified: 2023-07-06 17:04 CEST (History)
4 users (show)

See Also:
Source RPM: xine-lib1.2-1.2.11-1.mga8.tainted.src.rpm
CVE:
Status comment:


Attachments

Description Ben McMonagle 2020-12-26 06:06:00 CET
Description of problem: when trying to play a .mp4 file, xine exits silently.
invoking via terminal gives the following:

xine ./Videos/file_name.mp4
This is xine (X11 gui) - a free video player v0.10.1.
(c) 2000-2019 The xine Team.
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (XVideo)
  Minor opcode of failed request:  13 ()
  Value in failed request:  0x2
  Serial number of failed request:  1954
  Current serial number in output stream:  1957
~ $ 

attempting to playa .mov gives a similar response:

$ xine ./Videos/file_name.MOV
This is xine (X11 gui) - a free video player v0.10.1.
(c) 2000-2019 The xine Team.
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Not a JPEG file: starts with 0x28 0x00
~ $ 

both files play without issue via VLC and Videos


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


How reproducible:every time


Steps to Reproduce:
1.install a DE from Mageia-8-beta2-x86_64.iso (DATE: Tue 08 Dec 2020) and update
that includes Xine
2.reboot and attempt to play either file type
3.check against VLC
Ben McMonagle 2020-12-26 06:06:20 CET

Target Milestone: --- => Mageia 8

Comment 1 Aurelien Oudelet 2020-12-27 17:22:12 CET
Hi, thanks for reporting this bug.

Note that xine has also a tainted version.
Do you have installed this version?

urpmq -i xine-ui

xine-ui-0.99.12-3.mga8.src.rpm
xine-ui-0.99.12-3.mga8.tainted.src.rpm

Also, VDPAU is for hardware acceleration decoding facility.
Can you tell about your hardware by do:
$ inxi -G

Keywords: (none) => Triaged
CC: (none) => ouaurelien

Aurelien Oudelet 2020-12-27 17:22:24 CET

Keywords: Triaged => (none)

Comment 2 Ben McMonagle 2020-12-27 22:35:51 CET
(In reply to Aurelien Oudelet from comment #1)
> Hi, thanks for reporting this bug.
> 
> Note that xine has also a tainted version.
> Do you have installed this version?
> 
> urpmq -i xine-ui
> 
> xine-ui-0.99.12-3.mga8.src.rpm
> xine-ui-0.99.12-3.mga8.tainted.src.rpm

yes, tainted repos are enabled and system is fully updated.
this version (tainted above) is installed.
> 
> Also, VDPAU is for hardware acceleration decoding facility.
> Can you tell about your hardware by do:
> $ inxi -G

inxi -G
Graphics:  Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel 
           Device-2: Chicony Asus Integrated Webcam type: USB driver: uvcvideo 
           Display: x11 server: Mageia X.org 1.20.10 driver: intel,v4l resolution: 1280x720 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 20.3.1
Comment 3 Aurelien Oudelet 2020-12-29 11:49:58 CET
tainted binaries + Mesa drivers updated for a Intel chipset.

Theoretically I should say that this must just works.
It is not the case.

The better you can even make is provide a link to problematic video to be tested also.

Note really sure it is belong to xine-ui rather xine-lib1.2
Did these videos well played before?

tainted/release/xine-ui-0.99.12-3.mga8.tainted.src.rpm
tainted/release/xine-lib1.2-1.2.11-1.mga8.tainted.src.rpm

Assigned to all packagers, no registered one.
Cc'd commiters.
(Please set the status to 'assigned' if you are working on it)

CC: (none) => geiger.david68210
Assignee: bugsquad => pkg-bugs
Source RPM: xine-ui 0.99.12-3 mga8 x86_64 => xine-lib1.2-1.2.11-1.mga8.tainted.src.rpm
Keywords: (none) => Triaged

Comment 4 Ben McMonagle 2021-01-05 05:25:51 CET
(In reply to Aurelien Oudelet from comment #3)
.
> 
> The better you can even make is provide a link to problematic video to be
> tested also.
> 

excuse the piratebay link: https://thepiratebay.org/description.php?id=13970849
Ben McMonagle 2022-10-30 02:45:02 CET

Hardware: All => i586
Target Milestone: Mageia 8 => Mageia 9

Comment 5 Ben McMonagle 2022-10-30 02:47:16 CET
valid for i586 LXDE install from Mageia9 Alpha i586.iso.

updated *arch* and *release*
Ben McMonagle 2022-10-30 08:05:42 CET

Hardware: i586 => All

Comment 6 Ben McMonagle 2022-10-30 08:24:17 CET
.m4v, .mkv, mp4, .webm files affected.
 
[work@localhost ~]$ xine /home/work/Videos/some.mp4 (some.m4v, some.mp4, some.webm)
This is xine (X11 gui) - a free video player v0.10.1.
(c) 2000-2019 The xine Team.
warning: direct reference to protected function `xine_list_video_output_plugins' in `/lib64/libxine.so.2' may break pointer equality
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
warning: direct reference to protected function `xine_list_audio_output_plugins' in `/lib64/libxine.so.2' may break pointer equality
Comment 7 sturmvogel 2022-10-30 18:14:48 CET
I found several really strange problems about this package:

- we ship a mangled/broken xine-ui package as can be seen at this line in the output: "This is xine (X11 gui) - a free video player v0.10.1."
-> this version does not even exist at sourceforge. There should be shown "v0.99.12" (for our cauldron version)
- playing a file with doubleclicking it in a filemanager (dolphin) works flawlessly

Additionally i discovered that you need to put the path to the media in hyphen or the file will not play. That means your command should look like this Ben:

 
[work@localhost ~]$ xine '/home/work/Videos/some.mp4'
Comment 8 Ben McMonagle 2022-10-31 06:56:59 CET
(In reply to sturmvogel from comment #7)
> I found several really strange problems about this package:
> 
> - we ship a mangled/broken xine-ui package as can be seen at this line in
> the output: "This is xine (X11 gui) - a free video player v0.10.1."
> -> this version does not even exist at sourceforge. There should be shown
> "v0.99.12" (for our cauldron version)
> - playing a file with doubleclicking it in a filemanager (dolphin) works
> flawlessly
> 
> Additionally i discovered that you need to put the path to the media in
> hyphen or the file will not play. That means your command should look like
> this Ben:
> 
>  
> [work@localhost ~]$ xine '/home/work/Videos/some.mp4'

note that comment 6 is specific => LXDE only, i586.
As the mentioned files did not play when clicked from PCmanFM window, (Xine exited with no error given), so I ran the command from terminal.
When I next have a LXDE i586 partition, I will use your tip.

however, when 
$ xine /home/work/Videos/some.mp4 or $ xine /home/work/Videos/some.wma is entered the GUI is presented and the files play.
Comment 9 Ben McMonagle 2022-10-31 07:06:12 CET
(In reply to Ben McMonagle from comment #8)

> 
> however, when 
> $ xine /home/work/Videos/some.mp4 or $ xine /home/work/Videos/some.wma is
> entered the GUI is presented and the files play.

oops

$ xine /home/work/Videos/some.mp3
Comment 10 Ben McMonagle 2022-11-06 01:50:55 CET
(In reply to sturmvogel from comment #7)

> 
>  
> [work@localhost ~]$ xine '/home/work/Videos/some.mp4'

reports file note found, but at least xine does not exit completely.
Comment 11 Ben McMonagle 2022-11-06 01:54:06 CET
also valid for x86_64 LDXE only install:

(Mageia-9-alpha1-x86_64
DATE.txt: Sat Nov  5 09:40:43 PM CET 2022
md5sum: 9d436ab8c34360501caee4c80b4178bd)

Summary: xine exits silently when trying to play .mp4 or .mov => xine exits silently when trying to play various multimedia files

Comment 12 Dave Hodgins 2022-11-06 15:41:11 CET
In an m9 plasma vb guest, an mp4 downloaded from
https://www.youtube.com/watch?v=KaOC9danxNo
works ok in xine.

CC: (none) => davidwhodgins

Comment 13 Ben McMonagle 2022-12-13 09:34:09 CET
(In reply to Dave Hodgins from comment #12)
> In an m9 plasma vb guest, an mp4 downloaded from
> https://www.youtube.com/watch?v=KaOC9danxNo
> works ok in xine.

$ youtube-dl https://www.youtube.com/watch?v=KaOC9danxNo
[youtube] KaOC9danxNo: Downloading webpage
[youtube] KaOC9danxNo: Downloading player e96685ea
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: Space Oddity-KaOC9danxNo.f247.webm
[download] 100% of 30.85MiB in 08:09
[download] Destination: Space Oddity-KaOC9danxNo.f140.m4a
[download] 100% of 5.10MiB in 01:21
[ffmpeg] Merging formats into "Space Oddity-KaOC9danxNo.mkv"
Deleting original file Space Oddity-KaOC9danxNo.f247.webm (pass -k to keep)
Deleting original file Space Oddity-KaOC9danxNo.f140.m4a (pass -k to keep)

$ xine "/home/work/Space Oddity-KaOC9danxNo.mkv"
This is xine (X11 gui) - a free video player v0.99.13.
(c) 2000-2019 The xine Team.
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (XVideo)
  Minor opcode of failed request:  13 ()
  Value in failed request:  0x2
  Serial number of failed request:  668
  Current serial number in output stream:  670

exits immediately
Comment 14 Ben McMonagle 2022-12-13 09:37:43 CET
installing libvdpau-va-gl1-0.4.2-5.mga9.i586

allows some of the AV files to play audio for a few seconds when invoked from file manager (PCManFM), and then locks the player.

requires kill from task manager to close the GUI.
Comment 15 Ben McMonagle 2022-12-13 09:38:32 CET
install is LXDE only from beta1 i586.iso
Comment 16 Ben McMonagle 2023-02-07 08:46:45 CET
seems to be hardware specific,

lspcidrake -v
lpc_ich         : Intel Corporation|Atom Processor Z36xxx/Z37xxx Series Power Control Unit [BRIDGE_ISA] (vendor:8086 device:0f1c subv:1043 subd:14ed) (rev: 09)
xhci_pci        : Intel Corporation|Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI [SERIAL_USB] (vendor:8086 device:0f35 subv:1043 subd:14ed) (rev: 09)
Card:Intel 810 and later: Intel Corporation|Atom Processor Z36xxx/Z37xxx Series Graphics & Display [DISPLAY_VGA] (vendor:8086 device:0f31 subv:1043 subd:14ed) (rev: 09)
mei_txe         : Intel Corporation|Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [CRYPT_OTHER] (vendor:8086 device:0f18 subv:1043 subd:14ed) (rev: 09)
unknown         : Intel Corporation|Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [BRIDGE_HOST] (vendor:8086 device:0f00 subv:1043 subd:14ed) (rev: 09)
hub             : Linux 6.1.10-desktop-1.mga9 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usbhid          : ASUSTek COMPUTER INC.|ASUS Base Station(T100) [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:0b05 device:17e0)
hub             : Linux 6.1.10-desktop-1.mga9 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hid_asus        : ASUSTek COMPUTER INC. ASUS Base Station(T100)
hid_asus        : ASUSTek COMPUTER INC. ASUS Base Station(T100)
hid_multitouch  : ATML1000:00 03EB:8C0D
hid_asus        : ASUSTek COMPUTER INC. ASUS Base Station(T100)
Comment 17 Ben McMonagle 2023-02-07 08:47:39 CET
inxi -Fxxxr
System:
  Host: localhost Kernel: 6.1.10-desktop-1.mga9 arch: i686 bits: 32
    compiler: gcc v: 12.2.1 Desktop: LXDE v: 0.10.1 info: lxpanel wm: Openbox
    v: 3.6.1 vt: 1 dm: LXDM Distro: Mageia 9
Machine:
  Type: Laptop System: ASUSTeK product: T100TA v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: T100TA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: T100TA.307 date: 05/09/2014
Battery:
  ID-1: BATC charge: 74.9 Wh (77.9%) condition: 96.2/30.6 Wh (314.2%)
    volts: 3.9 min: 3.8 model: Intel SR 1 SR Real Battery type: Li-ion
    serial: 123456789 status: discharging cycles: 90
CPU:
  Info: quad core model: Intel Atom Z3740 bits: 64 type: MCP
    smt: <unsupported> arch: Silvermont rev: 3 cache: L1: 224 KiB L2: 2 MiB
  Speed (MHz): avg: 566 high: 666 min/max: 533/1866 cores: 1: 533 2: 533
    3: 533 4: 666 bogomips: 10666
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Message: Required tool lspci not installed. Check --recommends
  Display: x11 server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7 driver: X:
    loaded: intel,v4l dri: i965 gpu: N/A display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1368x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: DSI1 res: 1368x768 hz: 60 dpi: 151 size: 230x130mm (9.06x5.12")
    diag: 264mm (10.4") modes: N/A
  API: OpenGL v: 4.2 Mesa 23.0.0-rc4 renderer: Mesa Intel HD Graphics (BYT)
    direct render: Yes
Audio:
  Message: No device data found.
  Sound API: ALSA v: k6.1.10-desktop-1.mga9 running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
  Message: Required tool lspci not installed. Check --recommends
  IF-ID-1: wlan0 state: up mac: 40:16:7e:38:41:6e
Drives:
  Local Storage: total: 87.04 GiB used: 37.72 GiB (43.3%)
  ID-1: /dev/mmcblk1 vendor: SK Hynix model: HCG8e size: 58.25 GiB type: SSD
    serial: 0x02e76c7a rev: 0x6 scheme: GPT
  ID-2: /dev/mmcblk2 model: SL32G size: 28.79 GiB type: SSD
    serial: 0x6b45fb48 scheme: MBR
Partition:
  ID-1: / size: 12.62 GiB used: 3.61 GiB (28.6%) fs: ext4 dev: /dev/mmcblk1p5
  ID-2: /home size: 12.96 GiB used: 662.1 MiB (5.0%) fs: ext4
    dev: /dev/mmcblk1p7
Swap:
  ID-1: swap-1 type: partition size: 2.14 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/mmcblk1p6
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: pm: rpm pkgs: N/A note: see --rpm
  No active dnf repos in: /etc/dnf/dnf.conf
  No active yum repos in: /etc/yum.repos.d/cauldron-i586-source.repo
  Active yum repos in: /etc/yum.repos.d/cauldron-i586.repo
    1: cauldron-i586 ~ https://www.mageia.org/mirrorlist/?release=cauldron&arch=i586&section=core&repo=release
    2: cauldron-updates_testing-i586 ~ https://www.mageia.org/mirrorlist/?release=cauldron&arch=i586&section=core&repo=updates_testing
  No active yum repos in: /etc/yum.repos.d/cauldron-nonfree-i586-source.repo
  No active yum repos in: /etc/yum.repos.d/cauldron-nonfree-i586.repo
  No active yum repos in: /etc/yum.repos.d/cauldron-tainted-i586-source.repo
  No active yum repos in: /etc/yum.repos.d/cauldron-tainted-i586.repo
  No active yum repos in: /etc/yum.repos.d/mageia-i586-source.repo
  Active yum repos in: /etc/yum.repos.d/mageia-i586.repo
    1: mageia-i586 ~ https://www.mageia.org/mirrorlist/?release=$releasever&arch=i586&section=core&repo=release
    2: updates_testing-i586 ~ https://www.mageia.org/mirrorlist/?release=$releasever&arch=i586&section=core&repo=updates_testing
  No active yum repos in: /etc/yum.repos.d/mageia-nonfree-i586-source.repo
  No active yum repos in: /etc/yum.repos.d/mageia-nonfree-i586.repo
  No active yum repos in: /etc/yum.repos.d/mageia-tainted-i586-source.repo
  No active yum repos in: /etc/yum.repos.d/mageia-tainted-i586.repo
  urpmq repo: https://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/i586/media/core/release
    1: Core Release (distrib1)
  urpmq repo: https://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/i586/media/core/updates
    1: Core Updates (distrib3)
  urpmq repo: https://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/i586/media/nonfree/release
    1: Nonfree Release (distrib11)
  urpmq repo: https://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/i586/media/nonfree/updates
    1: Nonfree Updates (distrib13)
  urpmq repo: https://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/i586/media/tainted/release
    1: Tainted Release (distrib21)
  urpmq repo: https://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/i586/media/tainted/updates
    1: Tainted Updates (distrib23)
Info:
  Processes: 195 Uptime: 3m wakeups: 1 Memory: 1.74 GiB
  used: 792.9 MiB (44.5%) Init: systemd v: 252 target: graphical (5)
  default: runlevel5 Compilers: gcc: N/A Shell: Bash v: 5.2.15
  running-in: lxterminal inxi: 3.3.24
Comment 18 Morgan Leijström 2023-07-06 16:51:53 CEST
For me xine-ui crash at start!

This system do not have LXDE, (have Plasma, Gnome, xfce) and did not have xine.
Now installed xine-ui from tainted, with deps, and tried:

$ xine
This is xine (X11 gui) - a free video player v0.99.14.
(c) 2000-2019 The xine Team.
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
xine: vdpau_video.c:373: vdpau_DestroySurfaces: Försäkran ”obj_surface” falsk.
Avbruten (SIGABRT) (minnesutskrift skapad)

regarding output language id did not help to prepend with neither LANGUAGE=C nor LC_ALL=C

$ inxi -G
Graphics:
  Device-1: NVIDIA GM107 [GeForce GTX 750] driver: nvidia v: 470.199.02
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
    loaded: nvidia,v4l gpu: nvidia resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 470.199.02 renderer: NVIDIA GeForce GTX
    750/PCIe/SSE2

$ rpm -qa | grep dkms-nvidia
dkms-nvidia470-470.199.02-1.mga9.nonfree

kernel: desktop 6.4.1-desktop-3

Maybe it works with Xorg modesetting driver, I have not tested.

CC: (none) => fri
Summary: xine exits silently when trying to play various multimedia files => xine may crash at launch, or exit silently when trying to play various multimedia files

Comment 19 Morgan Leijström 2023-07-06 17:04:57 CEST
https://wiki.mageia.org/en/Mageia_9_Errata#Various_software

Keywords: (none) => IN_ERRATA9


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