I can't start gnome client using GUI, no window shows. When run it in terminal emulator, the program throws an error:
** Message: Jami GNOME client version: development ** Message: git ref: unknown QDBusMarshaller: type `VectorString' attempts to redefine basic D-BUS type 'as' (QStringList) (Did you forget to call beginStructure() ?) QDBusMarshaller: type `MapStringVectorString' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?) QDBusMarshaller: type `QMap<QString,MapStringVectorString>' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?) terminate called after throwing an instance of 'std::out_of_range' what(): map::at
The daemon ran with -pcd options, doesn't seem to see the client(does nothing, when the client is started). I have compiled daemon, lrc, and client myself, the same way as in my previous issue https://git.ring.cx/savoirfairelinux/ring-project/issues/522
Jami versions(tarballs):
2018-12-14
2018-12-15
2018-12-16
Operating system: Devuan ASCII GNU/Linux
Is my setup or distribution, I'm using a ruin? Is it systemd related? If so, please don't make Jami systemd dependent, because it is badly designed.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
gdb gnome-ring GNU gdb (Debian 7.12-6) 7.12.0.20161007-gitCopyright (C) 2016 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:<http://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 gnome-ring...done.(gdb) rStarting program: /usr/local/bin/gnome-ring [Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".[New Thread 0x7fffdc50b700 (LWP 10062)][New Thread 0x7fffdb9f2700 (LWP 10063)][New Thread 0x7fffdb056700 (LWP 10064)][New Thread 0x7fffda855700 (LWP 10065)]** Message: Jami GNOME client version: development** Message: git ref: unknown[New Thread 0x7fffc93df700 (LWP 10066)][New Thread 0x7fffc89a4700 (LWP 10067)][New Thread 0x7fffc81a3700 (LWP 10068)][New Thread 0x7fffc79a2700 (LWP 10069)][New Thread 0x7fffc71a1700 (LWP 10070)][New Thread 0x7fffc5c01700 (LWP 10071)]QDBusMarshaller: type `VectorString' attempts to redefine basic D-BUS type 'as' (QStringList) (Did you forget to call beginStructure() ?)QDBusMarshaller: type `MapStringVectorString' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?)QDBusMarshaller: type `QMap<QString,MapStringVectorString>' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?)terminate called after throwing an instance of 'std::out_of_range' what(): map::atThread 1 "gnome-ring" received signal SIGABRT, Aborted.__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:5151 ../sysdeps/unix/sysv/linux/raise.c: Nie ma takiego pliku ani katalogu.(gdb) bt#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51#1 0x00007fffec82642a in __GI_abort () at abort.c:89#2 0x00007fffed13d0ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6#3 0x00007fffed13b066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6#4 0x00007fffed13b0b1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6#5 0x00007fffed13b2c9 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6#6 0x00007fffed163a6f in std::__throw_out_of_range(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6#7 0x00005555555e6719 in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<unsigned long, std::allocator<unsigned long> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<unsigned long, std::allocator<unsigned long> > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<unsigned long, std::allocator<unsigned long> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<unsigned long, std::allocator<unsigned long> > > > > > > >::at (this=0x7fffffffd130, __k="") at /usr/include/c++/6/bits/stl_map.h:523#8 0x00005555555e3d77 in (anonymous namespace)::details::CppImpl::drawResolutions ( this=0x555555f50210) at /home/szeregowy/Dokumenty/Programy/Budowanie/ring-project/client-gnome/src/mediasettingsview.cpp:220#9 0x00005555555e429e in (anonymous namespace)::details::CppImpl::drawChannels ( this=0x555555f50210) at /home/szeregowy/Dokumenty/Programy/Budowanie/ring-project/client-gnome/src/mediasettingsview.cpp:260#10 0x00005555555e4526 in (anonymous namespace)::details::CppImpl::drawVideoDevices ( this=0x555555f50210) at /home/szeregowy/Dokumenty/Programy/Budowanie/ring-project/client-gnome/src/mediasettingsview.cpp:282#11 0x00005555555e30e4 in (anonymous namespace)::details::CppImpl::CppImpl ( this=0x555555f50210, widget=..., avModel=...) at /home/szeregowy/Dokumenty/Programy/Budowanie/ring-project/client-gnome/src/mediasettingsview.cpp:127#12 0x00005555555e598c in media_settings_view_new (avModel=...) at /home/szeregowy/Dokumenty/Programy/Budowanie/ring-project/client-gnome/src/mediasettingsview.cpp:469#13 0x00005555555b4c4b in (anonymous namespace)::details::CppImpl::init (this=0x555555d9e480) at /home/szeregowy/Dokumenty/Programy/Budowanie/ring-project/client-gnome/src/ringmainwindow.cpp:1002#14 0x00005555555bc9aa in ring_main_window_init (win=0x555555ccccb0) at /home/szeregowy/Dokumenty/Programy/Budowanie/ring-project/client-gnome/src/ringmainwindow.cpp:2136#15 0x00007ffff58d536b in g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0#16 0x00007ffff58b71fb in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0#17 0x00007ffff58b910e in g_object_new_valist ()---Type <return> to continue, or q <return> to quit---
I can easily fix the crash.. but I still don't understand why this is crashing.
In fact the problematic line is: auto resToRates = avModel_->getDeviceCapabilities(currentDevice).at(currentChannel);
If this fails, it's because the channel is invalid for your camera. If you can dig a bit:
With d-feet, in session bus, you can choose Dring. Then, in VideoManager, you can retrieve your default device (getDefaultDevice) and then (getCapabilities) should return the capaibilities of this device. Do you see any problem with this?
If this fails, it's because the channel is invalid for your camera. If you can dig a bit:
I have never used a camera with gnome client :)
edit: I don't even have one.
With d-feet, in session bus, you can choose Dring. Then, in VideoManager, you can retrieve your default device (getDefaultDevice) and then (getCapabilities) should return the capaibilities of this device. Do you see any problem with this?
I have never did that before, but I'll try. Will it help you solve the problem, or just fix the client?
I think I'm getting this same bug with jami-gnome, but the client isn't crashing.
$ jami-gnome** Message: 09:50:52.144: Jami GNOME client version: development** Message: 09:50:52.144: git ref: unknown** (jami-gnome:8819): WARNING **: 09:50:52.144: could not create symlink: File existsNo migration required(jami-gnome:8819): Gtk-WARNING **: 09:50:52.766: Child name 'calls' not found in GtkStackcontact update attempted for inexistent conversation(jami-gnome:8819): Gtk-CRITICAL **: 09:50:52.768: gtk_container_remove: assertion 'GTK_IS_WIDGET (widget)' failed(jami-gnome:8819): Gtk-CRITICAL **: 09:50:52.768: gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed(jami-gnome:8819): Gtk-CRITICAL **: 09:50:52.768: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed(jami-gnome:8819): Gtk-CRITICAL **: 09:50:52.768: gtk_container_remove: assertion 'GTK_IS_WIDGET (widget)' failed(jami-gnome:8819): Gtk-CRITICAL **: 09:50:52.768: gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed(jami-gnome:8819): Gtk-CRITICAL **: 09:50:52.768: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failedQDBusMarshaller: type `VectorString' attempts to redefine basic D-BUS type 'as' (QStringList) (Did you forget to call beginStructure() ?)QDBusMarshaller: type `MapStringVectorString' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?)QDBusMarshaller: type `QMap<QString,MapStringVectorString>' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?)(jami-gnome:8819): Gtk-CRITICAL **: 09:50:53.072: gtk_scrolled_window_add: assertion 'child_widget == NULL' failedQDBusConnection: name 'cx.ring.Ring' had owner '' but we thought it was ':1.201'Syncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemonSyncing lrc accounts list with the daemon