xibosignage / xibo-linux

Xibo for Linux - Digital Signage Player
https://xibo.org.uk/xibo-for-linux
GNU Affero General Public License v3.0
77 stars 58 forks source link

Failed to initialize OpenGL with Gtk - Player freezes when video content schedule #203

Closed DanielBW1 closed 3 years ago

DanielBW1 commented 4 years ago

Describe the bug When a Layout containing a video is scheduled to the player, the player freezes.

To Reproduce I have a Layout I can provide for testing.

Expected behavior Should play a video and 3 images.

Logs Attached to this report are images of the errors being returned whilst the layout is scheduled.

Screenshots See above comment.

Environment (please complete the following information):

Stivius commented 4 years ago

@DanielBW1 could you ask for snap --version output?

DanielBW1 commented 4 years ago

The customer has installed Ubuntu 18.04 to proceed with their signage setup. This means I cannot provide the output from: snap --version.

DanielBW1 commented 4 years ago

a further note on this issue. The customer believes they may have chosen a "basic" installation without a multimedia player, which may explain the issue they were having.

PastryWuff commented 4 years ago

Hey there, I'm also having this issue and chose for a full install of Ubuntu 20.04 Does Xibo Player require Ubuntu 18.04?

dasgarner commented 4 years ago

We are fairly sure that this is a graphics driver / kernel issues rather than a version issue. If you're happy to provide the output of some commands, we can add it to our list.

uname -a
snap --version

Also the name/type of graphics card you have.

Thanks

dasgarner commented 4 years ago

I have the same log messages, although it causes a crash on my player not a freeze:

uname -a
Linux dan-XPS-13 4.15.0-1093-oem #103-Ubuntu SMP Wed Jul 15 09:45:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

snap --version
snap    2.45.2
snapd   2.45.2
series  16
ubuntu  18.04
kernel  4.15.0-1093-oem

I did not have a problem on an older kernel.

dasgarner commented 4 years ago

Please note this has also been reported on Community: https://community.xibo.org.uk/t/failed-to-initialize-opengl-with-gtk/23293/2

U03 commented 4 years ago

Same here on Ubuntu 20.04 LTS, both with 1.8-R5 (50) and 1.8-R5 (57).

Does not freeze, video is just not playing, at the end of scheduled time of the widget the layout continues to play and crashed at the end with various errors.

xibo@x83f:~$ uname -a
Linux x83f 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

xibo@x83f:~$ snap list
Name               Version                     Rev    Tracking         Publisher    Notes
core18             20200724                    1885   latest/stable    canonical✓   base
gnome-3-28-1804    3.28.0-17-gde3d74c.de3d74c  128    latest/stable    canonical✓   -
gtk-common-themes  0.1-36-gc75f853             1506   latest/stable    canonical✓   -
lxd                4.4                         16530  latest/stable/…  canonical✓   -
snapd              2.45.2                      8542   latest/stable    canonical✓   snapd
xibo-player        1.8-R5                      57     latest/edge      xibosignage  -

Not tied to layout, but still can find export of the layout here https://u03.fr/tmp/export-u03-mp4-h264-for-gitlab-issue.zip

Below 2 backtraces show when crashing:


(player:4146): GLib-CRITICAL **: 15:22:23.721: Source ID 15 was not found when attempting to remove it
free(): invalid pointer
 0# signalStacktraceHandler(int) in /snap/xibo-player/57/bin/player
 1# 0x00007FCEEA631FD0 in /lib/x86_64-linux-gnu/libc.so.6
 2# gsignal in /lib/x86_64-linux-gnu/libc.so.6
 3# abort in /lib/x86_64-linux-gnu/libc.so.6
 4# 0x00007FCEEA67C907 in /lib/x86_64-linux-gnu/libc.so.6
 5# 0x00007FCEEA68397A in /lib/x86_64-linux-gnu/libc.so.6
 6# free in /lib/x86_64-linux-gnu/libc.so.6
 7# g_error_free in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 8# g_clear_error in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 9# 0x00007FCEED6307E7 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
10# 0x00007FCEEC414250 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
11# g_signal_emit_valist in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
12# g_signal_emit in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
13# gtk_widget_unrealize in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
14# 0x00007FCEED6AC0AF in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
15# 0x00007FCEED7C8115 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
16# 0x00007FCEEC414250 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
17# g_signal_emit_valist in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
18# g_signal_emit in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
19# gtk_widget_unrealize in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
20# 0x00007FCEED6AC0AF in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
21# 0x00007FCEED7C8115 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
22# 0x00007FCEEC414250 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
23# g_signal_emit_valist in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
24# g_signal_emit in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
25# gtk_widget_unrealize in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
26# 0x00007FCEED6AC0AF in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
27# 0x00007FCEED7C8115 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
28# 0x00007FCEEC414346 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
29# g_signal_emit_valist in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
30# g_signal_emit in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
31# gtk_widget_unrealize in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
32# gtk_widget_unparent in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
33# 0x00007FCEED55EAB6 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
34# g_cclosure_marshal_VOID__OBJECTv in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
35# 0x00007FCEEC414346 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
36# g_signal_emit_valist in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
37# g_signal_emit in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
38# gtk_container_remove in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
39# OverlayContainer<BaseFixedContainerGtk<Xibo::OverlayContainer> >::setMainChild(std::shared_ptr<Xibo::Widget> const&) in /snap/xibo-player/57/bin/player
40# boost::detail::function::void_function_obj_invoker1<XiboApp::createLayoutManager()::{lambda(std::shared_ptr<Xibo::Widget> const&)#1}, void, std::shared_ptr<Xibo::Widget> const&>::invoke(boost::detail::function::function_buffer&, std::shared_ptr<Xibo::Widget> const&) in /snap/xibo-player/57/bin/player
41# boost::signals2::detail::signal_impl<void (std::shared_ptr<Xibo::Widget> const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (std::shared_ptr<Xibo::Widget> const&)>, boost::function<void (boost::signals2::connection const&, std::shared_ptr<Xibo::Widget> const&)>, boost::signals2::mutex>::operator()(std::shared_ptr<Xibo::Widget> const&) in /snap/xibo-player/57/bin/player
42# LayoutsManager::fetchMainLayout() in /snap/xibo-player/57/bin/player
43# boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() in /snap/xibo-player/57/bin/player
44# MainLayoutImpl::onRegionExpired(int) in /snap/xibo-player/57/bin/player
45# boost::signals2::detail::signal_impl<void (int), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (int)>, boost::function<void (boost::signals2::connection const&, int)>, boost::signals2::mutex>::operator()(int) in /snap/xibo-player/57/bin/player
46# boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() in /snap/xibo-player/57/bin/player
47# sigc::internal::slot_call0<Timer::startImpl<std::ratio<1l, 1l>, std::function<void ()> >(std::chrono::duration<long, std::ratio<1l, 1l> >, std::function<void ()>)::{lambda()#1}, bool>::call_it(sigc::internal::slot_rep*) in /snap/xibo-player/57/bin/player
48# 0x00007FCEEC6AED42 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
49# 0x00007FCEEC139D03 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
50# g_main_context_dispatch in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
51# 0x00007FCEEC139650 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
52# g_main_context_iteration in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
53# g_application_run in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
54# MainLoop::run(WindowGtk&) in /snap/xibo-player/57/bin/player
55# XiboApp::run() in /snap/xibo-player/57/bin/player
56# main in /snap/xibo-player/57/bin/player
57# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
58# _start in /snap/xibo-player/57/bin/player

[15:19:49.156] [3962] [trace]: [LayoutsManager] Layout 22 expired
 0# signalStacktraceHandler(int) in /snap/xibo-player/57/bin/player
 1# 0x00007F9EA6BD78A0 in /lib/x86_64-linux-gnu/libpthread.so.0
 2# g_slice_alloc in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 3# gtk_target_list_add in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 4# 0x00007F9EA8658A1C in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 5# gtk_text_view_set_buffer in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 6# 0x00007F9EA865BA2D in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 7# 0x00007F9EA865D020 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 8# 0x00007F9EA865D2E4 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 9# 0x00007F9EA8666FE9 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
10# 0x00007F9EA7316A7A in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
11# g_object_new_with_properties in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
12# g_object_new in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
13# 0x00007F9EA9EFCB01 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0
14# 0x00007F9EA9DD5D4D in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0
15# 0x00007F9EA9E035F0 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0
16# g_type_create_instance in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
17# 0x00007F9EA7316748 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
18# g_object_new_with_properties in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
19# g_object_new in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
20# WebViewGtk::WebViewGtk(int, int) in /snap/xibo-player/57/bin/player
21# WebViewFactory::createView(Uri const&, int, int, Xibo::WebView::Transparency) in /snap/xibo-player/57/bin/player
22# WebViewFactory::create(MediaOptions const&, int, int, bool) in /snap/xibo-player/57/bin/player
23# WebViewParser::createMedia(MediaOptions const&, boost::property_tree::basic_ptree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, int, int) in /snap/xibo-player/57/bin/player
24# MediaParser::mediaFrom(boost::property_tree::basic_ptree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, int, int, bool) in /snap/xibo-player/57/bin/player
25# RegionParser::addMedia(Xibo::Region&, boost::property_tree::basic_ptree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) in /snap/xibo-player/57/bin/player
26# RegionParser::regionFrom(boost::property_tree::basic_ptree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) in /snap/xibo-player/57/bin/player
27# MainLayoutParser::addRegions(Xibo::MainLayout&, boost::property_tree::basic_ptree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) in /snap/xibo-player/57/bin/player
28# MainLayoutParser::layoutFrom(boost::property_tree::basic_ptree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) in /snap/xibo-player/57/bin/player
29# MainLayoutParser::parseBy(int) in /snap/xibo-player/57/bin/player
30# std::unique_ptr<Xibo::MainLayout, std::default_delete<Xibo::MainLayout> > LayoutsManager::createLayout<MainLayoutParser>(int) in /snap/xibo-player/57/bin/player
31# LayoutsManager::fetchMainLayout() in /snap/xibo-player/57/bin/player
32# boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() in /snap/xibo-player/57/bin/player
33# MainLayoutImpl::onRegionExpired(int) in /snap/xibo-player/57/bin/player
34# boost::signals2::detail::signal_impl<void (int), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (int)>, boost::function<void (boost::signals2::connection const&, int)>, boost::signals2::mutex>::operator()(int) in /snap/xibo-player/57/bin/player
35# boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() in /snap/xibo-player/57/bin/player
36# sigc::internal::slot_call0<Timer::startImpl<std::ratio<1l, 1l>, std::function<void ()> >(std::chrono::duration<long, std::ratio<1l, 1l> >, std::function<void ()>)::{lambda()#1}, bool>::call_it(sigc::internal::slot_rep*) in /snap/xibo-player/57/bin/player
37# 0x00007F9EA75ABD42 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
38# 0x00007F9EA7036D03 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
39# g_main_context_dispatch in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
40# 0x00007F9EA7036650 in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
41# g_main_context_iteration in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
42# g_application_run in /snap/xibo-player/57/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
43# MainLoop::run(WindowGtk&) in /snap/xibo-player/57/bin/player
44# XiboApp::run() in /snap/xibo-player/57/bin/player
45# main in /snap/xibo-player/57/bin/player
46# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
47# _start in /snap/xibo-player/57/bin/player
glebmiller commented 4 years ago

hi, I think I have the same problem.

uname -a
Linux nvs 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
snap --version
snap    2.45.3.1
snapd   2.45.3.1
series  16
ubuntu  20.04
kernel  5.4.0-42-generic
[11:58:52.562] [3394] [error]: [GstMediaPlayer] Error from element sink: Failed to initialize OpenGL with Gtk

(player:3394): GLib-CRITICAL **: 11:59:25.702: Source ID 15 was not found when attempting to remove it
 0# signalStacktraceHandler(int) in /snap/xibo-player/50/bin/player
 1# 0x00007FD2E3B7F8A0 in /lib/x86_64-linux-gnu/libpthread.so.0
 2# free in /lib/x86_64-linux-gnu/libc.so.6
 3# g_error_free in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 4# g_clear_error in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 5# 0x00007FD2E54D57E7 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 6# 0x00007FD2E42B9250 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 7# g_signal_emit_valist in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 8# g_signal_emit in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 9# gtk_widget_unrealize in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
10# 0x00007FD2E55510AF in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
11# 0x00007FD2E566D115 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
12# 0x00007FD2E42B9250 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
13# g_signal_emit_valist in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
14# g_signal_emit in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
15# gtk_widget_unrealize in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
16# 0x00007FD2E55510AF in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
17# 0x00007FD2E566D115 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
18# 0x00007FD2E42B9250 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
19# g_signal_emit_valist in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
20# g_signal_emit in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
21# gtk_widget_unrealize in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
22# 0x00007FD2E55510AF in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
23# 0x00007FD2E566D115 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
24# 0x00007FD2E42B9346 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
25# g_signal_emit_valist in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
26# g_signal_emit in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
27# gtk_widget_unrealize in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
28# gtk_widget_unparent in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
29# 0x00007FD2E5403AB6 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
30# g_cclosure_marshal_VOID__OBJECTv in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
31# 0x00007FD2E42B9346 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
32# g_signal_emit_valist in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
33# g_signal_emit in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
34# gtk_container_remove in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
35# OverlayContainer<BaseFixedContainerGtk<Xibo::OverlayContainer> >::setMainChild(std::shared_ptr<Xibo::Widget> const&) in /snap/xibo-player/50/bin/player
36# boost::detail::function::void_function_obj_invoker1<XiboApp::createLayoutManager()::{lambda(std::shared_ptr<Xibo::Widget> const&)#1}, void, std::shared_ptr<Xibo::Widget> const&>::invoke(boost::detail::function::function_buffer&, std::shared_ptr<Xibo::Widget> const&) in /snap/xibo-player/50/bin/player
37# boost::signals2::detail::signal_impl<void (std::shared_ptr<Xibo::Widget> const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (std::shared_ptr<Xibo::Widget> const&)>, boost::function<void (boost::signals2::connection const&, std::shared_ptr<Xibo::Widget> const&)>, boost::signals2::mutex>::operator()(std::shared_ptr<Xibo::Widget> const&) in /snap/xibo-player/50/bin/player
38# LayoutsManager::fetchMainLayout() in /snap/xibo-player/50/bin/player
39# boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() in /snap/xibo-player/50/bin/player
40# MainLayoutImpl::onRegionExpired(int) in /snap/xibo-player/50/bin/player
41# boost::signals2::detail::signal_impl<void (int), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (int)>, boost::function<void (boost::signals2::connection const&, int)>, boost::signals2::mutex>::operator()(int) in /snap/xibo-player/50/bin/player
42# boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() in /snap/xibo-player/50/bin/player
43# sigc::internal::slot_call0<Timer::startImpl<std::ratio<1l, 1l>, std::function<void ()> >(std::chrono::duration<long, std::ratio<1l, 1l> >, std::function<void ()>)::{lambda()#1}, bool>::call_it(sigc::internal::slot_rep*) in /snap/xibo-player/50/bin/player
44# 0x00007FD2E4553D42 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
45# 0x00007FD2E3FDED03 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
46# g_main_context_dispatch in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
47# 0x00007FD2E3FDE650 in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
48# g_main_context_iteration in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
49# g_application_run in /snap/xibo-player/50/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
50# MainLoop::run(WindowGtk&) in /snap/xibo-player/50/bin/player
51# XiboApp::run() in /snap/xibo-player/50/bin/player
52# main in /snap/xibo-player/50/bin/player
53# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
54# _start in /snap/xibo-player/50/bin/player

Player exited with code 11
eniac111 commented 4 years ago

I'm experiencing the exact same problem with the last Xubuntu 20.04 and OpenSuse Tumbleweed.

dasgarner commented 4 years ago

This problem has been referred to Snapcraft for input: https://forum.snapcraft.io/t/failed-to-initialize-opengl-with-gtk/19268

eniac111 commented 4 years ago

If you are open for alternative build and deployment system I'm in for contribution!

minolone commented 4 years ago

Hi, I have the same problem, player freezes while playing video, solution install edge version.

snap refresh xibo-player --version=edge

The player works fine on this version

dasgarner commented 4 years ago

A brief update on this from our side - we think snapd has been updated and solved the underlying issue.

I have the exact same version of the player and test application, which didn't work before and now does.

snap    2.45.2
snapd   2.45.2
series  16
ubuntu  18.04
kernel  4.15.0-1093-oem

vs

snap    2.47
snapd   2.47
series  16
ubuntu  18.04
kernel  4.15.0-1097-oem
dasgarner commented 4 years ago

If you are open for alternative build and deployment system I'm in for contribution!

Thanks for the offer - we have been exploring AppImage for a number of weeks and hope to have something to try out in the next few days.

dasgarner commented 4 years ago

We have an AppImage available for testing, details here: https://community.xibo.org.uk/t/request-for-testing-appimage-packaging-option/23820

Stivius commented 3 years ago

Can we close since the snapd has been updated and fixed this issue?

dasgarner commented 3 years ago

Yes I think we can close - snapd 2.47 solved the issue.