Bug#914616: [ring-daemon] Crashes because of segmentation fault

Bruno Kleinert fuddl at debian.org
Sun Nov 25 18:00:07 GMT 2018


Package: ring-daemon
Version: 20181001.4.a99aaec~ds6-2
Severity: grave

--- Please enter the report below this line. ---
Hi,

dring dies with a segmentation fault when gnome-ring is starting up. I
attached a backtrace. To capture the backtrace, I started
/usr/lib/ring/dring before starting gnome-ring.

The crash causes gnome-ring to not load a users's profile as expected,
but presents a setup dialog to create a new profile instead.

Rebuilding ring without any modifications works as a temporary
workaround. When I installed the rebuilt packages, the dependency
libyaml-cpp0.5v5 got replaced by libyaml-cpp0.5d1.

Cheers - Bruno

--- System information. ---
Architecture: 
Kernel:       Linux 4.18.0-2-amd64

Debian Release: buster/sid
  500 unstable-debug  deb.debian.org 
  500 unstable        deb.debian.org 
    1 experimental-debug deb.debian.org 
    1 experimental    deb.debian.org 

--- Package information. ---
Depends                        (Version) | Installed
========================================-+-===================
libargon2-1              (>= 0~20171227) | 0~20171227-0.1
libasound2                   (>= 1.0.16) | 1.1.7-1
libavcodec58                  (>= 7:4.0) | 7:4.0.3-1
libavdevice58                 (>= 7:4.0) | 7:4.0.3-1
libavfilter7                  (>= 7:4.0) | 7:4.0.3-1
libavformat58                 (>= 7:4.0) | 7:4.0.3-1
libavutil56                   (>= 7:4.0) | 7:4.0.3-1
libc6                          (>= 2.15) | 2.27-8
libdbus-1-3                  (>= 1.9.14) | 1.12.10-1
libdbus-c++-1-0v5                        | 0.9.0-8.1
libgcc1                       (>= 1:3.0) | 1:8.2.0-10
libgnutls30                   (>= 3.5.6) | 3.5.19-1+b1
libixml10                   (>= 1:1.8.0) | 1:1.8.4-2
libjsoncpp1                   (>= 1.7.4) | 1.7.4-3
libnatpmp1                 (>= 20150609) | 20150609-5
libnettle6                               | 3.4-1
libopus0                        (>= 1.1) | 1.3~beta+20180518-1
libpcre3                                 | 2:8.39-11
libpulse0                    (>= 0.99.1) | 12.2-2
librestbed0                              | 4.0~dfsg1-5
libsecp256k1-0         (>= 0.1~20160216) | 0.1~20170810-2
libspeexdsp1          (>= 1.2~beta3.2-1) | 1.2~rc1.2-1+b2
libssl1.1                     (>= 1.1.0) | 1.1.1a-1
libstdc++6                        (>= 7) | 8.2.0-10
libswresample3                (>= 7:4.0) | 7:4.0.3-1
libswscale5                   (>= 7:4.0) | 7:4.0.3-1
libudev1                        (>= 183) | 239-13
libupnp13                   (>= 1:1.8.3) | 1:1.8.4-2
libuuid1                       (>= 2.16) | 2.32.1-0.2
libva-drm2                    (>= 1.1.0) | 2.3.0-2
libva-x11-2                   (>= 1.0.3) | 2.3.0-2
libva2                        (>= 1.0.3) | 2.3.0-2
libvdpau1                       (>= 0.2) | 1.1.1-8
libx11-6                                 | 2:1.6.7-1
libyaml-cpp0.5v5                         | 0.5.3-0.1
zlib1g                    (>= 1:1.2.3.3) | 1:1.2.11.dfsg-1


Package's Recommends field is empty.

Package's Suggests field is empty.




-------------- next part --------------
GNU gdb (Debian 8.1-4+b1) 8.1
Copyright (C) 2018 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 /usr/lib/ring/dring...Reading symbols from /usr/lib/debug/.build-id/e4/5f98aba716efc2d8806329ea78fc8ab00437b1.debug...done.
done.
[New LWP 7249]
[New LWP 7250]
[New LWP 7283]
[New LWP 7958]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/ring/dring'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000561dfe99b7c1 in YAML::detail::node_data::get<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (pMemory=..., 
    key=..., this=<optimized out>) at /usr/include/c++/8/bits/stl_tree.h:984

warning: Source file is more recent than executable.
984	      end() _GLIBCXX_NOEXCEPT
[Current thread is 1 (Thread 0x7ff5b5b73c80 (LWP 7249))]
(gdb) bt full
#0  0x0000561dfe99b7c1 in YAML::detail::node_data::get<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<YAML::detail::memory_holder>) (pMemory=..., key="name", this=<optimized out>) at /usr/include/c++/8/bits/stl_tree.h:984
        it = non-dereferenceable iterator for associative container
        k = <optimized out>
        v = <optimized out>
        value = <optimized out>
#1  0x0000561dfe99b7c1 in YAML::detail::node_ref::get<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<YAML::detail::memory_holder>) (pMemory=..., key="name", this=<optimized out>) at /usr/include/yaml-cpp/node/detail/node_ref.h:65
        value = <optimized out>
#2  0x0000561dfe99b7c1 in YAML::detail::node::get<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<YAML::detail::memory_holder>) (this=0x561dfeea13f0, key="name", pMemory=...) at /usr/include/yaml-cpp/node/detail/node.h:125
        value = <optimized out>
#3  0x0000561dfe9986fc in YAML::Node::operator[]<char [5]>(char const (&) [5]) (key=<synthetic pointer>..., this=0x7ffd46c4f440) at /usr/include/c++/8/ext/new_allocator.h:86
        value = <optimized out>
        node = {m_isValid = true, m_pMemory = {px = 0x561dfeee40f0, pn = {pi_ = 0x561dfee5d050}}, m_pNode = 0x561dfeea13f0}
#4  0x0000561dfe9986fc in YAML::convert<ring::video::VideoSettings>::encode(ring::video::VideoSettings const&) (rhs=...) at video_base.cpp:101
        node = {m_isValid = true, m_pMemory = {px = 0x561dfeee40f0, pn = {pi_ = 0x561dfee5d050}}, m_pNode = 0x561dfeea13f0}
#5  0x0000561dfe99a056 in YAML::operator<<(YAML::Emitter&, ring::video::VideoSettings const&) (out=..., v=...) at video_base.cpp:122
#6  0x0000561dfe99d18f in YAML::EmitSeq<std::vector<ring::video::VideoSettings, std::allocator<ring::video::VideoSettings> > >(YAML::Emitter&, std::vector<ring::video::VideoSettings, std::allocator<ring::video::VideoSettings> > const&) (seq=std::vector of length 1, capacity 1 = {...}, emitter=...) at /usr/include/c++/8/bits/stl_iterator.h:783
        it = {name = "HD Pro Webcam C920", channel = "Camera 1", video_size = "800x600", framerate = "30"}
#7  0x0000561dfe99d18f in YAML::operator<< <ring::video::VideoSettings>(YAML::Emitter&, std::vector<ring::video::VideoSettings, std::allocator<ring::video::VideoSettings> > const&) (v=std::vector of length 1, capacity 1 = {...}, emitter=...)
    at /usr/include/yaml-cpp/stlemitter.h:27
#8  0x0000561dfe99d18f in ring::video::VideoDeviceMonitor::serialize(YAML::Emitter&) (this=0x561dfedbe0a0, out=...) at video_device_monitor.cpp:308
#9  0x0000561dfe9b8c08 in ring::VideoPreferences::serialize(YAML::Emitter&) (this=0x561dfecdc338 <ring::Manager::instance()::instance+696>, out=...) at preferences.cpp:569
#10 0x0000561dfe9c896d in ring::Manager::saveConfig() (this=0x561dfecdc080 <ring::Manager::instance()::instance>) at manager.cpp:1738
        out = 
            {<YAML::noncopyable> = {<No data fields>}, m_pState = {_M_ptr = 0x561dfee8ced0}, m_stream = {m_buffer = std::vector of length 838, capacity 1448 = {97 'a', 99 'c', 99 'c', 111 'o', 117 'u', 110 'n', 116 't', 115 's', 58 ':', 10 '\n', 32 ' ', 32 ' ', 91 '[', 93 ']', 10 '\n', 112 'p', 114 'r', 101 'e', 102 'f', 101 'e', 114 'r', 101 'e', 110 'n', 99 'c', 101 'e', 115 's', 58 ':', 10 '\n', 32 ' ', 32 ' ', 104 'h', 105 'i', 115 's', 116 't', 111 'o', 114 'r', 121 'y', 76 'L', 105 'i', 109 'm', 105 'i', 116 't', 58 ':', 32 ' ', 48 '0', 10 '\n', 32 ' ', 32 ' ', 114 'r', 105 'i', 110 'n', 103 'g', 105 'i', 110 'n', 103 'g', 84 'T', 105 'i', 109 'm', 101 'e', 111 'o', 117 'u', 116 't', 58 ':', 32 ' ', 51 '3', 48 '0', 10 '\n', 32 ' ', 32 ' ', 104 'h', 105 'i', 115 's', 116 't', 111 'o', 114 'r', 121 'y', 77 'M', 97 'a', 120 'x', 67 'C', 97 'a', 108 'l', 108 'l', 115 's', 58 ':', 32 ' ', 50 '2', 48 '0', 10 '\n', 32 ' ', 32 ' ', 109 'm', 100 'd', 53 '5', 72 'H', 97 'a', 115 's', 104 'h', 58 ':', 32 ' ', 102 'f', 97 'a', 108 'l', 115 's', 101 'e', 10 '\n', 32 ' ', 32 ' ', 111 'o', 114 'r', 100 'd', 101 'e', 114 'r', 58 ':', 32 ' ', 34 '"', 34 '"', 10 '\n', 32 ' ', 32 ' ', 112 'p', 111 'o', 114 'r', 116 't', 78 'N', 117 'u', 109 'm', 58 ':', 32 ' ', 53 '5', 48 '0', 54 '6', 48 '0', 10 '\n', 32 ' ', 32 ' ', 114 'r', 101 'e', 103 'g', 105 'i', 115 's', 116 't', 114 'r', 97 'a', 116 't', 105 'i', 111 'o', 110 'n', 101 'e', 120 'x', 112 'p', 105 'i', 114 'r', 101 'e', 58 ':', 32 ' ', 49 '1', 56 '8', 48 '0', 10 '\n', 32 ' ', 32 ' ', 115 's', 101 'e', 97 'a', 114 'r', 99 'c', 104 'h', 66 'B', 97 'a', 114 'r', 68 'D', 105 'i', 115 's', 112 'p', 108 'l', 97 'a', 121 'y', 58 ':', 32 ' ', 116 't', 114 'r', 117 'u', 101 'e', 10 '\n', 32 ' ', 32 ' ', 122 'z', 111 'o', 110 'n', 101 'e', 84 'T', 111 'o', 110 'n', 101 'e', 67 'C', 104 'h', 111 'o', 105 'i', 99 'c'...}, m_pStream = 0x0, m_pos = 837, m_row = 46, m_col = 0, m_comment = false}}
        lock = <optimized out>
        fout = <incomplete type>
#11 0x0000561dfe8cafc4 in DBusVideoManager::setDefaultDevice(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=<optimized out>, dev="HD Pro Webcam C920") at dbusvideomanager.cpp:55
        ri = 
          {_iter = "\360p\347\376\035V\000\000\000\000`\000\375\177\000\000l\000\000\000\000\000\000\000\370p\347\376\035V\000\000\236\000\000\000\000\000\000\000 at q\347\376\035V\000\000\027\000\000\000\000\000\000\000\000\216\335\312\365\177\000\000\000\000\000", _msg = 0x7ffd46c4fab0}
        argin1 = "HD Pro Webcam C920"
        reply = warning: can't find linker symbol for virtual table for `DBus::RefCnt' value
{<DBus::Message> = {_pvt = {__ptr = 0x7ffd46c4f940, __cnt = {_vptr.RefCnt = 0x7ff5cada4af3 <_dbus_type_reader_get_current_type+35>, __ref = 0x7ffd46c4f940}}}, <No data fields>}
#12 0x0000561dfe8cafc4 in cx::ring::Ring::VideoManager_adaptor::_setDefaultDevice_stub(DBus::CallMessage const&) (this=0x561dfee7db00, call=...) at dbusvideomanager.adaptor.h:292
        ri = 
          {_iter = "\360p\347\376\035V\000\000\000\000`\000\375\177\000\000l\000\000\000\000\000\000\000\370p\347\376\035V\000\000\236\000\000\000\000\000\000\000 at q\347\376\035V\000\000\027\000\000\000\000\000\000\000\000\216\335\312\365\177\000\000\000\000\000", _msg = 0x7ffd46c4fab0}
        argin1 = "HD Pro Webcam C920"
        reply = warning: can't find linker symbol for virtual table for `DBus::RefCnt' value
{<DBus::Message> = {_pvt = {__ptr = 0x7ffd46c4f940, __cnt = {_vptr.RefCnt = 0x7ff5cada4af3 <_dbus_type_reader_get_current_type+35>, __ref = 0x7ffd46c4f940}}}, <No data fields>}
#13 0x0000561dfe8ca9cb in DBus::Callback<cx::ring::Ring::VideoManager_adaptor, DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const (this=<optimized out>, param=...) at /usr/include/dbus-c++-1/dbus-c++/util.h:281
#14 0x00007ff5cadf2267 in DBus::InterfaceAdaptor::dispatch_method(DBus::CallMessage const&) () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#15 0x00007ff5cadf9edd in DBus::ObjectAdaptor::handle_message(DBus::Message const&) () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#16 0x00007ff5cadf7e45 in DBus::ObjectAdaptor::Private::message_function_stub(DBusConnection*, DBusMessage*, void*) () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#17 0x00007ff5cadaebbd in  () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#18 0x00007ff5cad9f6d4 in dbus_connection_dispatch () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#19 0x00007ff5caded0e0 in  () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#20 0x00007ff5cadef4d2 in DBus::Dispatcher::dispatch_pending(std::__cxx11::list<DBus::Connection::Private*, std::allocator<DBus::Connection::Private*> >&) () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#21 0x00007ff5cadef5bf in DBus::Dispatcher::dispatch_pending() () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#22 0x00007ff5cadf0a39 in DBus::BusDispatcher::do_iteration() () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#23 0x00007ff5cadf0881 in DBus::BusDispatcher::enter() () at /usr/lib/x86_64-linux-gnu/libdbus-c++-1.so.0
#24 0x0000561dfe8b479f in DBusClient::event_loop() (this=<optimized out>) at /usr/include/c++/8/bits/unique_ptr.h:342
#25 0x0000561dfe8b08df in main (argc=1, argv=<optimized out>) at main.cpp:236
        programName = "/usr/lib/ring/dring"
        persistent = false
#26 0x00007ff5c6fe7b17 in __libc_start_main (main=0x561dfe8b0480 <main>, argc=1, argv=0x7ffd46c50468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd46c50458) at ../csu/libc-start.c:310
        result = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {0, -5434658279151066510, 94686824579408, 140725790770272, 0, 0, -1777435418385407374, -1782220862132411790}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffd46c50478, 0x7ff5cb065170}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1187316856}}}
        not_first_call = <optimized out>
#27 0x0000561dfe8b417a in _start () at main.cpp:241
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20181125/e8351ad1/attachment.sig>


More information about the Pkg-voip-maintainers mailing list