Bug 71202 - random crashes (SIGTRAP)
Summary: random crashes (SIGTRAP)
Status: RESOLVED FIXED
Alias: None
Product: upower
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact:
URL: http://bugs.debian.org/725766
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-04 01:14 UTC by Paul Wise
Modified: 2014-11-26 10:19 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Wise 2013-11-04 01:14:36 UTC
Forwarding http://bugs.debian.org/725766

upower crashes randomly a lot recently. Since I have corekeeper[1] installed, it generated a core file, I have included the backtrace below. If this report is not useful, please close it and sorry for the noise.

1. http://packages.debian.org/unstable/corekeeper

sudo gdb -batch -n -ex bt -ex 'thread apply all bt full' --core /var/crash/0/1032-0-0-5-1383380363-chianamo--usr-lib-upower-upowerd.core /usr/lib/upower/upowerd
[New LWP 1032]
[New LWP 1552]
[New LWP 1603]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[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 5, Trace/breakpoint trap.
#0  g_logv (log_domain=0x7f4238d8a9f4 "UPower", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fff984a0148) at /tmp/buildd/glib2.0-2.36.4/./glib/gmessages.c:981
981	/tmp/buildd/glib2.0-2.36.4/./glib/gmessages.c: No such file or directory.
#0  g_logv (log_domain=0x7f4238d8a9f4 "UPower", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fff984a0148) at /tmp/buildd/glib2.0-2.36.4/./glib/gmessages.c:981
#1  0x00007f423768f072 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./glib/gmessages.c:1010
#2  0x00007f4238d73c43 in ?? ()
#3  0x00007f423796ef4c in g_type_create_instance (type=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./gobject/gtype.c:1917
#4  0x00007f4237953a58 in g_object_constructor (type=<optimized out>, n_construct_properties=0, construct_params=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1855
#5  0x00007f42379554d1 in g_object_newv (object_type=object_type@entry=139922425072752, n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1638
#6  0x00007f4237955b2c in g_object_new (object_type=139922425072752, first_property_name=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1548
#7  0x00007f4238d74191 in ?? ()
#8  0x00007f4238d79cb0 in ?? ()
#9  0x00007f423796ef4c in g_type_create_instance (type=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./gobject/gtype.c:1917
#10 0x00007f4237953a58 in g_object_constructor (type=<optimized out>, n_construct_properties=0, construct_params=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1855
#11 0x00007f42379554d1 in g_object_newv (object_type=object_type@entry=139922425067984, n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1638
#12 0x00007f4237955b2c in g_object_new (object_type=139922425067984, first_property_name=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1548
#13 0x00007f4238d7a092 in ?? ()
#14 0x00007f4238d73885 in ?? ()
#15 0x00007f4236e8e995 in __libc_start_main (main=0x7f4238d73490, argc=1, ubp_av=0x7fff984a09c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff984a09b8) at libc-start.c:260
#16 0x00007f4238d739ab in ?? ()

Thread 3 (Thread 0x7f4233b35700 (LWP 1603)):
#0  0x00007f4236f4a24d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007f4237688194 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7f42240010c0, timeout=-1, context=0x7f423a725070) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3995
        poll_func = 0x7f4237696dd0 <g_poll>
#2  g_main_context_iterate (context=0x7f423a725070, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3696
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = 3
        fds = 0x7f42240010c0
#3  0x00007f42376885fa in g_main_loop_run (loop=0x7f423a725000) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3895
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#4  0x00007f4236bd8d26 in gdbus_shared_thread_func (user_data=0x7f423a725040) at /tmp/buildd/glib2.0-2.36.4/./gio/gdbusprivate.c:278
        data = 0x7f423a725040
#5  0x00007f42376ac1d5 in g_thread_proxy (data=0x7f423a722370) at /tmp/buildd/glib2.0-2.36.4/./glib/gthread.c:798
        thread = 0x7f423a722370
#6  0x00007f42368fde0e in start_thread (arg=0x7f4233b35700) at pthread_create.c:311
        __res = <optimized out>
        pd = 0x7f4233b35700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139922311960320, 3256170743446467652, 0, 140735748374080, 4096, 139922311960320, -3191827913078639548, -3191834883277491132}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f4236f559ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

Thread 2 (Thread 0x7f4234336700 (LWP 1552)):
#0  0x00007f4236f4a24d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007f4237688194 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f422c0008e0, timeout=-1, context=0x7f423a714710) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3995
        poll_func = 0x7f4237696dd0 <g_poll>
#2  g_main_context_iterate (context=context@entry=0x7f423a714710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3696
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7f422c0008e0
#3  0x00007f423768829c in g_main_context_iteration (context=0x7f423a714710, may_block=may_block@entry=1) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3762
        retval = <optimized out>
#4  0x00007f42376882e9 in glib_worker_main (data=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:5427
No locals.
#5  0x00007f42376ac1d5 in g_thread_proxy (data=0x7f423a712c50) at /tmp/buildd/glib2.0-2.36.4/./glib/gthread.c:798
        thread = 0x7f423a712c50
#6  0x00007f42368fde0e in start_thread (arg=0x7f4234336700) at pthread_create.c:311
        __res = <optimized out>
        pd = 0x7f4234336700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139922320353024, 3256170743446467652, 0, 140735748375712, 4096, 139922320353024, -3191831211076651964, -3191834883277491132}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f4236f559ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

Thread 1 (Thread 0x7f4238d36800 (LWP 1032)):
#0  g_logv (log_domain=0x7f4238d8a9f4 "UPower", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fff984a0148) at /tmp/buildd/glib2.0-2.36.4/./glib/gmessages.c:981
        domain = 0x0
        data = 0x0
        depth = 0
        log_func = 0x7f423768e6e0 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = <optimized out>
        test_level = <optimized out>
        was_fatal = <optimized out>
        was_recursion = <optimized out>
        msg = 0x7f423a727130 "failed to get pokit authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached"
        msg_alloc = 0x7f423a727130 "failed to get pokit authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached"
        i = 2
#1  0x00007f423768f072 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./glib/gmessages.c:1010
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fff984a0220, reg_save_area = 0x7fff984a0160}}
#2  0x00007f4238d73c43 in ?? ()
No symbol table info available.
#3  0x00007f423796ef4c in g_type_create_instance (type=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./gobject/gtype.c:1917
        instance = 0x7f423a710e30
        class = 0x7f423a714d40
        i = <optimized out>
        total_size = <optimized out>
#4  0x00007f4237953a58 in g_object_constructor (type=<optimized out>, n_construct_properties=0, construct_params=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1855
        object = <optimized out>
#5  0x00007f42379554d1 in g_object_newv (object_type=object_type@entry=139922425072752, n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1638
        cparams = 0x0
        oparams = 0x0
        nqueue = 0x0
        object = <optimized out>
        class = 0x7f423a714d40
        unref_class = 0x7f423a714d40
        slist = 0x0
        n_total_cparams = <optimized out>
        n_cparams = 0
        n_oparams = 0
        n_cvalues = <optimized out>
        cvalues = <optimized out>
        clist = <optimized out>
        newly_constructed = <optimized out>
        i = <optimized out>
        __PRETTY_FUNCTION__ = "g_object_newv"
#6  0x00007f4237955b2c in g_object_new (object_type=139922425072752, first_property_name=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1548
        var_args = {{gp_offset = 953710532, fp_offset = 32578, overflow_arg_area = 0x7f4238d877c4, reg_save_area = 0x7fff984a0450}}
        __PRETTY_FUNCTION__ = "g_object_new"
#7  0x00007f4238d74191 in ?? ()
No symbol table info available.
#8  0x00007f4238d79cb0 in ?? ()
No symbol table info available.
#9  0x00007f423796ef4c in g_type_create_instance (type=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./gobject/gtype.c:1917
        instance = 0x7f423a712630
        class = 0x7f423a714a20
        i = <optimized out>
        total_size = <optimized out>
#10 0x00007f4237953a58 in g_object_constructor (type=<optimized out>, n_construct_properties=0, construct_params=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1855
        object = <optimized out>
#11 0x00007f42379554d1 in g_object_newv (object_type=object_type@entry=139922425067984, n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1638
        cparams = 0x0
        oparams = 0x0
        nqueue = 0x0
        object = <optimized out>
        class = 0x7f423a714a20
        unref_class = 0x7f423a714a20
        slist = 0x0
        n_total_cparams = <optimized out>
        n_cparams = 0
        n_oparams = 0
        n_cvalues = <optimized out>
        cvalues = <optimized out>
        clist = <optimized out>
        newly_constructed = <optimized out>
        i = <optimized out>
        __PRETTY_FUNCTION__ = "g_object_newv"
#12 0x00007f4237955b2c in g_object_new (object_type=139922425067984, first_property_name=0x0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1548
        var_args = {{gp_offset = 953718980, fp_offset = 32578, overflow_arg_area = 0x7f4238d898c4, reg_save_area = 0x7fff984a0710}}
        __PRETTY_FUNCTION__ = "g_object_new"
#13 0x00007f4238d7a092 in ?? ()
No symbol table info available.
#14 0x00007f4238d73885 in ?? ()
No symbol table info available.
#15 0x00007f4236e8e995 in __libc_start_main (main=0x7f4238d73490, argc=1, ubp_av=0x7fff984a09c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff984a09b8) at libc-start.c:260
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 3256170743446467652, 139922398198146, 140735748377024, 0, 0, -3256367933348809660, -3191834032182692796}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fff984a09d8, 0x7f4238d6b1e8}, data = {prev = 0x0, cleanup = 0x0, canceltype = -1739978280}}}
        not_first_call = <optimized out>
#16 0x00007f4238d739ab in ?? ()
No symbol table info available.
Comment 1 Bastien Nocera 2013-12-13 17:51:56 UTC
We'd need at the very least the UPower debuginfo packages installed. There's no way to identify what the backtrace relates to.
Comment 2 Paul Wise 2013-12-14 01:48:22 UTC
There are no debug packages for upower in Debian yet so I guess this bug should be closed.
Comment 3 Antonio Huete Jiménez 2014-02-21 11:19:28 UTC
Hi,

I'm experiencing something similar in DragonFly BSD just when running it:

i5# /usr/local/libexec/upowerd

(upowerd:74777): UPower-ERROR **: failed to get pokit authority: Error initializing authority: Error sending data: Broken pipe
Trace/BPT trap (core dumped)

Should I open a new bug for this?

I can provide binary/core, etc.

Cheers,
Antonio Huete
Comment 4 Peter Wu 2014-11-26 10:19:01 UTC
Polkit support has been removed in on 14-07-14 (7 July 2014) which ended up in UPower 0.99.1, so the original bug should be gone.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.