Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1897309

Summary: [aarch64] luajit: Lua error: bad light userdata pointer
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: luajitAssignee: Igor Raits <igor.raits>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: igor.raits, oliver, siddhesh
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    

Description Dominik 'Rathann' Mierzejewski 2020-11-12 18:22:27 UTC
Description of problem:
When running mpv on aarch64 machine (Pinebook Pro), I get "Lua error: bad light userdata pointer" errors. Web search suggests it comes from luajit.

Version-Release number of selected component (if applicable):
mpv-0.32.0-6.fc32.aarch64
luajit-2.1.0-0.17beta3.fc32.aarch64

How reproducible:
Always

Steps to Reproduce:
1. Install mpv from RPMFusion
2. mpv
3.

Actual results:
$ mpv 
[ytdl_hook] Lua error: bad light userdata pointer
[ytdl_hook] Could not load lua script @ytdl_hook.lua
[console] Lua error: bad light userdata pointer
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
...

[console] Could not load lua script @console.lua
[stats] Lua error: bad light userdata pointer
[stats] Could not load lua script @stats.lua
[osc] Lua error: bad light userdata pointer
[osc] Could not load lua script @osc.lua

Expected results:
No lua errors.

Comment 1 Fedora Program Management 2021-04-29 16:43:48 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Dominik 'Rathann' Mierzejewski 2021-05-12 10:10:57 UTC
Still reproducible on F34 with luajit-2.1.0-0.19beta3.fc34.aarch64 and mpv-0.33.1-1.fc34.aarch64.