Open pabs3 opened 3 years ago
I suspect that I have the same problem:
[New LWP 9710]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `vdpauinfo'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0, 139800753980464, 93911661598576, 93911661596048, 139800738413504, 62914562, 139800750615296, 139800754173427, 5, 139800738412232, 93911661595840, 140735272170896, 139800738413504, 62914562, 139800750615296, 139800754173427}}
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x00007f25e5fab537 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x3c0000400040394, sa_sigaction = 0x3c0000400040394}, sa_mask = {__val = {404, 16711680, 0, 18446744073709551360, 139800724795634, 93911661598864, 2325992815524825344, 18374686483949813760, 93911656952240, 93911661598848, 139800732726112, 93911661598968, 93911661598968, 93911656952240, 139800720232286, 0}}, sa_flags = -436154501, sa_restorer = 0x473459320d1b0606}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f25e6004768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f25e6112e31 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
ap = {{gp_offset = 24, fp_offset = 21865, overflow_arg_area = 0x7fff7be7b470, reg_save_area = 0x7fff7be7b400}}
fd = <optimized out>
list = <optimized out>
nlist = <optimized out>
cp = <optimized out>
#3 0x00007f25e600ba5a in malloc_printerr (str=str@entry=0x7f25e6115140 "corrupted size vs. prev_size in fastbins") at malloc.c:5347
No locals.
#4 0x00007f25e600c90c in malloc_consolidate (av=av@entry=0x7f25e6144b80 <main_arena>) at malloc.c:4493
fb = 0x7f25e6144ba0 <main_arena+32>
maxfb = 0x7f25e6144bd8 <main_arena+88>
p = 0x5569833aee60
nextp = <optimized out>
unsorted_bin = 0x7f25e6144be0 <main_arena+96>
first_unsorted = <optimized out>
nextchunk = 0x5569833aeee0
size = 128
nextsize = 64
prevsize = <optimized out>
nextinuse = <optimized out>
#5 0x00007f25e600d0c0 in _int_free (av=0x7f25e6144b80 <main_arena>, p=0x556983415690, have_lock=<optimized out>) at malloc.c:4400
size = 3905392
fb = <optimized out>
nextchunk = 0x5569837cee00
nextsize = 64
nextinuse = <optimized out>
prevsize = <optimized out>
bck = <optimized out>
fwd = <optimized out>
__PRETTY_FUNCTION__ = "_int_free"
#6 0x00007f25e496c1e8 in glsl_type_singleton_decref () at ../src/compiler/glsl_types.cpp:543
No locals.
#7 0x00007f25e47ed7a3 in (anonymous namespace)::builtin_builder::release (this=0x7f25e50317d0 <builtins>) at ../src/compiler/glsl/builtin_functions.cpp:1325
No locals.
#8 _mesa_glsl_builtin_functions_decref () at ../src/compiler/glsl/builtin_functions.cpp:7752
No locals.
#9 0x00007f25e4589f45 in _mesa_free_context_data (ctx=ctx@entry=0x7f25e1377040, destroy_debug_output=destroy_debug_output@entry=true) at ../src/mesa/main/context.c:1402
No locals.
#10 0x00007f25e4451454 in intelDestroyContext (driContextPriv=0x55698320b100) at ../src/mesa/drivers/dri/i965/brw_context.c:1250
brw = 0x7f25e1377040
ctx = 0x7f25e1377040
curctx = <optimized out>
#11 0x00007f25e44eb553 in driDestroyContext (pcp=0x55698320b100) at ../src/mesa/drivers/dri/common/dri_util.c:533
No locals.
#12 0x00007f25e55776bf in dri3_destroy_context (context=0x55698320af70) at ../src/glx/dri3_glx.c:181
pcp = 0x55698320af70
psc = 0x556982f1fdd0
#13 0x00007f25e5561e49 in glXDestroyContext (ctx=0x55698320af70, dpy=0x556982f09350) at ../src/glx/glxcmds.c:510
gc = <optimized out>
gc = <optimized out>
#14 glXDestroyContext (dpy=0x556982f09350, ctx=0x55698320af70) at ../src/glx/glxcmds.c:491
gc = 0x55698320af70
#15 0x00007f25e5798d60 in vdp::GLXManagedContext::destroy (this=0x55698339c1c8) at ./src/glx-context.cc:87
this = 0x55698339c1c8
#16 0x00007f25e57997ed in vdp::GLXManagedContext::~GLXManagedContext (this=0x55698339c1c8, __in_chrg=<optimized out>) at ./src/glx-context.hh:54
No locals.
#17 std::pair<int const, vdp::GLXManagedContext>::~pair (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_pair.h:198
No locals.
#18 __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, vdp::GLXManagedContext> > >::destroy<std::pair<int const, vdp::GLXManagedContext> > (this=<optimized out>, __p=<optimized out>) at /usr/include/c++/7/ext/new_allocator.h:140
No locals.
#19 std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<int const, vdp::GLXManagedContext> > > >::destroy<std::pair<int const, vdp::GLXManagedContext> > (__a=..., __p=<optimized out>) at /usr/include/c++/7/bits/alloc_traits.h:487
No locals.
#20 std::_Rb_tree<int, std::pair<int const, vdp::GLXManagedContext>, std::_Select1st<std::pair<int const, vdp::GLXManagedContext> >, std::less<int>, std::allocator<std::pair<int const, vdp::GLXManagedContext> > >::_M_destroy_node (this=0x7f25e59ad700 <(anonymous namespace)::g_glc_map>, __p=0x55698339c1a0) at /usr/include/c++/7/bits/stl_tree.h:650
No locals.
#21 std::_Rb_tree<int, std::pair<int const, vdp::GLXManagedContext>, std::_Select1st<std::pair<int const, vdp::GLXManagedContext> >, std::less<int>, std::allocator<std::pair<int const, vdp::GLXManagedContext> > >::_M_drop_node (this=0x7f25e59ad700 <(anonymous namespace)::g_glc_map>, __p=0x55698339c1a0) at /usr/include/c++/7/bits/stl_tree.h:658
No locals.
#22 std::_Rb_tree<int, std::pair<int const, vdp::GLXManagedContext>, std::_Select1st<std::pair<int const, vdp::GLXManagedContext> >, std::less<int>, std::allocator<std::pair<int const, vdp::GLXManagedContext> > >::_M_erase (this=this@entry=0x7f25e59ad700 <(anonymous namespace)::g_glc_map>, __x=0x55698339c1a0) at /usr/include/c++/7/bits/stl_tree.h:1858
__y = <optimized out>
#23 0x00007f25e579972c in std::_Rb_tree<int, std::pair<int const, vdp::GLXManagedContext>, std::_Select1st<std::pair<int const, vdp::GLXManagedContext> >, std::less<int>, std::allocator<std::pair<int const, vdp::GLXManagedContext> > >::clear (this=0x7f25e59ad700 <(anonymous namespace)::g_glc_map>) at /usr/include/c++/7/bits/stl_tree.h:1171
No locals.
#24 std::map<int, vdp::GLXManagedContext, std::less<int>, std::allocator<std::pair<int const, vdp::GLXManagedContext> > >::clear (this=0x7f25e59ad700 <(anonymous namespace)::g_glc_map>) at /usr/include/c++/7/bits/stl_map.h:1113
No locals.
#25 vdp::GLXGlobalContext::~GLXGlobalContext (this=0x556982f092e0, __in_chrg=<optimized out>) at ./src/glx-context.cc:195
lock = {_M_device = 0x7f25e59ad520 <(anonymous namespace)::g_glc_mutex>, _M_owns = true}
lock = {_M_device = <optimized out>, _M_owns = <optimized out>}
#26 0x00007f25e5781022 in vdp::Device::Resource::~Resource (this=0x556982f09290, __in_chrg=<optimized out>) at ./src/api-device.cc:461
gl_error = <optimized out>
guard = {prev_dpy_ = <optimized out>, prev_wnd_ = <optimized out>, prev_glc_ = <optimized out>, restore_previous_context_ = <optimized out>}
guard = {<No data fields>}
#27 0x00007f25e578277a in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x556982f09280) at /usr/include/c++/7/bits/shared_ptr_base.h:154
this = 0x556982f09280
#28 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/shared_ptr_base.h:684
No locals.
#29 std::__shared_ptr<vdp::Device::Resource, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/shared_ptr_base.h:1123
No locals.
#30 std::shared_ptr<vdp::Device::Resource>::~shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/shared_ptr.h:93
No locals.
#31 std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> >::~pair (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_pair.h:198
No locals.
#32 __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > > >::destroy<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > > (this=<optimized out>, __p=<optimized out>) at /usr/include/c++/7/ext/new_allocator.h:140
No locals.
#33 std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > > > >::destroy<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > > (__a=..., __p=<optimized out>) at /usr/include/c++/7/bits/alloc_traits.h:487
No locals.
#34 std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> >, std::_Select1st<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > > >::_M_destroy_node (this=0x7f25e59ad7c0 <(anonymous namespace)::storage+128>, __p=0x55698393b5b0) at /usr/include/c++/7/bits/stl_tree.h:650
No locals.
#35 std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> >, std::_Select1st<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > > >::_M_drop_node (this=0x7f25e59ad7c0 <(anonymous namespace)::storage+128>, __p=0x55698393b5b0) at /usr/include/c++/7/bits/stl_tree.h:658
No locals.
#36 std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> >, std::_Select1st<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::shared_ptr<vdp::Device::Resource> > > >::_M_erase (this=0x7f25e59ad7c0 <(anonymous namespace)::storage+128>, __x=0x55698393b5b0) at /usr/include/c++/7/bits/stl_tree.h:1858
__y = <optimized out>
#37 0x00007f25e57a1189 in (anonymous namespace)::._325::~._325() () at /usr/include/c++/7/bits/stl_tree.h:949
(anonymous namespace)::storage = {bitmap_surface = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 0 elements}, device = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 1 element = {[300001] = std::shared_ptr<vdp::Device::Resource> (expired, weak count 1) = {get() = 0x556982f09290}}}, output_surface = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 0 elements}, presentation_queue = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 0 elements}, presentation_queue_target = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 0 elements}, video_decoder = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 0 elements}, video_mixer = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 0 elements}, video_surface = {mtx_ = {<std::__recursive_mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}}, <No data fields>}, map_ = std::map with 0 elements}}
__gnu_cxx::_S_mutex = __gnu_cxx::_S_mutex
std::integral_constant<bool, false>::value = false
std::integral_constant<bool, true>::value = true
std::integral_constant<unsigned long, 0ul>::value = 0
std::integral_constant<long, 1l>::value = 1
std::integral_constant<long, 1000000000l>::value = 1000000000
VDP_PRESENTATION_QUEUE_STATUS_QUEUED = VDP_PRESENTATION_QUEUE_STATUS_QUEUED
__gnu_cxx::_S_atomic = __gnu_cxx::_S_atomic
VDP_PRESENTATION_QUEUE_STATUS_VISIBLE = VDP_PRESENTATION_QUEUE_STATUS_VISIBLE
__gnu_cxx::__numeric_traits_floating<float>::__max_exponent10 = 38
__gnu_cxx::__numeric_traits_floating<double>::__max_exponent10 = 308
__gnu_cxx::__numeric_traits_floating<long double>::__max_exponent10 = 4932
std::memory_order_relaxed = std::memory_order_relaxed
std::_S_black = std::_S_black
VDP_PRESENTATION_QUEUE_STATUS_IDLE = VDP_PRESENTATION_QUEUE_STATUS_IDLE
std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>::_S_need_barriers = std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>::_S_need_barriers
std::memory_order_release = std::memory_order_release
std::memory_order_consume = std::memory_order_consume
std::memory_order_acquire = std::memory_order_acquire
__gnu_cxx::__numeric_traits_integer<int>::__min = -2147483648
__gnu_cxx::_S_single = __gnu_cxx::_S_single
std::memory_order_seq_cst = std::memory_order_seq_cst
__gnu_cxx::__numeric_traits_integer<long>::__max = 9223372036854775807
__gnu_cxx::__numeric_traits_integer<int>::__max = 2147483647
std::memory_order_acq_rel = std::memory_order_acq_rel
std::_S_red = std::_S_red
#38 0x00007f25e5fc44d7 in __run_exit_handlers (status=0, listp=0x7f25e6144718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
atfct = <optimized out>
onfct = <optimized out>
cxafct = <optimized out>
f = <optimized out>
new_exitfn_called = 255
cur = 0x7f25e6146b00 <initial>
restart = <optimized out>
#39 0x00007f25e5fc467a in __GI_exit (status=<optimized out>) at exit.c:139
No locals.
#40 0x00007f25e5facd11 in __libc_start_main (main=0x5569817d6170, argc=1, argv=0x7fff7be7b888, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7be7b878) at ../csu/libc-start.c:342
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 7399918765122590884, 93911632405760, 0, 0, 0, 3718917608647497892, 3614424464242448548}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x1, 0x7fff7be7b888}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}}
not_first_call = <optimized out>
#41 0x00005569817d652a in ?? ()
No symbol table info available.
--- END ---
PID: 9710 (vdpauinfo)
UID: 1000 (joerg)
GID: 1000 (joerg)
Signal: 6 (ABRT)
Timestamp: Sun 2021-01-24 20:55:20 CET (18min ago)
Command Line: vdpauinfo
Executable: /usr/bin/vdpauinfo
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/awesome.service
Unit: user@1000.service
User Unit: awesome.service
Slice: user-1000.slice
Owner UID: 1000 (joerg)
Boot ID: d7500c252fe440aea67e429721934b50
Machine ID: 523cb54753234ed08c13ec497d0d3b64
Hostname: zenbook
Storage: /var/lib/systemd/coredump/core.vdpauinfo.1000.d7500c252fe440aea67e429721934b50.9710.1611518120000000.zst
Message: Process 9710 (vdpauinfo) of user 1000 dumped core.
Stack trace of thread 9710:
#0 0x00007f25e5fc1ce1 __GI_raise (libc.so.6 + 0x3bce1)
#1 0x00007f25e5fab537 __GI_abort (libc.so.6 + 0x25537)
#2 0x00007f25e6004768 __libc_message (libc.so.6 + 0x7e768)
#3 0x00007f25e600ba5a malloc_printerr (libc.so.6 + 0x85a5a)
#4 0x00007f25e600c90c malloc_consolidate (libc.so.6 + 0x8690c)
#5 0x00007f25e600d0c0 _int_free (libc.so.6 + 0x870c0)
#6 0x00007f25e496c1e8 glsl_type_singleton_decref (i965_dri.so + 0x63f1e8)
#7 0x00007f25e47ed7a3 _mesa_glsl_builtin_functions_decref (i965_dri.so + 0x4c07a3)
#8 0x00007f25e4589f45 _mesa_free_context_data (i965_dri.so + 0x25cf45)
#9 0x00007f25e4451454 intelDestroyContext (i965_dri.so + 0x124454)
#10 0x00007f25e44eb553 driDestroyContext (i965_dri.so + 0x1be553)
#11 0x00007f25e55776bf dri3_destroy_context (libGLX_mesa.so.0 + 0x466bf)
#12 0x00007f25e5561e49 glXDestroyContext (libGLX_mesa.so.0 + 0x30e49)
#13 0x00007f25e5798d60 _ZN3vdp17GLXManagedContext7destroyEv (libvdpau_va_gl.so.1 + 0x24d60)
#14 0x00007f25e57997ed _ZN3vdp17GLXManagedContextD4Ev (libvdpau_va_gl.so.1 + 0x257ed)
#15 0x00007f25e579972c _ZNSt8_Rb_treeIiSt4pairIKiN3vdp17GLXManagedContextEESt10_Select1stIS4_ESt4lessIiESaIS4_EE5clearEv (libvdpau_va_gl.so.1 + 0x2572c)
#16 0x00007f25e5781022 _ZN3vdp6Device8ResourceD2Ev (libvdpau_va_gl.so.1 + 0xd022)
#17 0x00007f25e578277a _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv (libvdpau_va_gl.so.1 + 0xe77a)
#18 0x00007f25e57a1189 _ZNSt8_Rb_treeIjSt4pairIKjSt10shared_ptrIN3vdp6Device8ResourceEEESt10_Select1stIS7_ESt4lessIjESaIS7_EED4Ev (libvdpau_va_gl.so.1 + 0x2d189)
#19 0x00007f25e5fc44d7 __run_exit_handlers (libc.so.6 + 0x3e4d7)
#20 0x00007f25e5fc467a __GI_exit (libc.so.6 + 0x3e67a)
#21 0x00007f25e5facd11 __libc_start_main (libc.so.6 + 0x26d11)
#22 0x00005569817d652a n/a (vdpauinfo + 0x252a)
I'm using these versions:
||/ Name Version Architektur Beschreibung
+++-=====================-============-============-==============================================================
ii libgl1-mesa-dri:amd64 20.3.3-1 amd64 free implementation of the OpenGL API -- DRI modules
ii libglx-mesa0:amd64 20.3.3-1 amd64 free implementation of the OpenGL API -- GLX vendor library
ii libvdpau-va-gl1:amd64 0.4.2-1+b1 amd64 VDPAU driver with OpenGL/VAAPI backend
ii vdpauinfo 1.4-2 amd64 Video Decode and Presentation API for Unix (vdpauinfo utility)
When I run
vdpauinfo
withVDPAU_DRIVER=va_gl
I get the attached crash.I'm using Debian bullseye with libvdpau-va-gl1 0.4.2-1+b1, libvdpau1 1.4-2, libva2 2.10.0-1 and mesa 20.2.6-1 using the nouveau drivers on an nvidia GPU.