$ gdb -batch -n -ex 'set pagination off' -ex bt -ex 'thread apply all bt full' --core /var/crash/1000/29998-1000-1000-11-1503888162-chianamo--usr-bin-gnome-software.core /usr/bin/gnome-software
[New LWP 29998]
[New LWP 30005]
[New LWP 30007]
[New LWP 30194]
[New LWP 30006]
[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/bin/gnome-software --gapplication-service'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI___libc_free (mem=0x801f0fc3) at malloc.c:2966
2966	malloc.c: No such file or directory.
[Current thread is 1 (Thread 0x7f42243feac0 (LWP 29998))]
#0  0x00007f421ffcc524 in __GI___libc_free (mem=0x801f0fc3) at malloc.c:2966
#1  0x00007f422085f30a in g_free (mem=<optimized out>) at ../../../../glib/gmem.c:189
#2  0x00007f4220844f62 in g_error_free (error=0x7f4220849050 <g_direct_equal>) at ../../../../glib/gerror.c:491
#3  0x00007f4220845266 in g_clear_error (err=err@entry=0x55e483965498) at ../../../../glib/gerror.c:674
#4  0x000055e4820aaa29 in get_updates_historical_cb (object=0x55e482d1fe70 [GsPluginLoader], res=0x7f41fc003aa0, data=0x55e483965460) at gs-update-monitor.c:458
#5  0x00007f4220e019d3 in g_task_return_now (task=0x7f41fc003aa0 [GTask]) at ../../../../gio/gtask.c:1145
#6  0x00007f4220e01a09 in complete_in_idle_cb (task=0x7f41fc003aa0) at ../../../../gio/gtask.c:1159
#7  0x00007f4220859aaa in g_main_dispatch (context=0x55e482d25a60) at ../../../../glib/gmain.c:3148
#8  0x00007f4220859aaa in g_main_context_dispatch (context=context@entry=0x55e482d25a60) at ../../../../glib/gmain.c:3813
#9  0x00007f4220859e60 in g_main_context_iterate (context=context@entry=0x55e482d25a60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3886
#10 0x00007f4220859f0c in g_main_context_iteration (context=context@entry=0x55e482d25a60, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#11 0x00007f4220e1731d in g_application_run (application=0x55e482d23140 [GsApplication], argc=2, argv=0x7ffec90c7258) at ../../../../gio/gapplication.c:2378
#12 0x000055e4820786a4 in main (argc=2, argv=0x7ffec90c7258) at gs-main.c:55

Thread 5 (Thread 0x7f42137ed700 (LWP 30006)):
#0  0x00007f422003066d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4220859df6 in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f42040010c0, timeout=<optimized out>, context=0x55e482d27110) at ../../../../glib/gmain.c:4185
        poll_func = 0x7f4220869b40 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = 3
        fds = 0x7f42040010c0
#2  0x00007f4220859df6 in g_main_context_iterate (context=0x55e482d27110, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = 3
        fds = 0x7f42040010c0
#3  0x00007f422085a182 in g_main_loop_run (loop=0x55e482d292b0) at ../../../../glib/gmain.c:4082
        __func__ = "g_main_loop_run"
#4  0x00007f4220e43366 in gdbus_shared_thread_func (user_data=0x55e482d26cb0) at ../../../../gio/gdbusprivate.c:275
        data = 0x55e482d26cb0
#5  0x00007f4220881cf5 in g_thread_proxy (data=0x55e482d1b0f0) at ../../../../glib/gthread.c:784
        thread = 0x55e482d1b0f0
#6  0x00007f42202f5494 in start_thread (arg=0x7f42137ed700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f42137ed700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139921771648768, 3447044719780339191, 0, 140732271453967, 0, 139922053124160, -3363491739600642569, -3363594401940070921}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f4220039abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7f41fbfff700 (LWP 30194)):
#0  0x00007f4220035219 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f422089feea in g_cond_wait_until (cond=cond@entry=0x55e482d28e88, mutex=mutex@entry=0x55e482d28e80, end_time=end_time@entry=322865506218) at ../../../../glib/gthread-posix.c:1442
        now = {tv_sec = 322865, tv_nsec = 6218731}
        span = {tv_sec = 0, tv_nsec = 499999269}
        sampled = 1
        res = <optimized out>
#2  0x00007f422082e109 in g_async_queue_pop_intern_unlocked (queue=0x55e482d28e80, wait=wait@entry=1, end_time=322865506218) at ../../../../glib/gasyncqueue.c:422
        retval = <optimized out>
        __func__ = "g_async_queue_pop_intern_unlocked"
#3  0x00007f422082e768 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at ../../../../glib/gasyncqueue.c:570
        end_time = <optimized out>
#4  0x00007f42208826c6 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../../../../glib/gthreadpool.c:262
        task = <optimized out>
        pool = 0x55e482d25930
#5  0x00007f42208826c6 in g_thread_pool_thread_proxy (data=<optimized out>) at ../../../../glib/gthreadpool.c:296
        pool = 0x55e482d25930
#6  0x00007f4220881cf5 in g_thread_proxy (data=0x55e482d88a30) at ../../../../glib/gthread.c:784
        thread = 0x55e482d88a30
#7  0x00007f42202f5494 in start_thread (arg=0x7f41fbfff700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f41fbfff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139921377457920, 3447044719780339191, 0, 140732271453695, 0, 139922053124160, -3362593431084556809, -3363594401940070921}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0x00007f4220039abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7f4212d99700 (LWP 30007)):
#0  0x00007f422003066d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4220859df6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f42080010c0, timeout=<optimized out>, context=0x55e482d460d0) at ../../../../glib/gmain.c:4185
        poll_func = 0x7f4220869b40 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7f42080010c0
#2  0x00007f4220859df6 in g_main_context_iterate (context=context@entry=0x55e482d460d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7f42080010c0
#3  0x00007f4220859f0c in g_main_context_iteration (context=context@entry=0x55e482d460d0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
        retval = <optimized out>
#4  0x00007f4212da146d in dconf_gdbus_worker_thread (user_data=0x55e482d460d0) at dconf-gdbus-thread.c:82
        context = 0x55e482d460d0
#5  0x00007f4220881cf5 in g_thread_proxy (data=0x55e482d1b280) at ../../../../glib/gthread.c:784
        thread = 0x55e482d1b280
#6  0x00007f42202f5494 in start_thread (arg=0x7f4212d99700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f4212d99700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139921760818944, 3447044719780339191, 0, 140732271452095, 0, 139922053124160, -3363492536317075977, -3363594401940070921}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f4220039abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f4213fee700 (LWP 30005)):
#0  0x00007f422003066d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4220859df6 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f420c0008c0, timeout=<optimized out>, context=0x55e482d28fc0) at ../../../../glib/gmain.c:4185
        poll_func = 0x7f4220869b40 <g_poll>
        max_priority = 2147483647
        timeout = 3997
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x7f420c0008c0
#2  0x00007f4220859df6 in g_main_context_iterate (context=context@entry=0x55e482d28fc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
        max_priority = 2147483647
        timeout = 3997
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x7f420c0008c0
#3  0x00007f4220859f0c in g_main_context_iteration (context=0x55e482d28fc0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
        retval = <optimized out>
#4  0x00007f4220859f51 in glib_worker_main (data=<optimized out>) at ../../../../glib/gmain.c:5738
#5  0x00007f4220881cf5 in g_thread_proxy (data=0x55e482d1b050) at ../../../../glib/gthread.c:784
        thread = 0x55e482d1b050
#6  0x00007f42202f5494 in start_thread (arg=0x7f4213fee700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f4213fee700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139921780041472, 3447044719780339191, 0, 140732271453551, 0, 139922053124160, -3363490639552143881, -3363594401940070921}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f4220039abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f42243feac0 (LWP 29998)):
#0  0x00007f421ffcc524 in __GI___libc_free (mem=0x801f0fc3) at malloc.c:2966
        ar_ptr = <optimized out>
        p = <optimized out>
        hook = 0x0
#1  0x00007f422085f30a in g_free (mem=<optimized out>) at ../../../../glib/gmem.c:189
#2  0x00007f4220844f62 in g_error_free (error=0x7f4220849050 <g_direct_equal>) at ../../../../glib/gerror.c:491
#3  0x00007f4220845266 in g_clear_error (err=err@entry=0x55e483965498) at ../../../../glib/gerror.c:674
#4  0x000055e4820aaa29 in get_updates_historical_cb (object=0x55e482d1fe70 [GsPluginLoader], res=0x7f41fc003aa0, data=0x55e483965460) at gs-update-monitor.c:458
        monitor = 0x55e483965460
        app = <optimized out>
        message = <optimized out>
        title = <optimized out>
        time_last_notified = 139921109249616
        error = 0x7f41fc001360
        apps = <optimized out>
        notification = 0x0
#5  0x00007f4220e019d3 in g_task_return_now (task=0x7f41fc003aa0 [GTask]) at ../../../../gio/gtask.c:1145
#6  0x00007f4220e01a09 in complete_in_idle_cb (task=0x7f41fc003aa0) at ../../../../gio/gtask.c:1159
#7  0x00007f4220859aaa in g_main_dispatch (context=0x55e482d25a60) at ../../../../glib/gmain.c:3148
        dispatch = 0x7f42208564a0 <g_idle_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x7f41fc003aa0
        callback = 0x7f4220e01a00 <complete_in_idle_cb>
        cb_funcs = <optimized out>
        cb_data = 0x7f41ec038fa0
        need_destroy = <optimized out>
        source = 0x7f41ec036e50
        current = 0x55e482d30d40
        i = 0
#8  0x00007f4220859aaa in g_main_context_dispatch (context=context@entry=0x55e482d25a60) at ../../../../glib/gmain.c:3813
#9  0x00007f4220859e60 in g_main_context_iterate (context=context@entry=0x55e482d25a60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3886
        max_priority = 2147483647
        timeout = 5000
        some_ready = 1
        nfds = 4
        allocated_nfds = 4
        fds = <optimized out>
#10 0x00007f4220859f0c in g_main_context_iteration (context=context@entry=0x55e482d25a60, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
        retval = <optimized out>
#11 0x00007f4220e1731d in g_application_run (application=0x55e482d23140 [GsApplication], argc=2, argv=0x7ffec90c7258) at ../../../../gio/gapplication.c:2378
        arguments = 0x55e482d22d40
        status = 0
        context = 0x55e482d25a60
        acquired_context = <optimized out>
        __func__ = "g_application_run"
#12 0x000055e4820786a4 in main (argc=2, argv=0x7ffec90c7258) at gs-main.c:55
        status = 0
        application = 0x55e482d23140
        debug = 0x55e482d17000
        profile = 0x55e482d1b000
        ptask = 0x55e482d1c070
        __func__ = "main"
