[staging] gst-plugins-bad fails tests on aarch64, armhf, i686

  • Open
  • quality assurance status badge
Details
3 participants
  • Guillaume Le Vaillant
  • Marius Bakke
  • Michael Rohleder
Owner
unassigned
Submitted by
Marius Bakke
Severity
normal
M
M
Marius Bakke wrote on 20 Nov 2020 22:16
(address . bug-guix@gnu.org)
87h7pjrap8.fsf@gnu.org
Hello Guix,

gst-plugins-bad fails its test suite on anything other than x86_64-linux.

Upstream issues:


(I believe the i686 issue affects armhf too)

This issue is currently holding up merging of 'staging' because
gst-plugins-bad is a dependency of 'cheese', which is a dependency of
'gnome'.

To move on with the merge, I wonder whether to:

1. Disable the affected tests, as upstream does not seem terribly
concerned.
2. Drop 'cheese' from 'gnome'.

I'm leaning towards 2, as the AArch64 failure looks kind of serious.
Unfortunately 'cheese' does seem to require gst-plugins-bad.

Thoughts?
-----BEGIN PGP SIGNATURE-----

iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl+4MhQPHG1hcml1c0Bn
bnUub3JnAAoJEKKgbfKjOlT6FT0IAMBPkSU2Q2fIEIh86iD4+HwC4Rft8fMt5TtI
h1G9ygANTnJb3KHh+v6GRMW60aaxVqeXBhMM28VjsBIpJTdj4yx08y7KHCurr2Qt
yxbWkqwIvwWGJrBP9/LzlkWyGdcVYS8T3B4pPAnuMhXInWVdNMGAkSWGmgp8gGZh
MZJ8t7UqQd9Z5/Uxx/DPF1MpgUsiVTMaKnY5iuL6F1MG5GeKlZtRF7GvBMh0KlZ2
VX9X1T0nV6LTNGji2Ec3DY4BjjOAgTWLdQXgWA+B3rMCbYg0qqWP2LOWPZY+amOJ
9d2Nr8wCv96wJ3FI5ogjKEKd8uiaeA2a17MvvMZks88NH6SoymY=
=usYZ
-----END PGP SIGNATURE-----

G
G
Guillaume Le Vaillant wrote on 21 Nov 2020 10:51
(name . Marius Bakke)(address . marius@gnu.org)(address . 44769@debbugs.gnu.org)
87pn47qbpm.fsf@yamatai
Marius Bakke <marius@gnu.org> skribis:

Toggle quote (26 lines)
> Hello Guix,
>
> gst-plugins-bad fails its test suite on anything other than x86_64-linux.
>
> Upstream issues:
>
> i686: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1463
> aarch64: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1464
>
> (I believe the i686 issue affects armhf too)
>
> This issue is currently holding up merging of 'staging' because
> gst-plugins-bad is a dependency of 'cheese', which is a dependency of
> 'gnome'.
>
> To move on with the merge, I wonder whether to:
>
> 1. Disable the affected tests, as upstream does not seem terribly
> concerned.
> 2. Drop 'cheese' from 'gnome'.
>
> I'm leaning towards 2, as the AArch64 failure looks kind of serious.
> Unfortunately 'cheese' does seem to require gst-plugins-bad.
>
> Thoughts?

Hi,

I tested a few programs on 'staging' on x86-64 and I got some GStreamer
related issues. However I don't know if there is a link with the failing
tests on other architectures.

I wasn't able to play anything with the 'gst-play-1.0' program. It
always errors out with the message:
"Failed to create 'playbin' element. Check your GStreamer installation."

The 'clementine' program crashes because of a segmentation fault inside
a GStreamer function when trying to play a music file.

Toggle snippet (46 lines)
Thread 1 ".clementine-rea" received signal SIGSEGV, Segmentation fault.
0x000000000092aafe in CheckedGConnect(void*, char const*, void (*)(), void*, int) ()
(gdb) backtrace
#0 0x000000000092aafe in CheckedGConnect(void*, char const*, void (*)(), void*, int) ()
#1 0x00000000006c73e5 in GstEnginePipeline::ReplaceDecodeBin(QUrl const&) ()
#2 0x00000000006cb7ac in GstEnginePipeline::InitFromUrl(QUrl const&, long long) ()
#3 0x00000000006c1fde in GstEngine::CreatePipeline(QUrl const&, long long) ()
#4 0x00000000006c26d8 in GstEngine::Load(QUrl const&, QFlags<Engine::TrackChangeType>, bool, unsigned long long, long long) ()
#5 0x00000000006bbb08 in Engine::Base::Play(QUrl const&, QFlags<Engine::TrackChangeType>, bool, unsigned long long, long long) ()
#6 0x000000000066f318 in Player::PlayAt(int, QFlags<Engine::TrackChangeType>, bool) ()
#7 0x00000000007ff958 in MainWindow::PlaylistDoubleClick(QModelIndex const&) ()
#8 0x00000000008eb62a in MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#9 0x00007ffff742ce73 in void doActivate<false>(QObject*, int, void**) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Core.so.5
#10 0x00007ffff615fdd5 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#11 0x00007ffff61ce3c8 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#12 0x00007ffff5f60d69 in QWidget::event(QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#13 0x00007ffff60032de in QFrame::event(QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#14 0x00007ffff616b18c in QAbstractItemView::viewportEvent(QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#15 0x00007ffff61cfe1c in QTreeView::viewportEvent(QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#16 0x00007ffff73f3e1d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Core.so.5
#17 0x00007ffff5f21bd2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#18 0x00007ffff5f293f7 in QApplication::notify(QObject*, QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#19 0x00007ffff73f4088 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Core.so.5
#20 0x00007ffff5f27e9c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#21 0x00007ffff5f7a1c6 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#22 0x00007ffff5f7cd2e in QWidgetWindow::event(QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#23 0x00007ffff5f21bfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#24 0x00007ffff5f2892f in QApplication::notify(QObject*, QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Widgets.so.5
#25 0x00007ffff73f4088 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Core.so.5
#26 0x00007ffff5829d26 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Gui.so.5
#27 0x00007ffff582b2b5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Gui.so.5
#28 0x00007ffff58054bb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Gui.so.5
#29 0x00007fffef57452a in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5XcbQpa.so.5
#30 0x00007ffff6b99eda in g_main_context_dispatch () from /gnu/store/l55zrgjpzk52f33g1z9l2333qzk4735k-glib-2.62.6/lib/libglib-2.0.so.0
#31 0x00007ffff6b9a0d8 in g_main_context_iterate.isra () from /gnu/store/l55zrgjpzk52f33g1z9l2333qzk4735k-glib-2.62.6/lib/libglib-2.0.so.0
#32 0x00007ffff6b9a15c in g_main_context_iteration () from /gnu/store/l55zrgjpzk52f33g1z9l2333qzk4735k-glib-2.62.6/lib/libglib-2.0.so.0
#33 0x00007ffff744fcdc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Core.so.5
#34 0x00007ffff73f2a4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Core.so.5
#35 0x00007ffff73fbb00 in QCoreApplication::exec() () from /gnu/store/p6gcdpw824izd2x7aq55w4167j9bymjs-qtbase-5.14.2/lib/libQt5Core.so.5
#36 0x000000000064474c in main ()

Can someone reproduce these issues?
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX7jjNQ8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j9zagD9HHojfd09UGbtiA0Vn2hS51Zh1uvrraOH7gNE
bjtE1q0BAKPHHvAnifcWJ35uTiJE+uRM4hZI4DvFKVXuY/YTPNna
=S614
-----END PGP SIGNATURE-----

M
M
Michael Rohleder wrote on 21 Nov 2020 17:25
(name . Marius Bakke)(address . marius@gnu.org)(address . 44769@debbugs.gnu.org)
877dqellsr.fsf@rohleder.de
Marius Bakke <marius@gnu.org> writes:
Toggle quote (11 lines)
> To move on with the merge, I wonder whether to:
>
> 1. Disable the affected tests, as upstream does not seem terribly
> concerned.
> 2. Drop 'cheese' from 'gnome'.
>
> I'm leaning towards 2, as the AArch64 failure looks kind of serious.
> Unfortunately 'cheese' does seem to require gst-plugins-bad.
>
> Thoughts?

+1

I don't think cheese is essential or important for a running gnome
desktop.

--
Vergesslichkeit ist eine Form der Freiheit.
Khalil Gibran
-----BEGIN PGP SIGNATURE-----

iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl+5P2QRHG1pa2VAcm9o
bGVkZXIuZGUACgkQfHr/vv7yyyXPUwf/WM21xU4vKfdfvnpI7HsRWIEBF8RFOIpr
ei0qSypNgtZdd6pBC3lKXXyaVxFhWGfuQavQwHH2oRdSIaljr/f3CrH0kqXSbw2w
jXIUY/nf/fC/eLbZalS97UP74/l/CgrzBavXdws4FxPoDB3itqKuJh1P9T7uCqcu
ZXxOyQhNUFaosOo/uWeGC0SBIxSzHlAFwvj68Nsj1bxixvj3ZosugovIDb7G+eL9
hCGuGR4iQ4HmWTAwmff1R4HAbKm3A30LsxlyLHkAwo23nvbZILp8oiHYxRwHC9zL
PY5iOWe4Wh6wLiruwnAi1BTLdEcLIf9ZGCo+amFDfuegsFOyfmkKWA==
=QIpi
-----END PGP SIGNATURE-----

G
G
Guillaume Le Vaillant wrote on 23 Nov 2020 10:17
(name . Marius Bakke)(address . marius@gnu.org)(address . 44769@debbugs.gnu.org)
877dqcph2z.fsf@yamatai
Guillaume Le Vaillant <glv@posteo.net> skribis:

Toggle quote (45 lines)
> Marius Bakke <marius@gnu.org> skribis:
>
>> Hello Guix,
>>
>> gst-plugins-bad fails its test suite on anything other than x86_64-linux.
>>
>> Upstream issues:
>>
>> i686: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1463
>> aarch64: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1464
>>
>> (I believe the i686 issue affects armhf too)
>>
>> This issue is currently holding up merging of 'staging' because
>> gst-plugins-bad is a dependency of 'cheese', which is a dependency of
>> 'gnome'.
>>
>> To move on with the merge, I wonder whether to:
>>
>> 1. Disable the affected tests, as upstream does not seem terribly
>> concerned.
>> 2. Drop 'cheese' from 'gnome'.
>>
>> I'm leaning towards 2, as the AArch64 failure looks kind of serious.
>> Unfortunately 'cheese' does seem to require gst-plugins-bad.
>>
>> Thoughts?
>
> Hi,
>
> I tested a few programs on 'staging' on x86-64 and I got some GStreamer
> related issues. However I don't know if there is a link with the failing
> tests on other architectures.
>
> I wasn't able to play anything with the 'gst-play-1.0' program. It
> always errors out with the message:
> "Failed to create 'playbin' element. Check your GStreamer installation."
>
> The 'clementine' program crashes because of a segmentation fault inside
> a GStreamer function when trying to play a music file.
>
> [...]
>
> Can someone reproduce these issues?

Hi,

After trying to find where the problem could come from, GStreamer
started working fine again, but I'm not sure why. I suspect there was
some bad local state in my user environment that I reset while hacking
around, or something like that...

Anyway, concerning 'cheese', I think not installing it by default with
Gnome would not be a problem. It's not an essential core component of
Gnome and users who want it will still be able to install it trivially.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX7t+RA8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j+/pwD/WufwYJMYuKMs6SnvVaGSO/PY861kohePyABm
EEghuA8A/RZ8KpPoT4aSiItECxNQlZ7hQF9Gwue5i3G2Azb9h2RG
=FAjQ
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 23 Nov 2020 23:42
(name . Guillaume Le Vaillant)(address . glv@posteo.net)(address . 44769@debbugs.gnu.org)
87lferpuej.fsf@gnu.org
Guillaume Le Vaillant <glv@posteo.net> skriver:

Toggle quote (5 lines)
> After trying to find where the problem could come from, GStreamer
> started working fine again, but I'm not sure why. I suspect there was
> some bad local state in my user environment that I reset while hacking
> around, or something like that...

Oh, that's good news.

Toggle quote (4 lines)
> Anyway, concerning 'cheese', I think not installing it by default with
> Gnome would not be a problem. It's not an essential core component of
> Gnome and users who want it will still be able to install it trivially.

Cheese is popular among kids, so it's nice to have it out of the box.

But not essential, obviously. Unless something else crops up I will
remove Cheese from GNOME and merge 'staging' in a day or two!
-----BEGIN PGP SIGNATURE-----

iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl+8OtQPHG1hcml1c0Bn
bnUub3JnAAoJEKKgbfKjOlT6vi0H/jyTH7YGBlILsFN+QHQP/MejrhCi8DxppxhV
hlBfQEvTh+lrqOCBxahAIjcQ1s9HYmpONh5CQ7R+NuUcqICdX5nvgA4y74g92PiZ
Z6ipzNuY7fM6wkDYiNFIxz90aIQPYw0pytfgt1KR2vFcTfjhx8OjtaVZjWZLIKnB
ggxncajcCjqqOjp77AGfLy7sXAeCFVD0su1V8Ydcoc0i6HvetPQEwhrA7oiWC97N
fAxuxaRG6w082G2ez1PnwIarBNW7h3E0sW/vyQ8BmJhHNq7uPfDDn+cRP0jRRRlV
u8PcWd84khXeJwYHvtf9caUMC144EAydueRCunr/5KLyfzasqyI=
=6S7r
-----END PGP SIGNATURE-----

?