facontidavide / PlotJuggler

The Time Series Visualization Tool that you deserve.
https://www.plotjuggler.io
Mozilla Public License 2.0
4.45k stars 622 forks source link

Linux snap version gives "Could not open network socket" #429

Open bertaveira opened 3 years ago

bertaveira commented 3 years ago

I have tried to run the plotjuggler app from the snap store both in Ubuntu 20.04 and Pop!_OS 20.10 and they are both failing at launching the app. Maybe there is something I am missing in my installations.

Here is the error displayed in the terminal:

$ plotjuggler
Qt: Session management error: Could not open network socket
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.131\" (uid=1000 pid=5312 comm=\"/snap/plotjuggler/11/opt/ros/melodic/lib/plotjuggl\" label=\"snap.plotjuggler.plotjuggler (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=747 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.131\" (uid=1000 pid=5312 comm=\"/snap/plotjuggler/11/opt/ros/melodic/lib/plotjuggl\" label=\"snap.plotjuggler.plotjuggler (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=747 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"
plotjuggler: ../src/gallium/drivers/svga/svga_screen.c:1082: svga_screen_create: Assertion `svgascreen->max_const_buffers <= SVGA_MAX_CONST_BUFS' failed.
Stack trace (most recent call last):
#26   Object "", at 0xffffffffffffffff, in 
#25   Object "/snap/plotjuggler/11/opt/ros/melodic/lib/plotjuggler/plotjuggler", at 0x55f52f25d259, in _start
#24   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5287561bf6, in __libc_start_main
#23   Source "/root/parts/plotjuggler/build/src/plotjuggler/src/main.cpp", line 199, in main [0x55f52f25c475]
#22   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f52896e2aa5, in QWidget::setVisible(bool)
#21   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f52896d61ac, in QWidget::create(unsigned long long, bool, bool)
#20   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f52896d5aec, in QWidgetPrivate::create_sys(unsigned long long, bool, bool)
#19   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7f5288cee2fd, in QWindowPrivate::create(bool, unsigned long long)
#18   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5", at 0x7f5281c1cf3a, in QXcbIntegration::createPlatformWindow(QWindow*) const
#17   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5", at 0x7f5281c32875, in QXcbWindow::create()
#16   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so", at 0x7f527cb7642f, in qt_plugin_instance
#15   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so", at 0x7f527cb7a47c, in qt_plugin_instance
#14   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so", at 0x7f527cb7a0d7, in qt_plugin_instance
#13   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libGLX.so.0", at 0x7f52855ef650, in glXChooseFBConfig
#12   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0", at 0x7f5275b51f21, in glIsTextureEXT
#11   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0", at 0x7f5275b507c1, in glIsTextureEXT
#10   Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0", at 0x7f5275b54ef5, in MesaGLInteropGLXExportObject
#9    Object "/snap/plotjuggler/11/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0", at 0x7f5275b689b6, in glAreTexturesResidentEXT
#8    Object "/snap/plotjuggler/11/kf5/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so", at 0x7f526ef73157, in __driDriverGetExtensions_virtio_gpu
#7    Object "/snap/plotjuggler/11/kf5/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so", at 0x7f526ef75e39, in __driDriverGetExtensions_virtio_gpu
#6    Object "/snap/plotjuggler/11/kf5/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so", at 0x7f526f019860, in __driDriverGetExtensions_virtio_gpu
#5    Object "/snap/plotjuggler/11/kf5/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so", at 0x7f526ef71a82, in 
#4    Object "/snap/plotjuggler/11/kf5/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so", at 0x7f526f332b2d, in nouveau_drm_screen_create
#3    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5287570501, in __assert_fail
#2    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5287570489, in uselocale
#1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5287580920, in abort
#0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f528757efb7, in gsignal
Aborted (Signal sent by tkill() 5312 1000)
Aborted (core dumped)

Thanks in advance for the help!

facontidavide commented 3 years ago

I guess it might be a problem with OpenGL. I will try to addres this i 3.1.2