gst_date_time_new_local_time() segfault on startup
Lollypop crash on Arch Linux with the following backtrace. Can reliably reproduce if more info is needed. It might be a gstreamer bug.
gdb -ex r --args python /bin/lollypop
Thread 32 "python" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffaffff700 (LWP 8456)]
0x00007ffff4094b74 in gst_date_time_new_local_time () from /usr/lib/libgstreamer-1.0.so.0
(gdb) bt
#0 0x00007ffff4094b74 in gst_date_time_new_local_time () at /usr/lib/libgstreamer-1.0.so.0
#1 0x00007ffff7f7f69a in ffi_call_unix64 () at /usr/lib/libffi.so.6
#2 0x00007ffff7f7efb6 in ffi_call () at /usr/lib/libffi.so.6
#3 0x00007ffff6f503a2 in () at /usr/lib/python3.8/site-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so
#4 0x00007ffff6f50f77 in () at /usr/lib/python3.8/site-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so
#5 0x00007ffff6f4f982 in () at /usr/lib/python3.8/site-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so
#6 0x00007ffff6f554ae in () at /usr/lib/python3.8/site-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so
#7 0x00007ffff7b19f42 in _PyObject_MakeTpCall () at /usr/lib/libpython3.8.so.1.0
#8 0x00007ffff7bd798f in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#9 0x00007ffff7bc40dd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#10 0x00007ffff7bd32ae in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#11 0x00007ffff7bc2f34 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0
#12 0x00007ffff7bc42bb in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#13 0x00007ffff7bd32ae in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#14 0x00007ffff7bc40dd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#15 0x00007ffff7bd32ae in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#16 0x00007ffff7bc40dd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#17 0x00007ffff7b1ff2d in PyObject_Call () at /usr/lib/libpython3.8.so.1.0
#18 0x00007ffff7bd4de7 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#19 0x00007ffff7bc2f34 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0
#20 0x00007ffff7bc42bb in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#21 0x00007ffff7bc4aeb in () at /usr/lib/libpython3.8.so.1.0
#22 0x00007ffff7b1ff2d in PyObject_Call () at /usr/lib/libpython3.8.so.1.0
#23 0x00007ffff7bd4de7 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#24 0x00007ffff7bc2f34 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0
#25 0x00007ffff7bc42bb in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#26 0x00007ffff7bc4aeb in () at /usr/lib/libpython3.8.so.1.0
#27 0x00007ffff7b1ff2d in PyObject_Call () at /usr/lib/libpython3.8.so.1.0
#28 0x00007ffff7bd4de7 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#29 0x00007ffff7bc40dd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#30 0x00007ffff7bd32ae in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#31 0x00007ffff7bc40dd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#32 0x00007ffff7bd32ae in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#33 0x00007ffff7bc40dd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#34 0x00007ffff7bc4aeb in () at /usr/lib/libpython3.8.so.1.0
#35 0x00007ffff7b1ff2d in PyObject_Call () at /usr/lib/libpython3.8.so.1.0
#36 0x00007ffff7c2e1b1 in () at /usr/lib/libpython3.8.so.1.0
#37 0x00007ffff7be1a24 in () at /usr/lib/libpython3.8.so.1.0
#38 0x00007ffff79cb46f in start_thread () at /usr/lib/libpthread.so.0
#39 0x00007ffff7ea33d3 in clone () at /usr/lib/libc.so.6
Log without gdb looks like this:
[INFO] 2020-03-21 14:13:46 LastFM::__init__(): [Errno 2] Adresář nebo soubor neexistuje: '/home/ondra/.local/share/lollypop/lastfm_queue.bin'
[INFO] 2020-03-21 14:13:46 LastFM::__init__(): [Errno 2] Adresář nebo soubor neexistuje: '/home/ondra/.local/share/lollypop/librefm_queue.bin'
[ERROR] 2020-03-21 14:13:46 LastFM::__on_get_password(): no attributes
[ERROR] 2020-03-21 14:13:46 LastFM::__on_get_password(): no attributes
[INFO] 2020-03-21 14:13:47 Scan started
Neoprávněný přístup do paměti (SIGSEGV) (core dumped [obraz paměti uložen])
Packages:
- community/lollypop 1.2.25-1
- extra/gstreamer 1.16.2-1
- extra/gst-libav 1.16.2-1
- extra/gst-plugins-bad 1.16.2-5
- extra/gst-plugins-bad-libs 1.16.2-5
- extra/gst-plugins-base 1.16.2-1
- extra/gst-plugins-base-libs 1.16.2-1
- extra/gst-plugins-good 1.16.2-3
- extra/gst-plugins-ugly 1.16.2-2
- extra/pygtk 2.24.0-8