Bug 2010161 - mate-power-manager crashed after upgrading to FC35-prerelease
Summary: mate-power-manager crashed after upgrading to FC35-prerelease
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mate-power-manager
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-04 05:14 UTC by Patrick Dung
Modified: 2021-10-04 05:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Patrick Dung 2021-10-04 05:14:11 UTC
Description of problem:
(gdb)
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7ffef4fdacf0, n_fields=4) at ../glib/gmessages.c:556
#1  0x00007fd5ecb120b9 in g_log_default_handler
    (log_domain=log_domain@entry=0x55f5d498d661 "PowerManager", log_level=log_level@entry=6, message=message@entry=0x55f5d4c5c730 "Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied", unused_data=unused_data@entry=0x0)
    at ../glib/gmessages.c:3244
#2  0x00007fd5ecb1348a in g_logv
    (log_domain=0x55f5d498d661 "PowerManager", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>)
    at ../glib/gmessages.c:1386
#3  0x00007fd5ecb13773 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>)
    at ../glib/gmessages.c:1455
#4  0x000055f5d498055a in gpm_manager_systemd_inhibit (proxy=<optimized out>)
    at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-manager.c:1774
#5  gpm_manager_init (manager=0x55f5d4da0120 [GpmManager])
    at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-manager.c:1829
#6  0x00007fd5ecc2c289 in g_type_create_instance (type=0x55f5d4c82c10 [GpmManager]) at ../gobject/gtype.c:1929
#7  0x00007fd5ecc13cad in g_object_new_internal (class=class@entry=0x55f5d4cca4e0, params=params@entry=0x0, n_params=n_params@entry=0)
    at ../gobject/gobject.c:1945
#8  0x00007fd5ecc14c7d in g_object_new_with_properties
    (object_type=0x55f5d4c82c10 [GpmManager], n_properties=0, names=names@entry=0x0, values=values@entry=0x0)
    at ../gobject/gobject.c:2114
#9  0x00007fd5ecc15781 in g_object_new (object_type=<optimized out>, first_property_name=<optimized out>) at ../gobject/gobject.c:1785
#10 0x000055f5d4975faa in gpm_manager_new () at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-manager.c:2019
#11 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-main.c:238
quit)


Version-Release number of selected component (if applicable):
mate-power-manager-1.26.0-1.fc35.x86_64

Additional Info:
I did not change any polkit rules manually.

Comment 1 Patrick Dung 2021-10-04 05:38:58 UTC
Core was generated by `mate-power-manager'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7ffef4fdacf0, n_fields=4) at ../glib/gmessages.c:556
556         G_BREAKPOINT ();
[Current thread is 1 (Thread 0x7fd5e9385a40 (LWP 10863))]
(gdb) thread apply all bt full

Thread 3 (Thread 0x7fd5e2044640 (LWP 10941)):
#0  0x00007fd5ec8d37ff in __GI___poll (fds=0x55f5d4bef3d0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007fd5ecb6021c in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x55f5d4bef3d0, timeout=<optimized out>, context=0x55f5d4ba4830) at ../glib/gmain.c:4478
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7fd5ecb10b00 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = 3
        fds = 0x55f5d4bef3d0
        begin_time_nsec = 21003779262
#2  g_main_context_iterate.constprop.0 (context=0x55f5d4ba4830, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = 3
        fds = 0x55f5d4bef3d0
        begin_time_nsec = 21003779262
#3  0x00007fd5ecb0a903 in g_main_loop_run (loop=0x55f5d4ba4920) at ../glib/gmain.c:4373
        __func__ = "g_main_loop_run"
#4  0x00007fd5ecd8d83a in gdbus_shared_thread_func (user_data=0x55f5d4ba4800) at ../gio/gdbusprivate.c:280
        data = 0x55f5d4ba4800
#5  0x00007fd5ecb3a152 in g_thread_proxy (data=0x55f5d4be7d80) at ../glib/gthread.c:827
        thread = 0x55f5d4be7d80
        __func__ = "g_thread_proxy"
--Type <RET> for more, q to quit, c to continue without paging--c
#6  0x00007fd5ec85bb17 in start_thread (arg=<optimized out>) at pthread_create.c:435
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140556596692544, 5448130909337467030, 140556596692544, 11, 140556772948096, 0, -5462758346180085610, -5462726464565757802}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#7  0x00007fd5ec8e06a0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7fd5e2845640 (LWP 10939)):
#0  0x00007fd5ec8d37ff in __GI___poll (fds=0x55f5d4bdd250, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007fd5ecb6021c in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55f5d4bdd250, timeout=<optimized out>, context=0x55f5d4bde850) at ../glib/gmain.c:4478
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7fd5ecb10b00 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x55f5d4bdd250
        begin_time_nsec = 20651889734
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x55f5d4bde850, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x55f5d4bdd250
        begin_time_nsec = 20651889734
#3  0x00007fd5ecb089e3 in g_main_context_iteration (context=0x55f5d4bde850, may_block=may_block@entry=1) at ../glib/gmain.c:4240
        retval = <optimized out>
#4  0x00007fd5ecb08a31 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6140
#5  0x00007fd5ecb3a152 in g_thread_proxy (data=0x55f5d4bd5e40) at ../glib/gthread.c:827
        thread = 0x55f5d4bd5e40
        __func__ = "g_thread_proxy"
#6  0x00007fd5ec85bb17 in start_thread (arg=<optimized out>) at pthread_create.c:435
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140556605085248, 5448130909337467030, 140556605085248, 0, 140556772948096, 0, -5462757243984103274, -5462726464565757802}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#7  0x00007fd5ec8e06a0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7fd5e9385a40 (LWP 10863)):
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7ffef4fdacf0, n_fields=4) at ../glib/gmessages.c:556
        __func__ = "g_log_structured_array"
#1  0x00007fd5ecb120b9 in g_log_default_handler (log_domain=log_domain@entry=0x55f5d498d661 "PowerManager", log_level=log_level@entry=6, message=message@entry=0x55f5d4c5c730 "Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied", unused_data=unused_data@entry=0x0) at ../glib/gmessages.c:3244
        fields = {{key = 0x7fd5ecb6e207 "GLIB_OLD_LOG_API", value = 0x7fd5ecb6c260, length = -1}, {key = 0x7fd5ecb6e148 "MESSAGE", value = 0x55f5d4c5c730, length = -1}, {key = 0x7fd5ecb6e15b "PRIORITY", value = 0x7fd5ecb6870c, length = -1}, {key = 0x7fd5ecb6e1b5 "GLIB_DOMAIN", value = 0x55f5d498d661, length = -1}}
        n_fields = <optimized out>
#2  0x00007fd5ecb1348a in g_logv (log_domain=0x55f5d498d661 "PowerManager", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1386
        domain = 0x0
        data = 0x0
        depth = <optimized out>
        log_func = 0x7fd5ecb12000 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = 0
        test_level = 6
        was_fatal = <optimized out>
        was_recursion = <optimized out>
        msg = 0x55f5d4c5c730 "Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied"
        msg_alloc = 0x55f5d4c5c730 "Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied"
        i = 2
#3  0x00007fd5ecb13773 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at ../glib/gmessages.c:1455
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffef4fdaf20, reg_save_area = 0x7ffef4fdae60}}
#4  0x000055f5d498055a in gpm_manager_systemd_inhibit (proxy=<optimized out>) at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-manager.c:1774
        fd = -1
        fd_list = 0x0
        arg_who = 0x55f5d4c5f400 "dkt"
        arg_why = 0x55f5d498ec08 "Mate power manager handles these events"
        arg_mode = 0x55f5d498d47b "block"
        error = 0x55f5d4c6e900
        r = -1
        res = 0x0
        arg_what = 0x55f5d498ec30 "handle-power-key:handle-suspend-key:handle-lid-switch"
        check_type_cpu = <optimized out>
        connection = 0x55f5d4bc3d48
        error = 0x0
#5  gpm_manager_init (manager=0x55f5d4da0120 [GpmManager]) at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-manager.c:1829
        check_type_cpu = <optimized out>
        connection = 0x55f5d4bc3d48
        error = 0x0
#6  0x00007fd5ecc2c289 in g_type_create_instance (type=0x55f5d4c82c10 [GpmManager]) at ../gobject/gtype.c:1929
        node = 0x55f5d4c82c10
        instance = 0x55f5d4da0120 [GpmManager]
        class = 0x55f5d4c82c10 [g_type: GpmManager]
        allocated = <optimized out>
        private_size = <optimized out>
        ivar_size = <optimized out>
        i = <optimized out>
#7  0x00007fd5ecc13cad in g_object_new_internal (class=class@entry=0x55f5d4cca4e0, params=params@entry=0x0, n_params=n_params@entry=0) at ../gobject/gobject.c:1945
        nqueue = 0x0
        object = <optimized out>
        __func__ = "g_object_new_internal"
#8  0x00007fd5ecc14c7d in g_object_new_with_properties (object_type=0x55f5d4c82c10 [GpmManager], n_properties=0, names=names@entry=0x0, values=values@entry=0x0) at ../gobject/gobject.c:2114
        class = 0x55f5d4cca4e0
        unref_class = 0x55f5d4cca4e0
        object = <optimized out>
        __func__ = "g_object_new_with_properties"
#9  0x00007fd5ecc15781 in g_object_new (object_type=<optimized out>, first_property_name=<optimized out>) at ../gobject/gobject.c:1785
        object = <optimized out>
        var_args = {{gp_offset = 3569888272, fp_offset = 22005, overflow_arg_area = 0x7fd5ecc2a302 <g_type_register_static+274>, reg_save_area = 0x0}}
#10 0x000055f5d4975faa in gpm_manager_new () at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-manager.c:2019
        manager = <optimized out>
        loop = 0x55f5d4c75790
        system_connection = 0x55f5d4bc1a68
        session_connection = 0x55f5d4bc3d48
        version = 0
        timed_exit = 0
        immediate_exit = 0
        session = 0x55f5d4c051c0 [GpmSession]
        manager = 0x0
        error = 0x0
        context = 0x55f5d4b44a90
        ret = <optimized out>
        timer_id = <optimized out>
        options = {{long_name = 0x55f5d498c98a "version", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffef4fdb2d4, description = 0x55f5d498ee18 "Show version of installed program and exit", arg_description = 0x0}, {long_name = 0x55f5d498d6ee "timed-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffef4fdb2d0, description = 0x55f5d498ee48 "Exit after a small delay (for debugging)", arg_description = 0x0}, {long_name = 0x55f5d498d5a3 "immediate-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffef4fdb2cc, description = 0x55f5d498ee78 "Exit after the manager has loaded (for debugging)", 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}}
#11 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/mate-power-manager-1.26.0-1.fc35.x86_64/src/gpm-main.c:238
        loop = 0x55f5d4c75790
        system_connection = 0x55f5d4bc1a68
        session_connection = 0x55f5d4bc3d48
        version = 0
        timed_exit = 0
        immediate_exit = 0
        session = 0x55f5d4c051c0 [GpmSession]
        manager = 0x0
        error = 0x0
        context = 0x55f5d4b44a90
        ret = <optimized out>
        timer_id = <optimized out>
        options = {{long_name = 0x55f5d498c98a "version", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffef4fdb2d4, description = 0x55f5d498ee18 "Show version of installed program and exit", arg_description = 0x0}, {long_name = 0x55f5d498d6ee "timed-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffef4fdb2d0, description = 0x55f5d498ee48 "Exit after a small delay (for debugging)", arg_description = 0x0}, {long_name = 0x55f5d498d5a3 "immediate-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffef4fdb2cc, description = 0x55f5d498ee78 "Exit after the manager has loaded (for debugging)", 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}}


Note You need to log in before you can comment on or make changes to this bug.