Page MenuHomePhabricator

systray seems to crash at some point over night.
Closed, DuplicatePublic

Description

At some point overnight, e tends to crash, from a quick look at the backtrace it seems to be in the systray icon handling. I'm seeing this in my latest test build of the e22 branch, there is a chance the issue also showed up in the e22.1 release as well.

Thread 6 (Thread 0x7f330e5b4700 (LWP 8657)):
#0  0x00007f33220e5ea6 in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f33220e5f98 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f3322338128 in eina_semaphore_lock (sem=0x55f73aa866a8) at ../src/lib/eina/eina_inline_lock_posix.x:702
        msg = <optimized out>
        blk = 0x16161616
#3  0x00007f3322338128 in _eina_thread_queue_wait (thq=0x55f73aa86680) at lib/eina/eina_thread_queue.c:204
        msg = <optimized out>
        blk = 0x16161616
#4  0x00007f3322338128 in eina_thread_queue_wait (thq=0x55f73aa86680, allocref=allocref@entry=0x7f330e59ad50) at lib/eina/eina_thread_queue.c:477
        msg = <optimized out>
        blk = 0x16161616
#5  0x00007f33252cef62 in _evas_common_scale_sample_thread (data=<optimized out>, t=<optimized out>) at lib/evas/common/evas_scale_sample.c:827
        ref = 0x55f73be6ab30
        msg = <optimized out>
        todo = 0x0
#6  0x00007f3322337387 in _eina_internal_call (context=0x55f73aa84fc0) at lib/eina/eina_thread.c:148
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657318478, 140722657318479, 94520329392064, 140722657318608, 8993854128656422084, 8993915470812615876}, __mask_was_saved = 0}}, __pad = {0x7f330e59adc0, 0x0, 0x0, 0x0}}
        __not_first_call = <optimized out>
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657318478, 140722657318479, 94520329392064, 140722657318608, 8993854128656422084, 8993915470832800964}, __mask_was_saved = 0}}, __pad = {0x7f330e59aed0, 0x0, 0x0, 0x0}}
        __cancel_arg = 0x55f73aa84fc0
        __not_first_call = <optimized out>
        c = 0x55f73aa84fc0
        r = <optimized out>
        self = 139857260922624
#7  0x00007f33220dd59b in start_thread () at /lib64/libpthread.so.0
#8  0x00007f3321a7ea1f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f330edb5700 (LWP 8656)):
#0  0x00007f33220e5ea6 in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f33220e5f98 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f3322338128 in eina_semaphore_lock (sem=0x55f73aa85df8) at ../src/lib/eina/eina_inline_lock_posix.x:702
        msg = <optimized out>
        blk = 0x0
#3  0x00007f3322338128 in _eina_thread_queue_wait (thq=0x55f73aa85dd0) at lib/eina/eina_thread_queue.c:204
        msg = <optimized out>
        blk = 0x0
#4  0x00007f3322338128 in eina_thread_queue_wait (thq=0x55f73aa85dd0, allocref=allocref@entry=0x7f330ed9bb08) at lib/eina/eina_thread_queue.c:477
        msg = <optimized out>
        blk = 0x0
#5  0x00007f33236b1fdf in _drm_tick_core (data=<optimized out>, thread=0x55f73aa85e30) at lib/ecore_x/ecore_x_vsync.c:303
        msg = <optimized out>
        ref = 0x0
        tick = 0
#6  0x00007f33225a9c7c in _ecore_direct_worker (work=0x55f73aa85e30) at lib/ecore/ecore_thread.c:475
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {94520329395760, 8993915693302748356, 140722657313934, 140722657313935, 94520329395632, 140722657314064, 8993855227645859012, 8993915693309170884}, __mask_was_saved = 0}}, __pad = {0x7f330ed9be30, 0x0, 0x7f3322310411 <_eina_debug_thread_add+161>, 0x0}}
        __cancel_routine = 0x7f33225a9ce0 <_ecore_direct_worker_cleanup>
        __cancel_arg = 0x55f73aa85e30
        __not_first_call = <optimized out>
#7  0x00007f3322337387 in _eina_internal_call (context=0x55f73aa85db0) at lib/eina/eina_thread.c:148
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657313934, 140722657313935, 94520329395632, 140722657314064, 8993855227631178948, 8993915470812615876}, __mask_was_saved = 0}}, __pad = {0x7f330ed9bdc0, 0x0, 0x0, 0x0}}
        __not_first_call = <optimized out>
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657313934, 140722657313935, 94520329395632, 140722657314064, 8993855227631178948, 8993915470832800964}, __mask_was_saved = 0}}, __pad = {0x7f330ed9bed0, 0x0, 0x0, 0x0}}
        __cancel_arg = 0x55f73aa85db0
        __not_first_call = <optimized out>
        c = 0x55f73aa85db0
        r = <optimized out>
        self = 139857269315328
#8  0x00007f33220dd59b in start_thread () at /lib64/libpthread.so.0
#9  0x00007f3321a7ea1f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f330fbec700 (LWP 8655)):
#0  0x00007f3321a7ed47 in epoll_wait () at /lib64/libc.so.6
#1  0x00007f332258a918 in _timer_tick_core (data=<optimized out>, thread=0x55f73aa205e0) at lib/ecore/ecore_anim.c:238
        pollfd = 36
        timerfd = 37
        pollev = {events = 1, data = {ptr = 0x22, fd = 34, u32 = 34, u64 = 34}}
        pollincoming = {{events = 1, data = {ptr = 0x22, fd = 34, u32 = 34, u64 = 34}}, {events = 1, data = {ptr = 0x22, fd = 34, u32 = 34, u64 = 34}}}
        timerfdbuf = 1
        i = <optimized out>
        t_ft = <optimized out>
        pframetime = 10
        tspec_new = {it_interval = {tv_sec = 1, tv_nsec = 410065408}, it_value = {tv_sec = 3, tv_nsec = 399924332}}
        tspec_old = {it_interval = {tv_sec = 0, tv_nsec = 0}, it_value = {tv_sec = 0, tv_nsec = 0}}
        rfds = {fds_bits = {0 <repeats 16 times>}}
        wfds = {fds_bits = {0 <repeats 16 times>}}
        exfds = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 139857591439759, 0, 0, 0, 0, 0, -9170281958974636800, 0, 139857284220672}}
        tv = {tv_sec = 0, tv_usec = 0}
        data_control = 0 '\000'
        data_timeout = 0 '\000'
        t = <optimized out>
        tick = 1 '\001'
        t0 = 886379.39049207
        d = 9.3904920700006187
        ft = <optimized out>
        ret = <optimized out>
        __FUNCTION__ = "_timer_tick_core"
#2  0x00007f33225a9c7c in _ecore_direct_worker (work=0x55f73aa205e0) at lib/ecore/ecore_thread.c:475
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {94520328979936, 8993915693302748356, 140722657323150, 140722657323151, 94520330856192, 140722657323280, 8993852715626861764, 8993915693309170884}, __mask_was_saved = 0}}, __pad = {0x7f330fbd2e30, 0x0, 0x7f3322310411 <_eina_debug_thread_add+161>, 0x0}}
        __cancel_routine = 0x7f33225a9ce0 <_ecore_direct_worker_cleanup>
        __cancel_arg = 0x55f73aa205e0
        __not_first_call = <optimized out>
#3  0x00007f3322337387 in _eina_internal_call (context=0x55f73abea700) at lib/eina/eina_thread.c:148
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657323150, 140722657323151, 94520330856192, 140722657323280, 8993852715612181700, 8993915470812615876}, __mask_was_saved = 0}}, __pad = {0x7f330fbd2dc0, 0x0, 0x0, 0x0}}
        __not_first_call = <optimized out>
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657323150, 140722657323151, 94520330856192, 140722657323280, 8993852715612181700, 8993915470832800964}, __mask_was_saved = 0}}, __pad = {0x7f330fbd2ed0, 0x0, 0x0, 0x0}}
        __cancel_arg = 0x55f73abea700
        __not_first_call = <optimized out>
        c = 0x55f73abea700
        r = <optimized out>
        self = 139857284220672
#4  0x00007f33220dd59b in start_thread () at /lib64/libpthread.so.0
#5  0x00007f3321a7ea1f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f3314b43700 (LWP 8653)):
#0  0x00007f33220e356c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33252d9475 in eina_condition_wait (cond=0x7f33255c2e60 <evas_thread_queue_condition>) at ../src/lib/eina/eina_inline_lock_posix.x:351
        r = 0 '\000'
        ok = <optimized out>
        cmd = <optimized out>
        len = <optimized out>
        max = <optimized out>
        __FUNCTION__ = "evas_thread_worker_func"
        __PRETTY_FUNCTION__ = "evas_thread_worker_func"
#2  0x00007f33252d9475 in evas_thread_worker_func (data=<optimized out>, thread=<optimized out>) at lib/evas/common/evas_thread_render.c:134
        cmd = <optimized out>
        len = <optimized out>
        max = <optimized out>
        __FUNCTION__ = "evas_thread_worker_func"
        __PRETTY_FUNCTION__ = "evas_thread_worker_func"
#3  0x00007f3322337387 in _eina_internal_call (context=0x55f73a9a91a0) at lib/eina/eina_thread.c:148
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657323470, 140722657323471, 94520328491424, 140722657323600, 8993868208096089284, 8993915470812615876}, __mask_was_saved = 0}}, __pad = {0x7f3314b29dc0, 0x0, 0x0, 0x0}}
        __not_first_call = <optimized out>
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -9027876537552137020, 140722657323470, 140722657323471, 94520328491424, 140722657323600, 8993868208096089284, 8993915470832800964}, __mask_was_saved = 0}}, __pad = {0x7f3314b29ed0, 0x0, 0x0, 0x0}}
        __cancel_arg = 0x55f73a9a91a0
        __not_first_call = <optimized out>
        c = 0x55f73a9a91a0
        r = <optimized out>
        self = 139857367414528
#4  0x00007f33220dd59b in start_thread () at /lib64/libpthread.so.0
#5  0x00007f3321a7ea1f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3318824700 (LWP 8645)):
#0  0x00007f33220e68bd in __lll_lock_wait () at /lib64/libpthread.so.0
#1  0x00007f33220dfd03 in pthread_mutex_lock () at /lib64/libpthread.so.0
#2  0x00007f33223106dc in eina_lock_take (mutex=0x7f33225714a0 <_sysmon_lock>) at lib/eina/eina_inline_lock_posix.x:214
        ret = EINA_LOCK_FAIL
        ok = <optimized out>
        cpufreqs = {0 <repeats 64 times>}
        i = <optimized out>
        freq = <optimized out>
        buf = '\000' <repeats 255 times>
        path = '\000' <repeats 255 times>
        t_last = {tv_sec = 0, tv_nsec = 0}
        prev_threads = 0x0
        prev_threads_num = 0
        j = <optimized out>
        cpu = <optimized out>
        prev_threads_redo = <optimized out>
        cid = 0
        t = {tv_sec = 0, tv_nsec = 0}
        t_now = {tv_sec = 0, tv_nsec = 0}
        tim_span = <optimized out>
        tim1 = <optimized out>
        tim2 = <optimized out>
#3  0x00007f33223106dc in _sysmon (_data=<optimized out>) at lib/eina/eina_debug_cpu.c:79
        cpufreqs = {0 <repeats 64 times>}
        i = <optimized out>
        freq = <optimized out>
        buf = '\000' <repeats 255 times>
        path = '\000' <repeats 255 times>
        t_last = {tv_sec = 0, tv_nsec = 0}
        prev_threads = 0x0
        prev_threads_num = 0
        j = <optimized out>
        cpu = <optimized out>
        prev_threads_redo = <optimized out>
        cid = 0
        t = {tv_sec = 0, tv_nsec = 0}
        t_now = {tv_sec = 0, tv_nsec = 0}
        tim_span = <optimized out>
        tim1 = <optimized out>
        tim2 = <optimized out>
#4  0x00007f33220dd59b in start_thread () at /lib64/libpthread.so.0
#5  0x00007f3321a7ea1f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f3326343780 (LWP 8642)):
#0  0x00007f33220e7682 in pause () at /lib64/libpthread.so.0
#1  0x00007f33220e8080 in <signal handler called> () at /lib64/libpthread.so.0
#2  0x00007f32dbf3f778 in eina_swap32 (x=Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x55f73d3a0000: 
#3  0x00007f32dbf3f778 in icon_pixmap_deserialize (variant=<optimized out>, data=data@entry=0x55f73a91e7a0, w=w@entry=0x55f73a91e7a8, h=h@entry=0x55f73a91e7ac) at src/modules/systray/e_mod_notifier_host_dbus.c:88
        pos = <optimized out>
        img = 0x55f73d39c26c
        len = 4096
        imgdata = 0x55f73d300d10
        iter = 0x55f73d2f65b0
        struc = 0x55f73d359800
        tmpw = 32
        tmph = 32
#4  0x00007f32dbf3f832 in icon_pixmap_get_cb (data=0x55f73a91e720, msg=<optimized out>, pending=<optimized out>) at src/modules/systray/e_mod_notifier_host_dbus.c:278
        item = 0x55f73a91e720
        variant = 0x55f73ce06d80
#5  0x00007f3324352a5e in eldbus_pending_dispatch (pending=0x55f73d376e00, msg=0x55f73d0a64c0) at lib/eldbus/eldbus_pending.c:255
#6  0x00007f331e6458a2 in  () at /usr/lib64/libdbus-1.so.3
#7  0x00007f331e64921f in dbus_connection_dispatch () at /usr/lib64/libdbus-1.so.3
#8  0x00007f332434cd29 in eldbus_idle_enterer (data=0x55f73a9faaa0) at lib/eldbus/eldbus_core.c:807
        conn = 0x55f73a9faaa0
        status = <optimized out>
        data = 0x55f73a9faaa0
        conn = 0x55f73a9faaa0
#9  0x00007f3322590b6f in _ecore_call_task_cb (data=<optimized out>, func=<optimized out>) at lib/ecore/ecore_private.h:291
        idler = 0x55f73a912f80
#10 0x00007f3322590b6f in _ecore_factorized_idle_process (data=0x55f73a912f80, event=<optimized out>) at lib/ecore/ecore_idler.c:35
        idler = 0x55f73a912f80
#11 0x00007f332177beff in _event_callback_call (legacy_compare=0 '\000', event_info=<optimized out>, desc=0x7f33227c0f60 <_EFL_LOOP_EVENT_IDLE_ENTER>, pd=0x55f73a90b2a0, obj_id=<optimized out>) at lib/eo/eo_base_class.c:1473
        it = 0x7f33227c3430 <internal+16>
        ev = {object = 0x40000000043f, desc = 0x7f33227c0f60 <_EFL_LOOP_EVENT_IDLE_ENTER>, info = 0x0}
        ret = 1 '\001'
        frame = {<No data fields>}
        cb = <optimized out>
        lookup = 0x7ffc8c006b00
        saved = {__in_list = {next = 0x0, prev = 0x0, last = 0x7ffc8c006b00}, desc = 0x7f33227c0f60 <_EFL_LOOP_EVENT_IDLE_ENTER>, current = 5}
        idx = 6
        callback_already_stopped = 0 '\000'
#12 0x00007f332177beff in _efl_object_event_callback_call (obj_id=<optimized out>, pd=0x55f73a90b2a0, desc=0x7f33227c0f60 <_EFL_LOOP_EVENT_IDLE_ENTER>, event_info=<optimized out>) at lib/eo/eo_base_class.c:1557
#13 0x00007f332177766e in efl_event_callback_call (obj=0x40000000043f, desc=0x7f33227c0f60 <_EFL_LOOP_EVENT_IDLE_ENTER>, event_info=event_info@entry=0x0) at lib/eo/eo_base_class.c:1560
        _r = <optimized out>
        ___cache = {<No data fields>}
        ___call = {eo_id = 0x40000000043f, obj = 0x55f73a90b260, func = 0x7f332177bd50 <_efl_object_event_callback_call>, data = 0x55f73a90b2a0, extn1 = 0x0, extn2 = 0x7ffc8c006c0c, extn3 = 0x0, extn4 = 0x412b0cd66935efda}
        _func_ = <optimized out>
#14 0x00007f3322590a3e in _ecore_idle_enterer_call (loop=<optimized out>) at lib/ecore/ecore_idle_enterer.c:48
#15 0x00007f3322593fd6 in _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) at lib/ecore/ecore_main.c:2311
        next_time = -1
        f = <optimized out>
        p = <optimized out>
#16 0x00007f3322594627 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:1299
#17 0x000055f7388b9381 in main (argc=<optimized out>, argv=<optimized out>) at src/bin/e_main.c:1088
        safe_mode = <optimized out>
        waslocked = <optimized out>
        strshare = <optimized out>
        t = <optimized out>
        tstart = <optimized out>
        s = <optimized out>
        buff = "1520377783.8", '\000' <repeats 19 times>
        action = {__sigaction_handler = {sa_handler = 0x55f738994c90 <e_sigabrt_act>, sa_sigaction = 0x55f738994c90 <e_sigabrt_act>}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = -1073741820, sa_restorer = 0x0}
        __FUNCTION__ = "main"