Getting seg-fault while playing any stream through vlc with HW accelerated decoder in Jetson platform

Bug #1913530 reported by kunal das
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VLC media player
Fix Committed
Undecided
Rémi Denis-Courmont
vlc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Getting seg-fault while playing any stream through vlc with HW accelerated decoder in Jetson platform.

Repro steps:
1. Install VLC - sudo apt-get update; sudo apt-get install vlc
2. Play any video file
3. VLC crashes

I have compiled vlc(3.0.8 and 3.0.12 version) from source: git://git.videolan.org/vlc/vlc-3.0.git, and able to play the stream properly, it is failing only when we are installing via "apt-get install".

VLC is failing with HW accelerated decoder in jetson due to size mismatch of one structure (OMX_VERSIONTYPE), we have already checked upstream Khronos headers and found they match what we are using, still we are getting different size for this particular structure.

I checked VLC source code(https://git.launchpad.net/ubuntu/+source/vlc/tree/modules/codec/omxil/OMX_Types.h?h=applied/3.0.8-0ubuntu18.04.1) and found that type of OMX_U32 is "unsigned long" whereas in khronos OMX headers it is "uint32_t" and type of OMX_U8 in vlc source code is "unsigned char" whereas in khronos OMX headers it is "uint8_t"

Revision history for this message
kunal das (kudas) wrote :

Hi, I can see this bug is still Unassigned , Can you please look into this issue?

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

Fixed upstream in 3.0.12.1-40-gf128680a57

Changed in vlc:
assignee: nobody → Rémi Denis-Courmont (rdenis)
status: New → Fix Committed
Changed in vlc (Ubuntu):
status: New → Confirmed
Revision history for this message
kunal das (kudas) wrote :

Hey Rémi, thanks for the fix, it will solve our issue, may I know when it will be released? is it already upstreamed or is it going to be in some time?

Revision history for this message
RAHUL MARUTI BHAGWAT (rbhagwat) wrote :

Can we get this fix for ubuntu 18.04 and ubuntu 20.04 versions of vlc?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.