You are not logged in.

#1 2018-04-13 17:35:53

Raketenjoint
Member
Registered: 2018-04-13
Posts: 3

[gnome-ring] terminated after std::logic_error

On two different devices starting the messenger client "Ring" (ring-gnome 3:20180407.3.015ce0a-1) throws the error (full log attached):

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid

On both systems I'm using i3 as window manager and on the desktop the gtk theme Ark-Dark-solid.
Should I report in Arch Bug Tracker or rather upstream? Since it would be my first, is some information missing?

Manually starting the demon:
$ /usr/lib/ring/dring -d -c

Ring Daemon 5.1.0-767900a2cc-dirty, by Savoir-faire Linux 2004-2018
https://www.ring.cx/
[Video support enabled]

[1523639540.363| 9368|account_factory.cpp:40   ] registered SIP account
[1523639540.363| 9368|account_factory.cpp:43   ] registered RING account
[1523639540.363| 9368|data_transfer.cpp :430  ] [XFER] facade created, pimpl @0x560a7d887630
[1523639540.363| 9368|ringbufferpool.cpp:115  ] Ringbuffer created with id 'audiolayer_id'
[1523639540.460| 9368|video_device.h    :129  ] Default video settings: 800x600, 30 FPS
[1523639540.460| 9368|video_device_monitor.cpp:182  ] Manager not initialized yet
[1523639540.463| 9368|manager.cpp       :647  ] Not initialized
[1523639540.463| 9368|manager.cpp       :647  ] Not initialized
19:12:20.463         os_core_unix.c !pjlib 2.7.2 for POSIX initialized
[1523639540.463| 9368|manager.cpp       :697  ] pjsip version 2.7.2 for x86_64-pc-linux-gnu initialized
[1523639540.463| 9368|manager.cpp       :700  ] GNU TLS version 3.5.18 initialized
[1523639540.463| 9368|ice_transport.cpp :189  ] [ice] added host stun server
[1523639540.463| 9368|ice_transport.cpp :189  ] [ice] added host stun server
[1523639540.463| 9368|manager.cpp       :707  ] Configuration file path: /home/tm/.config/ring/dring.yml
[1523639540.469| 9368|pulselayer.cpp    :153  ] Waiting....
[1523639540.469| 9370|pulselayer.cpp    :153  ] Waiting....
[1523639540.469| 9370|pulselayer.cpp    :153  ] Waiting....
[1523639540.470| 9370|pulselayer.cpp    :157  ] Connection to PulseAudio server established
[1523639540.470| 9370|pulselayer.cpp    :186  ] Updating PulseAudio sink list
[1523639540.470| 9370|pulselayer.cpp    :202  ] Updating PulseAudio source list
[1523639540.470| 9370|pulselayer.cpp    :218  ] Updating PulseAudio server infos
[1523639540.471| 9370|pulselayer.cpp    :635  ] PulseAudio server info:
    Server name: pulseaudio
    Server version: 11.1
    Default Sink alsa_output.usb-SmartAction_FiiO_USB_Audio_Class_2.0_DAC_0007-00.iec958-stereo
    Default Source alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
    Default Sample Specification: s24le 2ch 192000Hz
    Default Channel Map: front-left,front-right

[1523639544.434| 9368|manager.cpp       :2451 ] Audio manager chosen already in use. No changes made. 
[1523639544.434| 9368|configurationmanager.cpp:624  ] Get audio plugin default
[1523639544.435| 9368|pulselayer.cpp    :153  ] Waiting....
[1523639544.435| 9382|pulselayer.cpp    :153  ] Waiting....
[1523639544.436| 9382|pulselayer.cpp    :153  ] Waiting....
[1523639544.436| 9382|pulselayer.cpp    :157  ] Connection to PulseAudio server established
[1523639544.436| 9382|pulselayer.cpp    :186  ] Updating PulseAudio sink list
[1523639544.436| 9382|pulselayer.cpp    :202  ] Updating PulseAudio source list
[1523639544.436| 9382|pulselayer.cpp    :218  ] Updating PulseAudio server infos
[1523639544.437| 9382|pulselayer.cpp    :635  ] PulseAudio server info:
    Server name: pulseaudio
    Server version: 11.1
    Default Sink alsa_output.usb-SmartAction_FiiO_USB_Audio_Class_2.0_DAC_0007-00.iec958-stereo
    Default Source alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
    Default Sample Specification: s24le 2ch 192000Hz
    Default Channel Map: front-left,front-right

[1523639544.437| 9368|manager.cpp       :2215 ] No audio layer created, possibly built without audio support

Starting the client:
$ gnome-ring -d

** (gnome-ring:9373): DEBUG: 19:12:24.049: debug enabled
** Message: 19:12:24.051: Ring GNOME client version: 1.0.0
** Message: 19:12:24.051: git ref: 670683e5a4e7b994139e76045472273c8a29c385
** (gnome-ring:9373): DEBUG: 19:12:24.051: enabling autostart
** (gnome-ring:9373): DEBUG: 19:12:24.051: checking /usr/share/gnome-ring/gnome-ring.desktop
** (gnome-ring:9373): DEBUG: 19:12:24.051: '/home/tm/.config/autostart/gnome-ring.desktop' is already a symlink to '/usr/share/gnome-ring/gn
Updating all accounts
History doesn't exist or is not readable
Loading vcf from: QDir( "/home/tm/.local/share/gnome-ring/profiles" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::F
** (gnome-ring:9373): DEBUG: 19:12:24.395: notify server name: notify-osd, vendor: Canonical Ltd, version: 1.0, spec: 1.1
(gnome-ring:9373): Gtk-DEBUG: 19:12:24.395: Connecting to session manager
(gnome-ring:9373): Gtk-DEBUG: 19:12:24.396: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(gnome-ring:9373): Gtk-DEBUG: 19:12:24.396: Failed to get the Xfce session proxy: The name org.xfce.SessionManager is not owned
(gnome-ring:9373): Gtk-DEBUG: 19:12:24.397: Failed to get an inhibit portal proxy: The name org.freedesktop.portal.Desktop is not owned

(gnome-ring:9373): Gtk-WARNING **: 19:12:24.429: GtkGrid does not have a child property called expand

(gnome-ring:9373): Gtk-WARNING **: 19:12:24.429: GtkGrid does not have a child property called fill

(gnome-ring:9373): Gtk-WARNING **: 19:12:24.429: 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
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted (core dumped)

Taking a look at the coredump:
$ coredumpctl gdb 9373

           PID: 9373 (gnome-ring)
           UID: 1000 (tm)
           GID: 1000 (tm)
        Signal: 6 (ABRT)
     Timestamp: Fri 2018-04-13 19:12:24 CEST (9min ago)
  Command Line: gnome-ring -d
    Executable: /usr/bin/gnome-ring
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (tm)
       Boot ID: c296697e0ba642beb4e4e8b963e61f58
    Machine ID: fe5dfc2b842d4eb6885fe7f8c4aa1350
      Hostname: tmdesktop
       Storage: /var/lib/systemd/coredump/core.gnome-ring.1000.c296697e0ba642beb4e4e8b963e61f58.9373.1523639544000000.lz4
       Message: Process 9373 (gnome-ring) of user 1000 dumped core.
                
                Stack trace of thread 9373:
                #0  0x00007fbeeeab1860 raise (libc.so.6)
                #1  0x00007fbeeeab2ec9 abort (libc.so.6)
                #2  0x00007fbeef0d9d57 _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6)
                #3  0x00007fbeef0d78c6 _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6)
                #4  0x00007fbeef0d7913 _ZSt9terminatev (libstdc++.so.6)
                #5  0x00007fbeef0d7b68 __cxa_throw (libstdc++.so.6)
                #6  0x00007fbeef1021d3 _ZSt19__throw_logic_errorPKc (libstdc++.so.6)
                #7  0x000055ade8599658 n/a (gnome-ring)
                #8  0x00007fbef4402b9d g_type_create_instance (libgobject-2.0.so.0)
                #9  0x00007fbef43e3259 n/a (libgobject-2.0.so.0)
                #10 0x00007fbef43e4a7d g_object_new_with_properties (libgobject-2.0.so.0)
                #11 0x00007fbef43e5532 g_object_new (libgobject-2.0.so.0)
                #12 0x000055ade856a5ed n/a (gnome-ring)
                #13 0x00007fbef4402b9d g_type_create_instance (libgobject-2.0.so.0)
                #14 0x00007fbef43e3259 n/a (libgobject-2.0.so.0)
                #15 0x00007fbef43e5180 g_object_new_valist (libgobject-2.0.so.0)
                #16 0x00007fbef43e550a g_object_new (libgobject-2.0.so.0)
                #17 0x000055ade854f2ae n/a (gnome-ring)
                #18 0x00007fbef43dda4d g_closure_invoke (libgobject-2.0.so.0)
                #19 0x00007fbef43f0bca n/a (libgobject-2.0.so.0)
                #20 0x00007fbef43f96f6 g_signal_emit_valist (libgobject-2.0.so.0)
                #21 0x00007fbef43fa130 g_signal_emit (libgobject-2.0.so.0)
                #22 0x00007fbef46c46c0 n/a (libgio-2.0.so.0)
                #23 0x00007fbef46c48e2 g_application_run (libgio-2.0.so.0)
                #24 0x00007fbeeea9df4a __libc_start_main (libc.so.6)
                #25 0x000055ade854e7aa _start (gnome-ring)
                
                Stack trace of thread 9385:
                #0  0x00007fbeeeb6d879 syscall (libc.so.6)
                #1  0x00007fbef414a52d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007fbef40d5903 n/a (libglib-2.0.so.0)
                #3  0x00007fbef412c436 n/a (libglib-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9389:
                #0  0x00007fbeeeb6d879 syscall (libc.so.6)
                #1  0x00007fbef414a52d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007fbef40d5903 n/a (libglib-2.0.so.0)
                #3  0x00007fbef412c436 n/a (libglib-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9374:
                #0  0x00007fbeee5e2786 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbee47a808b _ZN7bmalloc9Scavenger13threadRunLoopEv (libjavascriptcoregtk-4.0.so.18)
                #2  0x00007fbeef104b9f execute_native_thread_routine (libstdc++.so.6)
                #3  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #4  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9376:
                #0  0x00007fbeeeb6897b __poll (libc.so.6)
                #1  0x00007fbef4103523 n/a (libglib-2.0.so.0)
                #2  0x00007fbef410363e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fbef4103692 n/a (libglib-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9381:
                #0  0x00007fbeeeb6897b __poll (libc.so.6)
                #1  0x00007fbef4103523 n/a (libglib-2.0.so.0)
                #2  0x00007fbef41038e2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fbef2a5a434 n/a (libedataserver-1.2.so.23)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9375:
                #0  0x00007fbeeeb6897b __poll (libc.so.6)
                #1  0x00007fbef4103523 n/a (libglib-2.0.so.0)
                #2  0x00007fbef410363e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fbed59adf4e n/a (libdconfsettings.so)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)

                Stack trace of thread 9388:
                #0  0x00007fbeeeb6d879 syscall (libc.so.6)
                #1  0x00007fbef414a52d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007fbef40d5903 n/a (libglib-2.0.so.0)
                #3  0x00007fbef412c436 n/a (libglib-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9386:
                #0  0x00007fbeeeb6d879 syscall (libc.so.6)
                #1  0x00007fbef414a52d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007fbef40d5903 n/a (libglib-2.0.so.0)
                #3  0x00007fbef412c436 n/a (libglib-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9380:
                #0  0x00007fbeeeb6d879 syscall (libc.so.6)
                #1  0x00007fbef414a52d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007fbef40d5903 n/a (libglib-2.0.so.0)
                #3  0x00007fbef412c436 n/a (libglib-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9387:
                #0  0x00007fbeeeb6d879 syscall (libc.so.6)
                #1  0x00007fbef414a52d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007fbef40d5903 n/a (libglib-2.0.so.0)
                #3  0x00007fbef412c436 n/a (libglib-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9378:
                #0  0x00007fbeeeb6897b __poll (libc.so.6)
                #1  0x00007fbef4103523 n/a (libglib-2.0.so.0)
                #2  0x00007fbef410363e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fbef3ca8241 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007fbef3c4a32b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007fbef3a5972e _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007fbeee807416 n/a (libQt5DBus.so.5)
                #7  0x00007fbef3a5eacd n/a (libQt5Core.so.5)
                #8  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #9  0x00007fbeeeb72e7f __clone (libc.so.6)
                
                Stack trace of thread 9377:
                #0  0x00007fbeeeb6897b __poll (libc.so.6)
                #1  0x00007fbef4103523 n/a (libglib-2.0.so.0)
                #2  0x00007fbef41038e2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fbef46f2348 n/a (libgio-2.0.so.0)
                #4  0x00007fbef412ba2a n/a (libglib-2.0.so.0)
                #5  0x00007fbeee5dc08c start_thread (libpthread.so.0)
                #6  0x00007fbeeeb72e7f __clone (libc.so.6)

Failed to invoke gdb: Datei oder Verzeichnis nicht gefunden

Offline

#2 2018-04-14 18:01:18

Kewl
Wiki Maintainer
From: UK
Registered: 2018-03-09
Posts: 24

Re: [gnome-ring] terminated after std::logic_error

I have the same issue and the same error message `basic_string::_M_construct null not valid` on one new Arch config while I have another one working, I am trying to debug now.
My config is XFCE / pulseaudio, dring seems fine the problem is with gnome-ring.
Let me know if you found something.

There is an upstream bug report: https://tuleap.ring.cx/plugins/tracker/?aid=1859

Last edited by Kewl (2018-04-14 18:54:46)

Offline

#3 2018-04-14 19:12:34

Raketenjoint
Member
Registered: 2018-04-13
Posts: 3

Re: [gnome-ring] terminated after std::logic_error

I should have also mentioned that I'm xfce and pulseaudio. Thanks for your link to the upstream bug which I couldn't find via google before.
Unfortunately I can't figure out the last time I installed ring (probably some weeks ago) and it was working. But same error for the previous version ring-gnome 3:20180330.1.0d611bb-1 in my pacman cache.
Regarding the last error message, it seems that a string is initialized via NULL or nullptr. Details in https://www.reddit.com/r/cpp_questions/ … n_a_use_a/.
Should take a look in the sourcecode to find this part.

Offline

#4 2018-04-14 19:19:31

Kewl
Wiki Maintainer
From: UK
Registered: 2018-03-09
Posts: 24

Re: [gnome-ring] terminated after std::logic_error

Got it, it requires XDG paths
see https://wiki.archlinux.org/index.php/XD … irectories

Last edited by Kewl (2018-04-14 22:00:20)

Offline

Board footer

Powered by FluxBB