$ gdb -batch -n -ex 'set pagination off' -ex bt -ex 'thread apply all bt full' --core /var/crash/0/22780-0-0-11-1512814174-chianamo--usr-lib-upower-upowerd.core /usr/lib/upower/upowerd [New LWP 22780] [New LWP 22828] [New LWP 22827] [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/upower/upowerd'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000563bf5623740 in up_backend_inhibitor_lock_take (backend=0x563bf61934a0) at up-backend.c:501 501 up-backend.c: No such file or directory. [Current thread is 1 (Thread 0x7fd118c38ec0 (LWP 22780))] #0 0x0000563bf5623740 in up_backend_inhibitor_lock_take (backend=0x563bf61934a0 [UpBackend]) at up-backend.c:501 #1 0x00007fd117e60745 in g_type_create_instance (type=) at ../../../../gobject/gtype.c:1866 #2 0x00007fd117e415e8 in g_object_new_internal (class=class@entry=0x563bf61a2e70, params=params@entry=0x0, n_params=n_params@entry=0) at ../../../../gobject/gobject.c:1797 #3 0x00007fd117e42d85 in g_object_new_with_properties (object_type=94815531969952, n_properties=0, names=names@entry=0x0, values=values@entry=0x0) at ../../../../gobject/gobject.c:1965 #4 0x00007fd117e43801 in g_object_new (object_type=, first_property_name=first_property_name@entry=0x0) at ../../../../gobject/gobject.c:1637 #5 0x0000563bf5624769 in up_backend_new () at up-backend.c:699 #6 0x0000563bf5610782 in up_daemon_init (daemon=0x563bf61a9150 [UpDaemon]) at up-daemon.c:1087 #7 0x00007fd117e60745 in g_type_create_instance (type=) at ../../../../gobject/gtype.c:1866 #8 0x00007fd117e415e8 in g_object_new_internal (class=class@entry=0x563bf61a82a0, params=params@entry=0x0, n_params=n_params@entry=0) at ../../../../gobject/gobject.c:1797 #9 0x00007fd117e42d85 in g_object_new_with_properties (object_type=94815531989392, n_properties=0, names=names@entry=0x0, values=values@entry=0x0) at ../../../../gobject/gobject.c:1965 #10 0x00007fd117e43801 in g_object_new (object_type=, first_property_name=first_property_name@entry=0x0) at ../../../../gobject/gobject.c:1637 #11 0x0000563bf5611efa in up_daemon_new () at up-daemon.c:1169 #12 0x0000563bf560fc14 in up_state_new () at up-main.c:72 #13 0x0000563bf560fc14 in main (argc=, argv=) at up-main.c:238 Thread 3 (Thread 0x7fd113b0e700 (LWP 22827)): #0 0x00007fd117426a6d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fd117b63119 in g_main_context_poll (priority=, n_fds=1, fds=0x7fd10c0008e0, timeout=, context=0x563bf61b1080) at ../../../../glib/gmain.c:4187 ret = errsv = poll_func = 0x7fd117b72610 max_priority = 2147483647 timeout = -1 some_ready = nfds = 1 allocated_nfds = 1 fds = 0x7fd10c0008e0 #2 0x00007fd117b63119 in g_main_context_iterate (context=context@entry=0x563bf61b1080, block=block@entry=1, dispatch=dispatch@entry=1, self=) at ../../../../glib/gmain.c:3881 max_priority = 2147483647 timeout = -1 some_ready = nfds = 1 allocated_nfds = 1 fds = 0x7fd10c0008e0 #3 0x00007fd117b6322c in g_main_context_iteration (context=0x563bf61b1080, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947 retval = #4 0x00007fd117b63271 in glib_worker_main (data=) at ../../../../glib/gmain.c:5742 #5 0x00007fd117b8a5f5 in g_thread_proxy (data=0x563bf61aac50) at ../../../../glib/gthread.c:784 thread = 0x563bf61aac50 #6 0x00007fd11645e519 in start_thread (arg=0x7fd113b0e700) at pthread_create.c:456 __res = pd = 0x7fd113b0e700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140535955252992, 1229347209037429875, 140723791422046, 140723791422047, 140536022869408, 140535955252992, -1248161595603075981, -1248156467718046605}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = #7 0x00007fd117430a5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 2 (Thread 0x7fd11330d700 (LWP 22828)): #0 0x00007fd117e596f8 in type_node_any_new_W (pnode=0x563bf6198ec8, ftype=, name=0x7fd1185c7940 "GSimpleAsyncResult", plugin=0x0, type_flags=) at ../../../../gobject/gtype.c:483 j = entries = n_supers = type = 140535692017792 node = 0x7fd104004080 i = node_size = __func__ = "type_node_any_new_W" #1 0x00007fd117e5f7f2 in g_type_register_static (parent_type=, type_name=0x7fd1185c7940 "GSimpleAsyncResult", info=info@entry=0x7fd11330cb60, flags=flags@entry=(unknown: 0)) at ../../../../gobject/gtype.c:2763 node = type = 0 __func__ = "g_type_register_static" #2 0x00007fd117e5fac5 in g_type_register_static_simple (parent_type=parent_type@entry=80, type_name=, class_size=class_size@entry=136, class_init=class_init@entry=0x7fd11851bb10 , instance_size=instance_size@entry=104, instance_init=instance_init@entry=0x7fd11851baf0 , flags=(unknown: 0)) at ../../../../gobject/gtype.c:2716 info = {class_size = 136, base_init = 0x0, base_finalize = 0x0, class_init = 0x7fd11851bb10 , class_finalize = 0x0, class_data = 0x0, instance_size = 104, n_preallocs = 0, instance_init = 0x7fd11851baf0 , value_table = 0x0} __func__ = "g_type_register_static_simple" #3 0x00007fd11851bc50 in g_simple_async_result_get_type () at ../../../../gio/gsimpleasyncresult.c:239 g_define_type_id = g_define_type_id__volatile = 0 #4 0x00007fd1184dc771 in g_async_result_legacy_propagate_error (res=res@entry=0x7fd104003030, error=error@entry=0x7fd11330cc20) at ../../../../gio/gasyncresult.c:197 __inst = 0x7fd104003030 [GTask] __t = __r = #5 0x00007fd11850905a in async_ready_close_callback_wrapper (source_object=0x563bf61b51d0 [GUnixConnection], res=0x7fd104003030, user_data=0x7fd104003100) at ../../../../gio/giostream.c:447 stream = 0x563bf61b51d0 [GUnixConnection] klass = 0x563bf61ac190 task = 0x7fd104003100 [GTask] error = 0x0 success = #6 0x00007fd11852e1a3 in g_task_return_now (task=0x7fd104003030 [GTask]) at ../../../../gio/gtask.c:1145 #7 0x00007fd11852e1d9 in complete_in_idle_cb (task=0x7fd104003030) at ../../../../gio/gtask.c:1159 #8 0x00007fd117b62dd5 in g_main_dispatch (context=0x563bf61bfcb0) at ../../../../glib/gmain.c:3148 dispatch = 0x7fd117b5f710 prev_source = 0x0 was_in_call = 0 user_data = 0x7fd104003030 callback = 0x7fd11852e1d0 cb_funcs = 0x7fd117e2a280 cb_data = 0x7fd1040066c0 need_destroy = source = 0x7fd104006600 current = 0x563bf61b59b0 i = 0 #9 0x00007fd117b62dd5 in g_main_context_dispatch (context=context@entry=0x563bf61bfcb0) at ../../../../glib/gmain.c:3813 #10 0x00007fd117b631a0 in g_main_context_iterate (context=0x563bf61bfcb0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at ../../../../glib/gmain.c:3886 max_priority = 0 timeout = 0 some_ready = 1 nfds = allocated_nfds = 2 fds = 0x7fd1040010c0 #11 0x00007fd117b634b2 in g_main_loop_run (loop=0x563bf61c11f0) at ../../../../glib/gmain.c:4082 __func__ = "g_main_loop_run" #12 0x00007fd11856fad6 in gdbus_shared_thread_func (user_data=0x563bf61bfc80) at ../../../../gio/gdbusprivate.c:275 data = 0x563bf61bfc80 #13 0x00007fd117b8a5f5 in g_thread_proxy (data=0x563bf61aacf0) at ../../../../glib/gthread.c:784 thread = 0x563bf61aacf0 #14 0x00007fd11645e519 in start_thread (arg=0x7fd11330d700) at pthread_create.c:456 __res = pd = 0x7fd11330d700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140535946860288, 1229347209037429875, 140723791421998, 140723791421999, 140536022869408, 140535946860288, -1248162694577832845, -1248156467718046605}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = #15 0x00007fd117430a5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 1 (Thread 0x7fd118c38ec0 (LWP 22780)): #0 0x0000563bf5623740 in up_backend_inhibitor_lock_take (backend=0x563bf61934a0 [UpBackend]) at up-backend.c:501 out = 0x0 input = fds = 0x0 error = 0x0 #1 0x00007fd117e60745 in g_type_create_instance (type=) at ../../../../gobject/gtype.c:1866 instance = 0x563bf61934a0 [UpBackend] class = 0x563bf61a2e70 allocated = private_size = ivar_size = i = #2 0x00007fd117e415e8 in g_object_new_internal (class=class@entry=0x563bf61a2e70, params=params@entry=0x0, n_params=n_params@entry=0) at ../../../../gobject/gobject.c:1797 nqueue = 0x0 object = __func__ = "g_object_new_internal" #3 0x00007fd117e42d85 in g_object_new_with_properties (object_type=94815531969952, n_properties=0, names=names@entry=0x0, values=values@entry=0x0) at ../../../../gobject/gobject.c:1965 class = 0x563bf61a2e70 unref_class = 0x563bf61a2e70 object = __func__ = "g_object_new_with_properties" #4 0x00007fd117e43801 in g_object_new (object_type=, first_property_name=first_property_name@entry=0x0) at ../../../../gobject/gobject.c:1637 var_args = {{gp_offset = 108, fp_offset = 0, overflow_arg_area = 0x15538e0da5e8cf00, reg_save_area = 0x563bf61a7990}} #5 0x0000563bf5624769 in up_backend_new () at up-backend.c:699 #6 0x0000563bf5610782 in up_daemon_init (daemon=0x563bf61a9150 [UpDaemon]) at up-daemon.c:1087 #7 0x00007fd117e60745 in g_type_create_instance (type=) at ../../../../gobject/gtype.c:1866 instance = 0x563bf61a9150 [UpDaemon] class = 0x563bf61a82a0 allocated = private_size = ivar_size = i = #8 0x00007fd117e415e8 in g_object_new_internal (class=class@entry=0x563bf61a82a0, params=params@entry=0x0, n_params=n_params@entry=0) at ../../../../gobject/gobject.c:1797 nqueue = 0x0 object = __func__ = "g_object_new_internal" #9 0x00007fd117e42d85 in g_object_new_with_properties (object_type=94815531989392, n_properties=0, names=names@entry=0x0, values=values@entry=0x0) at ../../../../gobject/gobject.c:1965 class = 0x563bf61a82a0 unref_class = 0x563bf61a82a0 object = __func__ = "g_object_new_with_properties" #10 0x00007fd117e43801 in g_object_new (object_type=, first_property_name=first_property_name@entry=0x0) at ../../../../gobject/gobject.c:1637 var_args = {{gp_offset = 4128929792, fp_offset = 22075, overflow_arg_area = 0x2, reg_save_area = 0x563bf61a6f20}} #11 0x0000563bf5611efa in up_daemon_new () at up-daemon.c:1169 #12 0x0000563bf560fc14 in up_state_new () at up-main.c:72 state = 0x563bf61a10e0 error = 0x0 context = timed_exit = 0 immediate_exit = 0 timer_id = 0 verbose = 0 options = {{long_name = 0x563bf562e3a1 "timed-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffccf996cec, description = 0x563bf562e3ac "Exit after a small delay", arg_description = 0x0}, {long_name = 0x563bf562e3c5 "immediate-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffccf996cf0, description = 0x563bf562e450 "Exit after the engine has loaded", arg_description = 0x0}, {long_name = 0x563bf562e3d4 "verbose", short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffccf996cf4, description = 0x563bf562e478 "Show extra debugging information", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}} #13 0x0000563bf560fc14 in main (argc=, argv=) at up-main.c:238 error = 0x0 context = timed_exit = 0 immediate_exit = 0 timer_id = 0 verbose = 0 options = {{long_name = 0x563bf562e3a1 "timed-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffccf996cec, description = 0x563bf562e3ac "Exit after a small delay", arg_description = 0x0}, {long_name = 0x563bf562e3c5 "immediate-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffccf996cf0, description = 0x563bf562e450 "Exit after the engine has loaded", arg_description = 0x0}, {long_name = 0x563bf562e3d4 "verbose", short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffccf996cf4, description = 0x563bf562e478 "Show extra debugging information", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}