Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault in wl_list_remove #721

Open
septatrix opened this issue Jul 20, 2024 · 0 comments
Open

Segfault in wl_list_remove #721

septatrix opened this issue Jul 20, 2024 · 0 comments

Comments

@septatrix
Copy link
Contributor

Core was generated by `cog --platform=wl --webprocess-failure=restart --media-playback-requires-user-g'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f47997f348f in wl_list_remove (elm=0x562c38bdb7a8) at ../src/wayland-util.c:56
Downloading source file /usr/src/debug/wayland-1.22.0-3.fc40.x86_64/redhat-linux-build/../src/wayland-util.c
56              elm->prev->next = elm->next;                                                                                                                                            
[Current thread is 1 (Thread 0x7f4796b89bc0 (LWP 728))]
(gdb) bt
#0  0x00007f47997f348f in wl_list_remove (elm=0x562c38bdb7a8) at ../src/wayland-util.c:56
#1  0x00007f479a7384a1 in linux_dmabuf_buffer_destroy (buffer=<optimized out>) at ../src/linux-dmabuf/linux-dmabuf.cpp:422
#2  destroy_params (params_resource=<optimized out>) at ../src/linux-dmabuf/linux-dmabuf.cpp:310
#3  0x00007f47997b6701 in destroy_resource (element=0x562c38c114e0, data=data@entry=0x0, flags=0) at ../src/wayland-server.c:732
#4  0x00007f47997b8716 in wl_resource_destroy (resource=<optimized out>) at ../src/wayland-server.c:749
#5  0x00007f479a0e6056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#6  0x00007f479a0e26a0 in ffi_call_int (cif=cif@entry=0x7ffd7b33f7b0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0)
    at ../src/x86/ffi64.c:673
#7  0x00007f479a0e54ee in ffi_call (cif=cif@entry=0x7ffd7b33f7b0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffd7b33f880) at ../src/x86/ffi64.c:710
#8  0x00007f47997b37e3 in wl_closure_invoke (closure=closure@entry=0x562c38bf02a0, target=<optimized out>, target@entry=0x562c38c114e0, opcode=opcode@entry=0, data=<optimized out>, 
    data@entry=0x562c38a5d1c0, flags=2) at ../src/connection.c:1025
#9  0x00007f47997b8080 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x562c38a5d1c0) at ../src/wayland-server.c:438
#10 0x00007f47997b6852 in wl_event_loop_dispatch (loop=0x562c38a21320, timeout=<optimized out>) at ../src/event-loop.c:1027
#11 0x00007f479a7368bb in operator() (__closure=0x0, base=0x562c38a217d0) at ../src/ws.cpp:77
#12 _FUN () at ../src/ws.cpp:86
#13 0x00007f479bf3fe8c in g_main_dispatch (context=0x562c38955c40) at ../glib/gmain.c:3344
#14 g_main_context_dispatch_unlocked (context=0x562c38955c40) at ../glib/gmain.c:4152
#15 0x00007f479bfa1c98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x562c38955c40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/gmain.c:4217
#16 0x00007f479bf41383 in g_main_context_iteration (context=context@entry=0x562c38955c40, may_block=may_block@entry=1) at ../glib/gmain.c:4282
#17 0x00007f479c1130fd in g_application_run (application=0x562c3895af70, argc=<optimized out>, argv=0x7ffd7b3400b8) at ../gio/gapplication.c:2712
#18 0x0000562c22bd6d17 in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant