Bug 2255741

Summary: [abrt] vlc-core: zink_bo_has_unflushed_usage(): vlc killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Jan Lipovsky <janlipovsky>
Component: vlcAssignee: Yaakov Selkowitz <yselkowi>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: janlipovsky, multimedia-sig, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f56078377eac43faf45e4a70016a8b19a090a65
Whiteboard: abrt_hash:425060eb42c2a509a99b536b340ce405c74d64d3;VARIANT_ID=workstation;
Fixed In Version: vlc-3.0.21-1.fc40 vlc-3.0.21-2.el9 vlc-3.0.21-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-10 01:27:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: maps
none
File: proc_pid_status
none
File: open_fds
none
File: dso_list
none
File: var_log_messages
none
File: environ
none
File: mountinfo
none
File: exploitable
none
File: core_backtrace
none
File: cpuinfo
none
File: os_info
none
File: limits none

Description Jan Lipovsky 2023-12-24 12:42:12 UTC
Description of problem:
I have NVIDIA drivers installed from rpmfusuion and VLC with default video output is crashing.
When I change it to X11 (XCB) it is working. I am running on Wayland. 

Version-Release number of selected component:
vlc-core-1:3.0.20-1.fc39

Additional info:
reporter:       libreport-2.17.11
cmdline:        /usr/bin/vlc --started-from-file /home/jan/Downloads/Sest.medvedu.s.cibulkou.1972-1080p.avi
crash_function: zink_bo_has_unflushed_usage
rootdir:        /
type:           CCpp
backtrace_rating: 4
kernel:         6.6.6-200.fc39.x86_64
executable:     /usr/bin/vlc
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus
reason:         vlc killed by SIGSEGV
package:        vlc-core-1:3.0.20-1.fc39
journald_cursor: s=2c88f7ceccba4634b823c3354b6dba90;i=cca8e1;b=98b6c709b29144f88d32fd6dadec41b3;m=1b4de62c5b;t=60cb77d77c150;x=27ede03cc3d3f425
runlevel:       N 5
uid:            1000

Truncated backtrace:
Thread no. 1 (29 frames)
 #0 zink_bo_has_unflushed_usage at ../src/gallium/drivers/zink/zink_batch.h:89
 #1 zink_bo_has_usage at ../src/gallium/drivers/zink/zink_bo.h:155
 #2 zink_resource_has_usage at ../src/gallium/drivers/zink/zink_resource.h:129
 #3 check_resource_for_batch_ref at ../src/gallium/drivers/zink/zink_context.c:108
 #4 update_res_bind_count at ../src/gallium/drivers/zink/zink_context.c:1274
 #5 unbind_shader_image_counts at ../src/gallium/drivers/zink/zink_context.c:1673
 #6 zink_make_image_handle_resident at ../src/gallium/drivers/zink/zink_context.c:2481
 #7 zink_copy_image_buffer at ../src/gallium/drivers/zink/zink_context.c:4466
 #8 st_nir_make_clearcolor_shader at ../src/mesa/state_tracker/st_nir_builtins.c:147
 #9 dri_pipe_blit at ../src/gallium/frontends/dri/dri_drawable.c:397
 #10 util_format_x8b8g8r8_unorm_fetch_rgba at src/util/format/u_format_table.c:1906
 #11 ??
 #12 memset at /usr/include/bits/string_fortified.h:59
 #13 _eglInitResource at ../src/egl/main/egldisplay.c:402
 #14 dri2_create_context at ../src/egl/drivers/dri2/egl_dri2.c:1552
 #15 eglCreateContext at ../src/egl/main/eglapi.c:900
 #16 Open at video_output/opengl/egl.c:405
 #17 module_load at modules/modules.c:191
 #18 vlc_module_load at modules/modules.c:281
 #19 vlc_gl_Create at video_output/opengl.c:80
 #20 Open at video_output/opengl/display.c:133
 #21 module_load at modules/modules.c:191
 #22 vlc_module_load at modules/modules.c:281
 #23 DisplayNew.constprop.0 at video_output/display.c:1204
 #24 vout_OpenWrapper at video_output/vout_wrapper.c:70
 #25 ThreadStart at video_output/video_output.c:1533
 #26 ThreadControl at video_output/video_output.c:1688
 #27 Thread at video_output/video_output.c:1809
 #29 clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Comment 1 Jan Lipovsky 2023-12-24 12:42:15 UTC
Created attachment 2005663 [details]
File: backtrace

Comment 2 Jan Lipovsky 2023-12-24 12:42:16 UTC
Created attachment 2005664 [details]
File: maps

Comment 3 Jan Lipovsky 2023-12-24 12:42:17 UTC
Created attachment 2005665 [details]
File: proc_pid_status

Comment 4 Jan Lipovsky 2023-12-24 12:42:19 UTC
Created attachment 2005666 [details]
File: open_fds

Comment 5 Jan Lipovsky 2023-12-24 12:42:20 UTC
Created attachment 2005667 [details]
File: dso_list

Comment 6 Jan Lipovsky 2023-12-24 12:42:22 UTC
Created attachment 2005668 [details]
File: var_log_messages

Comment 7 Jan Lipovsky 2023-12-24 12:42:23 UTC
Created attachment 2005669 [details]
File: environ

Comment 8 Jan Lipovsky 2023-12-24 12:42:24 UTC
Created attachment 2005670 [details]
File: mountinfo

Comment 9 Jan Lipovsky 2023-12-24 12:42:25 UTC
Created attachment 2005671 [details]
File: exploitable

Comment 10 Jan Lipovsky 2023-12-24 12:42:27 UTC
Created attachment 2005672 [details]
File: core_backtrace

Comment 11 Jan Lipovsky 2023-12-24 12:42:28 UTC
Created attachment 2005673 [details]
File: cpuinfo

Comment 12 Jan Lipovsky 2023-12-24 12:42:30 UTC
Created attachment 2005674 [details]
File: os_info

Comment 13 Jan Lipovsky 2023-12-24 12:42:31 UTC
Created attachment 2005675 [details]
File: limits

Comment 14 Yaakov Selkowitz 2023-12-28 03:13:24 UTC
Please try different output modules and hardware-accelerated decoding settings until you find one that works for you.

Comment 15 Fedora Update System 2024-06-06 17:28:32 UTC
FEDORA-2024-ff04b57ae2 (vlc-3.0.21-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-ff04b57ae2

Comment 16 Fedora Update System 2024-06-06 17:29:09 UTC
FEDORA-2024-a03c4ba298 (vlc-3.0.21-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a03c4ba298

Comment 17 Fedora Update System 2024-06-06 17:29:44 UTC
FEDORA-EPEL-2024-c7e8f74748 (vlc-3.0.21-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-c7e8f74748

Comment 18 Fedora Update System 2024-06-07 01:51:45 UTC
FEDORA-2024-a03c4ba298 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a03c4ba298`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a03c4ba298

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2024-06-07 02:02:16 UTC
FEDORA-EPEL-2024-c7e8f74748 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-c7e8f74748

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2024-06-08 03:35:01 UTC
FEDORA-2024-ff04b57ae2 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ff04b57ae2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ff04b57ae2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2024-06-10 01:27:54 UTC
FEDORA-2024-ff04b57ae2 (vlc-3.0.21-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2024-06-15 00:39:17 UTC
FEDORA-EPEL-2024-c7e8f74748 (vlc-3.0.21-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2024-06-15 04:45:00 UTC
FEDORA-2024-a03c4ba298 (vlc-3.0.21-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.