Bug 482328 - xwayland video bridge - segmentation fault
Summary: xwayland video bridge - segmentation fault
Status: RESOLVED UNMAINTAINED
Alias: None
Product: XWaylandVideoBridge
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-03 17:28 UTC by tonton
Modified: 2025-03-17 15:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tonton 2024-03-03 17:28:27 UTC
SUMMARY
a recent update seems to have fixed the previous packaging error, but i now have a Segmentation fault trying to launch xwaylandvideobridge from console (v0.4.0)
>>> Segmentation fault
no additional info, i didn't find a debug/verbose mode for it


STEPS TO REPRODUCE
Launch xwaylandvideobridge via terminal or discord (or other screen sharing apps)

OBSERVED RESULT
Nothing happens 

EXPECTED RESULT
xwaylandvideobridge prompt should pop up to let the user share a window/screen

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 38.4 Gio of RAM
Graphics Processor: REMBRANDT
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Strix G513RW_G513RW
System Version: 1.0

ADDITIONAL INFORMATION
None
Comment 1 David Edmundson 2024-03-04 09:51:21 UTC
Do you have any sort of backtrace?

Can you run `gdb xwaylandvideobridge `


then when it segfaults type "bt" to get some output
Comment 2 tonton 2024-03-04 22:17:22 UTC
(In reply to David Edmundson from comment #1)
> Do you have any sort of backtrace?
> 
> Can you run `gdb xwaylandvideobridge `
> 
> 
> then when it segfaults type "bt" to get some output

Here's the return of the gdb command

>>>GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
>>>Copyright (C) 2022 Free Software Foundation, Inc.
>>>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>>>This is free software: you are free to change and redistribute it.
>>>There is NO WARRANTY, to the extent permitted by law.
>>>Type "show copying" and "show warranty" for details.
>>>This GDB was configured as "x86_64-linux-gnu".
>>>Type "show configuration" for configuration details.
>>>For bug reporting instructions, please see:
>>><https://www.gnu.org/software/gdb/bugs/>.
>>>Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

>>>For help, type "help".
>>>Type "apropos word" to search for commands related to "word"...
>>>Reading symbols from xwaylandvideobridge...

>>>This GDB supports auto-downloading debuginfo from the following URLs:
>>>https://debuginfod.neon.kde.org/:
>>>Enable debuginfod for this session? (y or [n]) y
>>>Debuginfod has been enabled.
>>>To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
>>>(No debugging symbols found in xwaylandvideobridge)
>>>(gdb) 

And the bt returns "no stack"
I may be missing something here, sorry, not familiar with this.
Comment 3 tonton 2024-03-04 22:27:17 UTC
Tried to get extra infos with coredump, hopes it can help : 


GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/xwaylandvideobridge...

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.neon.kde.org/:
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
(No debugging symbols found in /usr/bin/xwaylandvideobridge)

warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing
[New LWP 6699]
[New LWP 6685]
[New LWP 6687]
[New LWP 6691]
[New LWP 6693]
[New LWP 6684]
[New LWP 6692]
[New LWP 6682]
[New LWP 6698]
[New LWP 6700]
[New LWP 6686]
[New LWP 6695]
[New LWP 6688]
[New LWP 6694]
[New LWP 6683]

warning: Section `.reg-xstate/6699' in core file too small.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `xwaylandvideobridge'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Section `.reg-xstate/6699' in core file too small.
#0  0x00007f94953ccc54 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/libEGL_mesa.so.0
[Current thread is 1 (Thread 0x7f945affd640 (LWP 6699))]
(gdb) bt
#0  0x00007f94953ccc54 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#1  0x00007f9484095dfa in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f948409aacf in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f94953e23e3 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#4  0x00007f94953e403d in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#5  0x00007f94953e5528 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#6  0x00007f9484094ba2 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007f9484094d35 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007f948409680b in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#9  0x00007f9484269222 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#10 0x00007f9484269938 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#11 0x00007f94842347b8 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#12 0x00007f94844b4899 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#13 0x00007f94844df6d8 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#14 0x00007f9484434c54 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#15 0x00007f94840a5259 in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#16 0x00007f94841b02fb in ?? () from /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#17 0x00007f949bc94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#18 0x00007f949bd26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)
Comment 4 Bug Janitor Service 2024-03-19 03:46:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Nate Graham 2025-03-17 15:48:23 UTC
This project is end-of-life and has been archived; closing all open bug reports. Thanks for using it, folks!