jami-client-gnome issueshttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues2018-07-12T13:53:12Zhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/867segfault during call hangup2018-07-12T13:53:12ZHugo Lefeuvresegfault during call hangup**Affects**: latest LRC/GNOME client master
My GNU/Linux GNOME client crashed (segfault) during a call hangup.
**ASan stacktrace**:
```
(gnome-ring:3643): Gtk-WARNING **: Theme parsing error: <data>:1:652: Missing name of pseudo-class
...**Affects**: latest LRC/GNOME client master
My GNU/Linux GNOME client crashed (segfault) during a call hangup.
**ASan stacktrace**:
```
(gnome-ring:3643): Gtk-WARNING **: Theme parsing error: <data>:1:652: Missing name of pseudo-class
** (gnome-ring:3643): DEBUG: call has status Talking, hiding
** (gnome-ring:3643): DEBUG: call has status Talking, hiding
** (gnome-ring:3643): DEBUG: call has status Talking, hiding
slotCallStateChanged, call: 10000172967648819012 - state: FAILURE
slotCallStateChanged, call: 10000172967648819012 - state: OVER
Call State Changed for call "10000172967648819012" . New state : "FAILURE"
Call found Call(0x603000d50850) "Ringing"
State changing from "Ringing" to "Failed" on Call(0x603000d50850)
Starting call. callId : Call(0x603000d50850) ConfId: Call(0x603000d50850)
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
Calling stateChanged "FAILURE" -> 6 on call with state "Ringing" . Become "Failed"
Call State Changed for call "10000172967648819012" . New state : "OVER"
Call found Call(0x603000d50850) "Failed"
Origin and destination states are identical "Failed" "Failed" doing nothing Call(0x603000d50850)
Calling stateChanged "OVER" -> 7 on call with state "Failed" . Become "Failed"
Call State Changed for call "13304699374124811861" . New state : "CONNECTING"
slotCallStateChanged, call: 379597161990976675 - state: HUNGUP
ASAN:SIGSEGV
=================================================================
==3643==ERROR: AddressSanitizer: SEGV on unknown address 0x61105200008a (pc 0x7ff4518ac1ee bp 0x7ffeeb261610 sp 0x7ffeeb260d98 T0)
#0 0x7ff4518ac1ed (/lib/x86_64-linux-gnu/libc.so.6+0x16f1ed)
#1 0x7ff45960f74e in memcmp (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x7774e)
#2 0x4ba225 in std::char_traits<char>::compare(char const*, char const*, unsigned long) /usr/include/c++/5/bits/char_traits.h:262
#3 0x4d825e in __gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/basic_string.h:4914
#4 0x5ad60c in webkit_chat_container_ready(_ChatView*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, lrc::api::interaction::Info)#2}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, lrc::api::interaction::Info) const (/usr/bin/gnome-ring+0x5ad60c)
#5 0x5b07ae in call /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:495
#6 0x5b0383 in call<QtPrivate::List<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, long unsigned int, const lrc::api::interaction::Info&>, void> /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:552
#7 0x5b020e in impl /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:192
#8 0x7ff4569cabae in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2b4bae)
#9 0x7ff458f6eaf8 in lrc::api::ConversationModel::interactionStatusUpdated(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, lrc::api::interaction::Info const&) const /home/hlefeuvre/Development/ring-lrc/build/api/moc_conversationmodel.cpp:238
#10 0x7ff458f66c10 in lrc::ConversationModelPimpl::addOrUpdateCallMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/hlefeuvre/Development/ring-lrc/src/conversationmodel.cpp:1544
#11 0x7ff458f65ecf in lrc::ConversationModelPimpl::slotCallEnded(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/hlefeuvre/Development/ring-lrc/src/conversationmodel.cpp:1494
#12 0x7ff458f92849 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, void, void (lrc::ConversationModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::call(void (lrc::ConversationModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lrc::ConversationModelPimpl*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:501
#13 0x7ff458f8d6b4 in void QtPrivate::FunctionPointer<void (lrc::ConversationModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::call<QtPrivate::List<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, void>(void (lrc::ConversationModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lrc::ConversationModelPimpl*, void**) (/usr/lib/libringclient.so.1.0.0+0x7296b4)
#14 0x7ff458f87046 in QtPrivate::QSlotObject<void (lrc::ConversationModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), QtPrivate::List<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:143
#15 0x7ff4569cabae in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2b4bae)
#16 0x7ff458f3e121 in lrc::api::NewCallModel::callEnded(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /home/hlefeuvre/Development/ring-lrc/build/api/moc_newcallmodel.cpp:198
#17 0x7ff458f3c060 in lrc::NewCallModelPimpl::slotCallStateChanged(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) /home/hlefeuvre/Development/ring-lrc/src/newcallmodel.cpp:422
#18 0x7ff458f4742d in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int>, void, void (lrc::NewCallModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)>::call(void (lrc::NewCallModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int), lrc::NewCallModelPimpl*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:501
#19 0x7ff458f45eda in void QtPrivate::FunctionPointer<void (lrc::NewCallModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)>::call<QtPrivate::List<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int>, void>(void (lrc::NewCallModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int), lrc::NewCallModelPimpl*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:520
#20 0x7ff458f43e0e in QtPrivate::QSlotObject<void (lrc::NewCallModelPimpl::*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int), QtPrivate::List<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:143
#21 0x7ff4569cabae in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2b4bae)
#22 0x7ff4590e1231 in lrc::CallbacksHandler::callStateChanged(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) /home/hlefeuvre/Development/ring-lrc/build/moc_callbackshandler.cpp:618
#23 0x7ff459018cf4 in lrc::CallbacksHandler::slotCallStateChanged(QString const&, QString const&, int) /home/hlefeuvre/Development/ring-lrc/src/callbackshandler.cpp:232
#24 0x7ff4590214c5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<QString const&, QString const&, int>, void, void (lrc::CallbacksHandler::*)(QString const&, QString const&, int)>::call(void (lrc::CallbacksHandler::*)(QString const&, QString const&, int), lrc::CallbacksHandler*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:501
#25 0x7ff45901f58f in void QtPrivate::FunctionPointer<void (lrc::CallbacksHandler::*)(QString const&, QString const&, int)>::call<QtPrivate::List<QString const&, QString const&, int>, void>(void (lrc::CallbacksHandler::*)(QString const&, QString const&, int), lrc::CallbacksHandler*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:520
#26 0x7ff45901e5ea in QtPrivate::QSlotObject<void (lrc::CallbacksHandler::*)(QString const&, QString const&, int), QtPrivate::List<QString const&, QString const&, int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:143
#27 0x7ff4569cabae in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2b4bae)
#28 0x7ff4590bfac9 in CallManagerInterface::callStateChanged(QString const&, QString const&, int) /home/hlefeuvre/Development/ring-lrc/build/callmanager_dbus_interface.moc:656
#29 0x7ff4590bb3ee in CallManagerInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/hlefeuvre/Development/ring-lrc/build/callmanager_dbus_interface.moc:332
#30 0x7ff4590bf6ef in CallManagerInterface::qt_metacall(QMetaObject::Call, int, void**) /home/hlefeuvre/Development/ring-lrc/build/callmanager_dbus_interface.moc:628
#31 0x7ff45a69c912 (/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5+0x20912)
#32 0x7ff4569cbc00 in QObject::event(QEvent*) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2b5c00)
#33 0x7ff45699c36b in QCoreApplication::notifyInternal(QObject*, QEvent*) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x28636b)
#34 0x7ff45699e785 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x288785)
#35 0x7ff4569f23c2 (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2dc3c2)
#36 0x7ff456c36196 in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a196)
#37 0x7ff456c363ef (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a3ef)
#38 0x7ff456c3649b in g_main_context_iteration (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a49b)
#39 0x7ff4571fdd7c in g_application_run (/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0+0xadd7c)
#40 0x4b5414 in main /home/hlefeuvre/Development/ring-client-gnome/src/main.cpp:37
#41 0x7ff45175d82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#42 0x4b5068 in _start (/usr/bin/gnome-ring+0x4b5068)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
==3643==ABORTING
```https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/732heap-use-after-free and crash when disconnecting network2018-07-16T20:03:32ZJami Botheap-use-after-free and crash when disconnecting networkIssue generated from Tuleap's migration script.
**Originally submitted by: Hugo Lefeuvre (hle)**
Whenever the network is disconnected, the Ring Daemon crashes.
\* Environment:
latest master, Ubuntu 16.04.4 LTS
\* Reproduce s...Issue generated from Tuleap's migration script.
**Originally submitted by: Hugo Lefeuvre (hle)**
Whenever the network is disconnected, the Ring Daemon crashes.
\* Environment:
latest master, Ubuntu 16.04.4 LTS
\* Reproduce steps:
1) Build dring with ASAN.
$ export CFLAGS="-fsanitize=address -g -O0"
$ export LDFLAGS="-fsanitize=address"
$ export CXXFLAGS="$(CFLAGS)"
$ ./autogen.sh
$ ./configure
$ make
2) Start freshly built daemon
$ ./bin/dring -pcd
3) Dirty-disconnect network (in my case: unplug Ethernet cable)
4) Dring crashes with following ASAN stacktrace (heap-use-after-free)
```
=================================================================
==15382==ERROR: AddressSanitizer: heap-use-after-free on address 0x60f00003e6b8 at pc 0x7f9d82f75b50 bp 0x7ffff45aec20 sp 0x7ffff45aec10
WRITE of size 4 at 0x60f00003e6b8 thread T0
#0 0x7f9d82f75b4f in __exchange_and_add /usr/include/c++/5/ext/atomicity.h:49
#1 0x7f9d82f75c9e in __exchange_and_add_dispatch /usr/include/c++/5/ext/atomicity.h:82
#2 0x7f9d82f78946 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() /usr/include/c++/5/bits/shared_ptr_base.h:147
#3 0x7f9d8358ca09 in dht::Dht::searchSynchedNodeListen(std::shared_ptr<dht::Dht::Search> const&, dht::Dht::SearchNode&) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf6ea09)
#4 0x7f9d835a22ec in dht::Dht::searchStep(std::shared_ptr<dht::Dht::Search>) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf842ec)
#5 0x7f9d835a926e in std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (dht::Dht::*)(std::shared_ptr<dht::Dht::Search>)> (dht::Dht*, std::shared_ptr<dht::Dht::Search>)> >::_M_invoke(std::_Any_data const&) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf8b26e)
#6 0x7f9d83587573 in dht::Dht::periodic(unsigned char const*, unsigned long, dht::SockAddr const&) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf69573)
#7 0x7f9d835a98f1 in dht::Dht::periodic(unsigned char const*, unsigned long, sockaddr const*, unsigned int) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf8b8f1)
#8 0x7f9d8355e9c0 in dht::DhtRunner::loop_() (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf409c0)
#9 0x7f9d832b1f7e in dht::DhtRunner::loop() /home/hlefeuvre/Development/ring-daemon/contrib/x86_64-linux-gnu/include/opendht/dhtrunner.h:364
#10 0x7f9d832728ef in ring::RingAccount::handleEvents() /home/hlefeuvre/Development/ring-daemon/src/ringdht/ringaccount.cpp:1618
#11 0x7f9d83279437 in ring::RingAccount::doRegister_()::{lambda()#8}::operator()() const (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xc5b437)
#12 0x7f9d8329bfe1 in _M_invoke /usr/include/c++/5/functional:1871
#13 0x7f9d82fca457 in std::function<void ()>::operator()() const /usr/include/c++/5/functional:2267
#14 0x7f9d82fb09e8 in ring::Manager::pollEvents() /home/hlefeuvre/Development/ring-daemon/src/manager.cpp:1721
#15 0x7f9d83052de5 in DRing::pollEvents() /home/hlefeuvre/Development/ring-daemon/src/ring_api.cpp:85
#16 0x4b01cf in std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (/home/hlefeuvre/Development/ring-daemon/bin/.libs/lt-dring+0x4b01cf)
#17 0x49ccfd in std::function<void ()>::operator()() const /usr/include/c++/5/functional:2267
#18 0x49b3bf in EventCallback::call(DBus::DefaultTimeout&) const (/home/hlefeuvre/Development/ring-daemon/bin/.libs/lt-dring+0x49b3bf)
#19 0x5388d4 in DBus::Slot<void, DBus::DefaultTimeout&>::operator()(DBus::DefaultTimeout&) const (/home/hlefeuvre/Development/ring-daemon/bin/.libs/lt-dring+0x5388d4)
#20 0x537eab in DBus::DefaultMainLoop::dispatch() (/home/hlefeuvre/Development/ring-daemon/bin/.libs/lt-dring+0x537eab)
#21 0x539c7d in DBus::BusDispatcher::do_iteration() (/home/hlefeuvre/Development/ring-daemon/bin/.libs/lt-dring+0x539c7d)
#22 0x53990f in DBus::BusDispatcher::enter() (/home/hlefeuvre/Development/ring-daemon/bin/.libs/lt-dring+0x53990f)
#23 0x4930fc in DBusClient::event_loop() /home/hlefeuvre/Development/ring-daemon/bin/dbus/dbusclient.cpp:250
#24 0x48d0d0 in main /home/hlefeuvre/Development/ring-daemon/bin/main.cpp:236
#25 0x7f9d81abf82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#26 0x48c718 in _start (/home/hlefeuvre/Development/ring-daemon/bin/.libs/lt-dring+0x48c718)
0x60f00003e6b8 is located 8 bytes inside of 168-byte region [0x60f00003e6b0,0x60f00003e758)
freed by thread T0 here:
#0 0x7f9d84c5db2a in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99b2a)
#1 0x7f9d82f78a23 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() /usr/include/c++/5/bits/shared_ptr_base.h:167
#2 0x7f9d8358c94d in dht::Dht::searchSynchedNodeListen(std::shared_ptr<dht::Dht::Search> const&, dht::Dht::SearchNode&) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf6e94d)
#3 0x7f9d835a22ec in dht::Dht::searchStep(std::shared_ptr<dht::Dht::Search>) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf842ec)
previously allocated by thread T0 here:
#0 0x7f9d84c5d532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x7f9d835ca5cf in dht::net::NetworkEngine::sendListen(std::shared_ptr<dht::Node>, dht::Hash<20ul> const&, dht::Query const&, std::vector<unsigned char, std::allocator<unsigned char> > const&, std::shared_ptr<dht::net::Request>, std::function<void (dht::net::Request const&, dht::net::RequestAnswer&&)>&&, std::function<void (dht::net::Request const&, bool)>&&, std::function<void (std::shared_ptr<dht::Node> const&, dht::net::RequestAnswer&&)>&&) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xfac5cf)
#2 0x7f9d8358c8cc in dht::Dht::searchSynchedNodeListen(std::shared_ptr<dht::Dht::Search> const&, dht::Dht::SearchNode&) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf6e8cc)
#3 0x7f9d835a22ec in dht::Dht::searchStep(std::shared_ptr<dht::Dht::Search>) (/home/hlefeuvre/Development/ring-daemon/src/.libs/libring.so.0+0xf842ec)
SUMMARY: AddressSanitizer: heap-use-after-free /usr/include/c++/5/ext/atomicity.h:49 __exchange_and_add
Shadow bytes around the buggy address:
0x0c1e7ffffc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c1e7ffffc90: 00 fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
0x0c1e7ffffca0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa
0x0c1e7ffffcb0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
0x0c1e7ffffcc0: fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa
=>0x0c1e7ffffcd0: fa fa fa fa fa fa fd[fd]fd fd fd fd fd fd fd fd
0x0c1e7ffffce0: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa
0x0c1e7ffffcf0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1e7ffffd00: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa
0x0c1e7ffffd10: fa fa fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1e7ffffd20: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
==15382==ABORTING
```
\* Expected result:
Obviously, dring should not crash when network is disconnected.
Please, note: This bug may \*very well\* be located in opendht.
I have marked the bug as affecting GNU/Linux only, but it may very well affect other platforms.https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/890Send two images with the same name = erase the first one2018-08-09T15:52:08ZSébastien BlinSend two images with the same name = erase the first one# Reproduce step
1. Send 2 different images with the same name
2. In the chatview, see the same image twice
3. In the downloads folder, there is only one images
# Expected
We should see two images in the chatview and in the folder.# Reproduce step
1. Send 2 different images with the same name
2. In the chatview, see the same image twice
3. In the downloads folder, there is only one images
# Expected
We should see two images in the chatview and in the folder.Next major releaseSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/774No sound in SIP calls2018-08-10T18:20:00ZJami BotNo sound in SIP callsIssue generated from Tuleap's migration script.
**Originally submitted by: dev (dev)**
<p>Whenever I use Ring and get a call or I call someone, there is no sound. I can't hear the participant and the participant can not hear me.</p>
...Issue generated from Tuleap's migration script.
**Originally submitted by: dev (dev)**
<p>Whenever I use Ring and get a call or I call someone, there is no sound. I can't hear the participant and the participant can not hear me.</p>
<p>It is possible to talk to the participant if I switch to the settings during an active call and click on the "Media" tab to just open the audio und camera settings without actually changing something. Simply activating the "Media" view seems to change something and allows to talk and to hear during the call (which is still available in the background while browsing settings).</p>
<p>I have to do this for every new call.</p>
<p>I use a SIP account in the local network (Fritz!Box 7412, with Fritz!OS 06.83). When I use Zoiper on the same device and identical credentials, I can talk normally without any problems.</p>
<p>My Ring client version: 1.0, 2017-08-14 18:40:05 UTC.</p>
<p>I don't know if this is related, but I found a line "QObject::connect: invalid null parameter" in the logs. The from getting the call to opening the dialog and finishing the call you can find a log file as attachment.</p>
[ring.log](/uploads/5d22c91577502aa931d3cc34c2d47b2d/ring.log)https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/681Could not reliable close Video2018-08-17T20:15:39ZJami BotCould not reliable close VideoIssue generated from Tuleap's migration script.
**Originally submitted by: Sebastian (smaudet)**
When making the call, could not reliably close video. It seems silly this should not work...
\* Environment:
Windows, default 1.0.0 ...Issue generated from Tuleap's migration script.
**Originally submitted by: Sebastian (smaudet)**
When making the call, could not reliably close video. It seems silly this should not work...
\* Environment:
Windows, default 1.0.0 build from website, Linux default 1.0.0 build from website
\* Reproduce steps:
Calls were not dropping video as expected.
\* Expected result:
How application should behave on the above mentioned steps.
\* Actual result:
What is the actual result on running the above steps i.e. the bug behavior.https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/901Account import does not work properly after system migration2018-09-10T12:28:19ZannaAccount import does not work properly after system migrationRunning Fedora 28 with latest repository update from
https://dl.ring.cx/ring-nightly/fedora_28/ring-nightly.repo
Exported my account to .gz. Saved /home/user/.config/ring & /home/user/.local/share/gnome-ring.
Finally I imported all of ...Running Fedora 28 with latest repository update from
https://dl.ring.cx/ring-nightly/fedora_28/ring-nightly.repo
Exported my account to .gz. Saved /home/user/.config/ring & /home/user/.local/share/gnome-ring.
Finally I imported all of them to my freshly installed new system.
My account & settings are there. My contacts & conversations are all gone.
I noticed that ring.db contains all of my messages -> checked with sqlite3 ~/.local/share/gnome-ring/ring.db
and /home/user/.local/share/gnome-ring/peer_profiles contains all of my contacts.
But nothing is displayed.
Any idea how to get my data visible again?Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/912SIP: contact search/add bar filtering issues2018-09-11T12:43:10ZSIP: contact search/add bar filtering issuesI'm looking at using Ring as a SIP client and I seem to have been able to successfully install the 2018.6.6 version from the Gentoo overlay. However, I've been having a couple of problems with adding/searching contacts using the text inp...I'm looking at using Ring as a SIP client and I seem to have been able to successfully install the 2018.6.6 version from the Gentoo overlay. However, I've been having a couple of problems with adding/searching contacts using the text input at the top left of the interface:
* I can't seem to call any contacts with `*` in their numbers. This might not be an issue normally since normal phone numbers don't use that character, but my VoIP provider has voicemail set up as `*97` and there doesn't seem to be any way to call that number to check my voicemail using Ring. I even tried manually adding a conversation to the database using SQLite and still didn't see it in the list.
* I tried typing a `'` into the search box to see if that would let me use special characters like `*` and it crashed LRC with an SQL error. I suppose that there really aren't any phone numbers with `'` in them, but at the same time the fact that Ring uses SQL but doesn't seem to be properly escaping its queries is a major red flag for security-conscious users.Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/779fatal error: libavcodec/avcodec.h: No such file or directory2018-09-24T14:37:12ZJami Botfatal error: libavcodec/avcodec.h: No such file or directoryIssue generated from Tuleap's migration script.
**Originally submitted by: szotsaki (szotsaki)**
When compiled the latest ring-daemon today, the following error happened:
[ 46s] In file included from /home/abuild/rpmbuild/BUILD/r...Issue generated from Tuleap's migration script.
**Originally submitted by: szotsaki (szotsaki)**
When compiled the latest ring-daemon today, the following error happened:
[ 46s] In file included from /home/abuild/rpmbuild/BUILD/ring-daemon-4.0.0.20180112.c27d21354/src/media/video/accel.h:23:0,
[ 46s] from /home/abuild/rpmbuild/BUILD/ring-daemon-4.0.0.20180112.c27d21354/src/media/media\_decoder.h:30,
[ 46s] from audio\_rtp\_session.cpp:32:
[ 46s] /home/abuild/rpmbuild/BUILD/ring-daemon-4.0.0.20180112.c27d21354/src/media/libav\_deps.h:28:10: fatal error: libavcodec/avcodec.h: No such file or directory
[ 46s] \#include <libavcodec/avcodec.h>
[ 46s] \^\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~
As I saw, pkgconfig of libavcodec correctly contains the right include directory (/usr/include/ffmpeg).
[ring-daemon-build.log](/uploads/8419313e6840e1586b0251fbc957c50f/ring-daemon-build.log)
[Makefile](/uploads/b5e8677a633164010bd2f6e2fccf541f/Makefile)Philippe GorleyPhilippe Gorleyhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/919Gnome ring crashes after adding a new account2018-09-24T21:09:01ZJan WielkiewiczGnome ring crashes after adding a new accountAfter clicking "+Add account..." button, filling in password inputs and clicking "next" button, gnome-ring crashes. After restarting ring, the account, that I tried to create has been created correctly. It happened every time I did this....After clicking "+Add account..." button, filling in password inputs and clicking "next" button, gnome-ring crashes. After restarting ring, the account, that I tried to create has been created correctly. It happened every time I did this.
OS: Devuan ASCII GNU/Linux
version: 15-09-2018https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/922Account status is broken2018-10-04T17:27:48ZHugo LefeuvreAccount status is broken**How to reproduce:**
* open settings
* "Enable account" has value: "Online"
* turn it off
* account is now offline, but "Enable account" still has value "Online"**How to reproduce:**
* open settings
* "Enable account" has value: "Online"
* turn it off
* account is now offline, but "Enable account" still has value "Online"Hugo LefeuvreHugo Lefeuvrehttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/655The program does not find the video card driver. It's in a different folder.2018-11-02T17:56:34ZJami BotThe program does not find the video card driver. It's in a different folder.Issue generated from Tuleap's migration script.
**Originally submitted by: Alexey Gavrilov (le9i0nx)**
A detailed description of the bug. Use following fields for description field:
\* Environment:
Debian, 9.1
\* Reproduce s...Issue generated from Tuleap's migration script.
**Originally submitted by: Alexey Gavrilov (le9i0nx)**
A detailed description of the bug. Use following fields for description field:
\* Environment:
Debian, 9.1
\* Reproduce steps:
install and start
\* Expected result:
start
\* Actual result:
it isn't start.
The program does not find the video card driver. It's in a different folder.
le9i0nx@unit6:\~$ gnome-ring
\*\* Message: Ring GNOME client version: 1.0.0
\*\* Message: git ref: unknown
\*\* (gnome-ring:2895): WARNING \*\*: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
libEGL warning: DRI2: failed to open nouveau (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/nouveau\_dri.so: cannot open shared object file: No such file or directory
failed to load driver: nouveau
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/kms\_swrast\_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms\_swrast
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/swrast\_dri.so: cannot open shared object file: No such file or directory
failed to load swrast driver
libEGL warning: DRI2: failed to open nouveau (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/nouveau\_dri.so: cannot open shared object file: No such file or directory
failed to load driver: nouveau
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/kms\_swrast\_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms\_swrast
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/swrast\_dri.so: cannot open shared object file: No such file or directory
failed to load swrast driver
(gnome-ring:2895): GLib-CRITICAL \*\*: g\_strsplit: assertion 'string != NULL' failed
libEGL warning: DRI2: failed to open nouveau (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/nouveau\_dri.so: cannot open shared object file: No such file or directory
failed to load driver: nouveau
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/kms\_swrast\_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms\_swrast
gbm: failed to open any driver (search paths /usr/lib/x86\_64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/swrast\_dri.so: cannot open shared object file: No such file or directory
failed to load swrast driver
(gnome-ring:2895): GLib-CRITICAL \*\*: g\_strsplit: assertion 'string != NULL' failed
(gnome-ring:2895): Clutter-CRITICAL \*\*: Unable to initialize Clutter: Unable to initialize the Clutter backend: no available drivers found.
\*\* (gnome-ring:2895): ERROR \*\*: Could not init clutter : -3
Trace/breakpoint trap
le9i0nx@unit6:\~$ fi
fi file filezilla find findmnt firefox
le9i0nx@unit6:\~$ find /usr/lib/ | grep "nouveau\_dri.so"
le9i0nx@unit6:\~$ find /usr/lib/ | grep "nouveau\\"
> \^C
le9i0nx@unit6:\~$ find /usr/lib/ | grep "nouveau"
/usr/lib/x86\_64-linux-gnu/libdrm\_nouveau.so.2.0.0
/usr/lib/x86\_64-linux-gnu/libdrm\_nouveau.so.2
/usr/lib/xorg/modules/drivers/nouveau\_drv.so
le9i0nx@unit6:\~$https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/700Cannot install Ring on Ubuntu 16.042018-12-12T10:22:04ZJami BotCannot install Ring on Ubuntu 16.04Issue generated from Tuleap's migration script.
**Originally submitted by: Maxim Cournoyer (mcournoyer)**
\* Environment:
Ubuntu 16.04
\* Reproduce steps:
TBD
1. sudo apt install ring
\* Expected result:
Ring is ins...Issue generated from Tuleap's migration script.
**Originally submitted by: Maxim Cournoyer (mcournoyer)**
\* Environment:
Ubuntu 16.04
\* Reproduce steps:
TBD
1. sudo apt install ring
\* Expected result:
Ring is installed with all its required dependencies
\* Actual result:
Installation fails with the following message:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
ring : Dépend: libedataserver-1.2-22 (>= 3.17) mais il n'est pas installable
Dépend: libqt5core5a (>= 5.7.0) mais 5.5.1+dfsg-16ubuntu7.5 devra être installé
Dépend: ring-daemon (= 20171129.2.cf5bbff\~dfsg1-1) mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
= Extra Information =
When attempting to ring-daemon separately (?), the following messages are shown:
Dépend: libargon2-0 (>=0\~20160406\~) but it is not installable
Dépend : libjsoncpp1 (>=1.7.4) mais 1.7.2-1 doit être installé
Dépend : libstdc++6 (>=6) mais 5.4.0-6ubuntu1\~16.04.5 doit être installé
Dépend : libva1 (>=1.7.3) mais 1.7.0-1ubuntu0.1 doit être installéhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/720libv4l support2019-01-11T20:58:52ZJami Botlibv4l supportIssue generated from Tuleap's migration script.
**Originally submitted by: brokoli (brokoli)**
Description: on some ASUS laptops web camera shows image upside-down, to avoid it users should start program with libv4l preloaded.
Environ...Issue generated from Tuleap's migration script.
**Originally submitted by: brokoli (brokoli)**
Description: on some ASUS laptops web camera shows image upside-down, to avoid it users should start program with libv4l preloaded.
Environment: Ubuntu 17.10
Reproduce steps:
On ASUS laptop with Ubuntu run in terminal:
LD\_PRELOAD=/usr/lib/x86\_64-linux-gnu/libv4l/v4l1compat.so ring.cx
or
LD\_PRELOAD=/usr/lib/x86\_64-linux-gnu/libv4l/v4l2convert.so ring.cx
Expected result: Web camera working without image upside-down.
Actual result: Web camera still shows flipped image.Philippe GorleyPhilippe Gorleyhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/499"Ramener Ring à l'avant-plan" Does not work in Linux2019-04-01T07:44:46ZJami Bot"Ramener Ring à l'avant-plan" Does not work in LinuxIssue generated from Tuleap's migration script.
**Originally submitted by: Alexandr Sergheev (asergheev)**
Functionality "Ramener Ring à l'avant-plan en cas d'appel entrant " does not work.Issue generated from Tuleap's migration script.
**Originally submitted by: Alexandr Sergheev (asergheev)**
Functionality "Ramener Ring à l'avant-plan en cas d'appel entrant " does not work.https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/1008Idle: Major memory leak2019-04-23T18:23:32ZSébastien BlinIdle: Major memory leakTo investigate, but the client is eating memoryTo investigate, but the client is eating memoryIteration 5Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/397Infinite loop using alsa2019-05-24T19:00:30ZJami BotInfinite loop using alsaIssue generated from Tuleap's migration script.
**Originally submitted by: Emmanuel Lepage Vallee (elv13)**
Here is one of the possible infinite loop with the alsa backend
[1449225107.948|32305|alsalayer.cpp:690 ] Audio: Mic ...Issue generated from Tuleap's migration script.
**Originally submitted by: Emmanuel Lepage Vallee (elv13)**
Here is one of the possible infinite loop with the alsa backend
[1449225107.948|32305|alsalayer.cpp:690 ] Audio: Mic error: Broken pipe
[1449225107.952|32305|alsalayer.cpp:690 ] Audio: Mic error: Broken pipe
[1449225107.955|32305|alsalayer.cpp:690 ] Audio: Mic error: Broken pipe
[1449225107.959|32305|alsalayer.cpp:690 ] Audio: Mic error: Broken pipe
[1449225107.963|32305|alsalayer.cpp:690 ] Audio: Mic error: Broken pipe
[1449225107.970|32305|alsalayer.cpp:690 ] Audio: Mic error: Broken pipe
[1449225107.973|32305|alsalayer.cpp:690 ] Audio: Mic error: Broken pipe
[...]
I guess it has to do with dring losing the audio while running. After this, dring has to be restarted or will eat the CPU.
It happen "randomly" when using the computer. If you let dring run for long enough and use a web browser, it will happen.Guillaume RoguezGuillaume Roguezhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/1063crash when adding a contact to SIP account2019-08-29T18:39:35ZAdrien Béraudcrash when adding a contact to SIP account* Crash when adding a contact to SIP account
* Remove "add contact" button in SIP account* Crash when adding a contact to SIP account
* Remove "add contact" button in SIP accountIteration 15Ming Rui ZhangMing Rui Zhanghttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/709Acounts with missing Ring ID causes segfault2019-10-17T13:17:57ZJami BotAcounts with missing Ring ID causes segfaultIssue generated from Tuleap's migration script.
**Originally submitted by: Julius Schwartzenberg (jschwart)**
A detailed description of the bug. Use following fields for description field:
\* Environment:
Mention all details abou...Issue generated from Tuleap's migration script.
**Originally submitted by: Julius Schwartzenberg (jschwart)**
A detailed description of the bug. Use following fields for description field:
\* Environment:
Mention all details about the system/environment used (OS, version, build date, ...)
Fedora 27, with most recent packages (20180216.1.63fd90f).
\* Reproduce steps:
Obtain corrupted preferences somehow
Start gnome-ring
\* Expected result:
It should start up
\* Actual result:
It segfaults on line 102 of ringwelcomeview.cpp. That line needs to be changed:
ring\_id[0] = '\\0'; -> ring\_id = '\\0'; (remove the [0])Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/1001Gnome client crashes on "Clear all history"2019-11-15T10:09:12ZJérôme OufellaGnome client crashes on "Clear all history"* Fedora 29
* ring-20190319.4.a16a99f-1.fc29.x86_64
How to reproduce:
* Go to Settings
* Clear chat history
```
Mar 28 11:01:20 hostname systemd-coredump[29158]: Process 26945 (gnome-ring) of user 1000 dumped core.
...* Fedora 29
* ring-20190319.4.a16a99f-1.fc29.x86_64
How to reproduce:
* Go to Settings
* Clear chat history
```
Mar 28 11:01:20 hostname systemd-coredump[29158]: Process 26945 (gnome-ring) of user 1000 dumped core.
Stack trace of thread 26945:
#0 0x00007f11873f153f raise (libc.so.6)
#1 0x00007f11873db895 abort (libc.so.6)
#2 0x00007f11877b0f1b n/a (libstdc++.so.6)
#3 0x00007f11877b738c n/a (libstdc++.so.6)
#4 0x00007f11877b73e7 _ZSt9terminatev (libstdc++.so.6)
#5 0x00007f11877b7648 __cxa_throw (libstdc++.so.6)
#6 0x00007f118d2b5954 n/a (libringclient.so.1.0.0)
#7 0x00000000004608c8 _ZN12_GLOBAL__N_17detailsL28on_clear_all_history_foreachEP13_GtkTreeModelP12_GtkTreePathP12_GtkTreeIterPv (gnome-ring)
#8 0x00007f118cd9408a n/a (libgtk-3.so.0)
#9 0x00007f118cd954c9 gtk_tree_model_foreach (libgtk-3.so.0)
#10 0x0000000000460a4d _ZN12_GLOBAL__N_17detailsL28on_clear_all_history_clickedEP15_RingMainWindow (gnome-ring)
#11 0x00007f118c56c3dd g_closure_invoke (libgobject-2.0.so.0)
#12 0x00007f118c57f983 n/a (libgobject-2.0.so.0)
#13 0x00007f118c588aaa g_signal_emit_valist (libgobject-2.0.so.0)
#14 0x00007f118c5890a3 g_signal_emit (libgobject-2.0.so.0)
#15 0x00000000004a5530 _ZL13clear_historyP10_GtkWidgetP20_GeneralSettingsView (gnome-ring)
#16 0x00007f118c56c636 n/a (libgobject-2.0.so.0)
#17 0x00007f118c588b01 g_signal_emit_valist (libgobject-2.0.so.0)
#18 0x00007f118c5890a3 g_signal_emit (libgobject-2.0.so.0)
#19 0x00007f118cb7b19d n/a (libgtk-3.so.0)
#20 0x00007f118cb7b209 n/a (libgtk-3.so.0)
#21 0x00007f118c56c3dd g_closure_invoke (libgobject-2.0.so.0)
#22 0x00007f118c57fb26 n/a (libgobject-2.0.so.0)
#23 0x00007f118c588aaa g_signal_emit_valist (libgobject-2.0.so.0)
#24 0x00007f118c5890a3 g_signal_emit (libgobject-2.0.so.0)
#25 0x00007f118cb79664 n/a (libgtk-3.so.0)
#26 0x00007f1186872ace ffi_call_unix64 (libffi.so.6)
#27 0x00007f118687248f ffi_call (libffi.so.6)
#28 0x00007f118c56d3a6 g_cclosure_marshal_generic_va (libgobject-2.0.so.0)
#29 0x00007f118c56c636 n/a (libgobject-2.0.so.0)
#30 0x00007f118c588b01 g_signal_emit_valist (libgobject-2.0.so.0)
#31 0x00007f118c5890a3 g_signal_emit (libgobject-2.0.so.0)
#32 0x00007f118cc40e0c n/a (libgtk-3.so.0)
#33 0x00007f118c56f7ee g_cclosure_marshal_VOID__BOXEDv (libgobject-2.0.so.0)
#34 0x00007f118c56c636 n/a (libgobject-2.0.so.0)
#35 0x00007f118c588b01 g_signal_emit_valist (libgobject-2.0.so.0)
#36 0x00007f118c5890a3 g_signal_emit (libgobject-2.0.so.0)
#37 0x00007f118cc3df12 n/a (libgtk-3.so.0)
#38 0x00007f118cc3f51b n/a (libgtk-3.so.0)
#39 0x00007f118cc4241e n/a (libgtk-3.so.0)
#40 0x00007f118cc0a245 gtk_event_controller_handle_event (libgtk-3.so.0)
#41 0x00007f118cdca35b n/a (libgtk-3.so.0)
#42 0x00007f118ce1f7c8 n/a (libgtk-3.so.0)
#43 0x00007f118c56c636 n/a (libgobject-2.0.so.0)
#44 0x00007f118c588524 g_signal_emit_valist (libgobject-2.0.so.0)
#45 0x00007f118c5890a3 g_signal_emit (libgobject-2.0.so.0)
#46 0x00007f118cdcc634 n/a (libgtk-3.so.0)
#47 0x00007f118cc88946 n/a (libgtk-3.so.0)
#48 0x00007f118cc8ab03 gtk_main_do_event (libgtk-3.so.0)
#49 0x00007f118c97ba39 n/a (libgdk-3.so.0)
#50 0x00007f118c9ad446 n/a (libgdk-3.so.0)
#51 0x00007f118c48a06d g_main_context_dispatch (libglib-2.0.so.0)
#52 0x00007f118c48a438 n/a (libglib-2.0.so.0)
#53 0x00007f118c48a4d0 g_main_context_iteration (libglib-2.0.so.0)
#54 0x00007f118c65ad25 g_application_run (libgio-2.0.so.0)
#55 0x0000000000458e4f main (gnome-ring)
#56 0x00007f11873dd413 __libc_start_main (libc.so.6)
#57 0x0000000000458c1e _start (gnome-ring)
Stack trace of thread 26947:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a762 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f118c68810a n/a (libgio-2.0.so.0)
#4 0x00007f118c4b32aa n/a (libglib-2.0.so.0)
#5 0x00007f118730b58e start_thread (libpthread.so.0)
#6 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26946:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a4d0 g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f118c48a521 n/a (libglib-2.0.so.0)
#4 0x00007f118c4b32aa n/a (libglib-2.0.so.0)
#5 0x00007f118730b58e start_thread (libpthread.so.0)
#6 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26992:
#0 0x00007f1187311a8a pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f118885a65e _ZN3WTF15ThreadCondition9timedWaitERNS_5MutexENS_8WallTimeE (libjavascriptcoregtk-4.0.so.18)
#2 0x00007f118882f723 _ZN3WTF10ParkingLot21parkConditionallyImplEPKvRKNS_12ScopedLambdaIFbvEEERKNS3_IFvvEEERKNS_24TimeWithDynamicClockTypeE (libjavascriptcore>
#3 0x00007f11888329aa _ZN3WTF5sleepENS_7SecondsE (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f118947b4d5 n/a (libwebkit2gtk-4.0.so.37)
#5 0x00007f118883354f _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f1188859c1d n/a (libjavascriptcoregtk-4.0.so.18)
#7 0x00007f118730b58e start_thread (libpthread.so.0)
#8 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26949:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a4d0 g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f118d563c7d n/a (libdconfsettings.so)
#4 0x00007f118c4b32aa n/a (libglib-2.0.so.0)
#5 0x00007f118730b58e start_thread (libpthread.so.0)
#6 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26951:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a4d0 g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f118c1fb593 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4 0x00007f118c1a9e0b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5 0x00007f118c011e86 _ZN7QThread4execEv (libQt5Core.so.5)
#6 0x00007f118733cf89 n/a (libQt5DBus.so.5)
#7 0x00007f118c01b2fb n/a (libQt5Core.so.5)
#8 0x00007f118730b58e start_thread (libpthread.so.0)
#9 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 29057:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a762 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f118885bbc0 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f118883354f _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f1188859c1d n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f118730b58e start_thread (libpthread.so.0)
#7 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26950:
#0 0x00007f118731173c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f11808f68bb n/a (i965_dri.so)
#2 0x00007f11808f65fb n/a (i965_dri.so)
#3 0x00007f118730b58e start_thread (libpthread.so.0)
#4 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26993:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a762 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f118885bbc0 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f118883354f _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f1188859c1d n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f118730b58e start_thread (libpthread.so.0)
#7 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26994:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a762 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f118885bbc0 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f118883354f _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f1188859c1d n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f118730b58e start_thread (libpthread.so.0)
#7 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 27030:
#0 0x00007f11874ab421 __poll (libc.so.6)
#1 0x00007f118c48a3a6 n/a (libglib-2.0.so.0)
#2 0x00007f118c48a762 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f118885bbc0 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f118883354f _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f1188859c1d n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f118730b58e start_thread (libpthread.so.0)
#7 0x00007f11874b66a3 __clone (libc.so.6)
Stack trace of thread 26991:
#0 0x00007f118731173c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f11877dd6f0 _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6)
#2 0x00007f118886b58c _ZN7bmalloc9Scavenger13threadRunLoopEv (libjavascriptcoregtk-4.0.so.18)
#3 0x00007f118886b8df _ZN7bmalloc9Scavenger16threadEntryPointEPS0_ (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f11877e39a3 n/a (libstdc++.so.6)
#5 0x00007f118730b58e start_thread (libpthread.so.0)
#6 0x00007f11874b66a3 __clone (libc.so.6)
```New release 1Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/832Ring quickly increases RAM usage after throwing output of error(s)2020-09-24T21:02:38ZamsheppardRing quickly increases RAM usage after throwing output of error(s)Hello,
After loading Ring, I note the RAM usage for gnome-ring increases near every second by 0.2MiB--0.5MiB. I only discovered this as one occurance was over 500MB while consuming a suspiciously high process time, while idling. Launch ...Hello,
After loading Ring, I note the RAM usage for gnome-ring increases near every second by 0.2MiB--0.5MiB. I only discovered this as one occurance was over 500MB while consuming a suspiciously high process time, while idling. Launch _gnome-ring &_ from the terminal also activates this issue after 'throw up' the following error output until I interrupt it:
* ring 20180615.1.f54593d~dfsg1-1
* jackd2 2:1.9.12-1~xenial1
* cadence 2:0.8.1+git20170711 ([KXStudio](http://kxstudio.linuxaudio.org/Applications))
* claudia 2:0.8.1+git20170711 ([KXStudio](http://kxstudio.linuxaudio.org/Applications))
* ladish 1+dfsg0-5ubuntu3
* pulseaudio 1:8.0-0ubuntu3.10+kxstudio1 ([KXStudio](http://kxstudio.linuxaudio.org/Applications))
* pulseaudio-module-jack 1:8.0-0ubuntu3.10+kxstudio1 ([KXStudio](http://kxstudio.linuxaudio.org/Applications))
* [Elementary OS](https://elementary.io/) 0.41/"Loki" (Ubuntu 16.04.1 derivative), fully updated
* Linux machine 4.13.0-43-lowlatency #48~16.04.1-Ubuntu SMP PREEMPT Thu May 17 14:17:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Please advise if there are more details I should provide. TIA.
```
** Message: Ring GNOME client version: 2018.06.06
** Message: git ref: unknown
Updating all accounts
Loading "fbc5d94559f147b8"
Loading "43a9054a7172ce2b"
Loading vcf from: QDir( "/home/amsheppard/.local/share/gnome-ring/profiles" , nameFilters = { "*" }, QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
(gnome-ring:32247): Gtk-WARNING **: GtkGrid does not have a child property called expand
(gnome-ring:32247): Gtk-WARNING **: GtkGrid does not have a child property called fill
(gnome-ring:32247): Gtk-WARNING **: GtkGrid does not have a child property called position
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() ?)
Invalid current audio plugin
QDBusConnection: name 'cx.ring.Ring' had owner '' but we thought it was ':1.40837'
FATAL: Primitive gigacage disabled, but we don't want that in this process.
^C
amsheppard@machine:~$
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
FATAL: Primitive gigacage disabled, but we don't want that in this process.
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
FATAL: Primitive gigacage disabled, but we don't want that in this process.
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
FATAL: Primitive gigacage disabled, but we don't want that in this process.
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
FATAL: Primitive gigacage disabled, but we don't want that in this process.
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
FATAL: Primitive gigacage disabled, but we don't want that in this process.
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
^C
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
amsheppard@machine:~$ FATAL: Primitive gigacage disabled, but we don't want that in this process.
^C
amsheppard@machine:~$
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
^C
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
amsheppard@machine:~$ ^C
amsheppard@machine:~$ FATAL: Primitive gigacage disabled, but we don't want that in this process.
^C
amsheppard@machine:~$
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
FATAL: Primitive gigacage disabled, but we don't want that in this process.
^C
amsheppard@machine:~$
** (gnome-ring:32247): WARNING **: Gtk Web Process crashed! Recreating web view
(gnome-ring:32247): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(gnome-ring:32247): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
FATAL: Primitive gigacage disabled, but we don't want that in this process.
```