~scoopta/wlrobs#8: 
wlrobs bug report

Hi,

I tried to use wayland plugin, but it crashes. Can I provide any info to help with the issue? I use fedora 30/gnome/wayland. The crash ahppend on downloaded plugin and on locally build as well.

Thread 1 "obs" received signal SIGSEGV, Segmentation fault. 0x00007ffff51dbe8e in __strcmp_sse2_unaligned () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff51dbe8e in __strcmp_sse2_unaligned () at /lib64/libc.so.6 #1 0x00007fffa73cfb57 in create () at /home/przemo/.config/obs- studio/plugins/wlrobs/bin/64bit/libwlrobs.so #2 0x00007ffff614f7c7 in obs_source_create_internal () at /lib64/libobs.so.0 #3 0x00005555556cd32f in AddNew(QWidget*, char const*, char const*, bool, OBSRef<obs_source*, &obs_source_addref, &obs_source_release>&) () #4 0x00005555556cd61f in OBSBasicSourceSelect::on_buttonBox_accepted() () #5 0x00005555555f3ef5 in OBSBasicSourceSelect::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () #6 0x00005555555f7c83 in OBSBasicSourceSelect::qt_metacall(QMetaObject::Call, int, void**) () #7 0x00007ffff591ae3c in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5 #8 0x00007ffff64c3076 in () at /lib64/libQt5Widgets.so.5 #9 0x00007ffff591ad7b in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5 #10 0x00007ffff641c156 in QAbstractButton::clicked(bool) () at /lib64/libQt5Widgets.so.5 #11 0x00007ffff641c37e in () at /lib64/libQt5Widgets.so.5 #12 0x00007ffff641d7c3 in () at /lib64/libQt5Widgets.so.5 #13 0x00007ffff641d985 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5 #14 0x00007ffff636a16e in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5 #15 0x00007ffff6327af6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #16 0x00007ffff63310d3 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #17 0x00007ffff58f0ae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #18 0x00007ffff63301b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) () at /lib64/libQt5Widgets.so.5 #19 0x00007ffff6385ead in () at /lib64/libQt5Widgets.so.5 #20 0x00007ffff6388d3c in () at /lib64/libQt5Widgets.so.5 #21 0x00007ffff6327af6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #22 0x00007ffff6330e80 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #23 0x00007ffff58f0ae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #24 0x00007ffff5cc2783 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate ::MouseEvent*) () at /lib64/libQt5Gui.so.5 #25 0x00007ffff5cc3fab in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterface Private::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5 #26 0x00007ffff5ca04fb in QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::Proce ssEventsFlag) () at /lib64/libQt5Gui.so.5 #27 0x00007fffe2691bee in () at /lib64/libQt5XcbQpa.so.5 #28 0x00007ffff48c6ecd in g_main_context_dispatch () at /lib64/libglib- 2.0.so.0 #29 0x00007ffff48c7260 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #30 0x00007ffff48c7303 in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #31 0x00007ffff5945bd5 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFla g) () at /lib64/libQt5Core.so.5 #32 0x00007ffff58ef9eb in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib64/libQt5Core.so.5 #33 0x00007ffff652b10d in QDialog::exec() () at /lib64/libQt5Widgets.so.5 #34 0x000055555561e36c in OBSBasic::AddSource(char const*) () #35 0x000055555561e46a in OBSBasic::AddSourceFromAction() ()

-- Kind regards, Przemo Firszt

Status
RESOLVED INVALID
Submitter
Przemo Firszt
Assigned to
No-one
Submitted
5 years ago
Updated
4 years ago
Labels
No labels applied.

~cloudninja 5 years ago

You say you're using GNOME, but wlrobs was written for wlroots based compositors (sway, wayfire, etc.) so it won't work on GNOME. It requires features wlroots allows for that GNOME doesn't support, unfortunately.

~scoopta REPORTED INVALID 5 years ago

As cloud pointed out you cannot use wlrobs under gnome. wlrobs does screen capture using the wlr-screecopy protocol which mutter, the gnome compositor, does not implement. Without support for that protocol the only change I could make to remedy this would be to print a nice pretty error message and make the plugin return black frames as a no op so that it doesn't crash OBS. Making the plugin work under gnome currently isn't possible.

~scoopta 5 years ago

Also, next time could you please put this in a code block. The numbers in front of every line caused sr.ht to reference every single issue in this bug tracker.

~pedrohlc referenced this from #22 4 years ago

Register here or Log in to comment, or comment via email.