Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /home/elivebugs/bugs.elivecd.org/includes/class.tpl.php on line 552 FS#640 : E segfaults when pressing power button + keyboard keys

Elive

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Any
  • Assigned To Deon Thomas (PrinceAMD)
  • Operating System All
  • Severity Medium
  • Priority High
  • Reported Version 2.x (dev before 3.0)
  • Due in Version 3.0
  • Due Date 2014-12-16
  • Votes 0
  • Private No
Attached to Project: Elive
Opened by Thanatermesis (thanatermesis) - 2014-11-27
Last edited by Thanatermesis (thanatermesis) - 2017-08-27

FS#640 - E segfaults when pressing power button + keyboard keys

If you press the power button (which shows a menu option in E to close computer) and extremely-fastly you press any keyboard key, you got a segfault

This can help making it to appear: cd /tmp ; mprime-cpu -t
Also if you add a “drop caches” on that command should help too, giving you more human-time over computer-time

<PrinceAMD> what i think is happening here is
<PrinceAMD> an object is deleted, then a key pressed on the object causes seff
<PrinceAMD> so i think some check is needed in _e_manager_cb_key_down
<PrinceAMD> i'm guessing this is a keybinding bug, so lets say the binding trigger a call of a deleted pointer,
Thread 1 (Thread 0xb5c619a0 (LWP 7261)):
#0  0xb7270607 in pause () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1  0x0807ba9e in e_alert_show () at e_alert.c:38
No locals.
#2  0x08160903 in e_sigseg_act (x=11, info=0xbfe18b8c, data=0xbfe18c0c) at e_signals.c:71
No locals.
#3  <signal handler called>
No symbol table info available.
#4  0x00000020 in ?? ()
No symbol table info available.
#5  0x081479d9 in e_object_del (obj=0x9964768) at e_object.c:54
No locals.
#6  0x080808cf in _e_actions_act_halt_go (obj=0x9678cd8, params=0x0) at e_actions.c:2265
No locals.
#7  0x08089591 in e_bindings_key_down_event_handle (ctxt=E_BINDING_CONTEXT_MANAGER, obj=0x9678cd8, ev=0x996d9e8) at e_bindings.c:514
        act = 0x9894d78
        mod = E_BINDING_MODIFIER_NONE
        binding = 0x98cac98
        l = 0x98c9c80
#8  0x0813764c in _e_manager_cb_key_down (data=0x9678cd8, ev_type=50, ev=0x996d9e8) at e_manager.c:758
        man = 0x9678cd8
        e = 0x996d9e8
#9  0xb6f95c2f in _ecore_call_handler_cb (func=0x81375e8 <_e_manager_cb_key_down>, data=0x9678cd8, type=50, event=0x996d9e8) at lib/ecore/ecore_private.h:359
        r = 1 '\001'
#10 0xb6f96b6a in _ecore_event_call () at lib/ecore/ecore_events.c:562
        ret = 1 '\001'
        e = 0x9a8ca58
        handle_count = 2
        l = 0x0
        l_next = 0x0
        eh = 0x95e1df0
#11 0xb6fa1167 in _ecore_main_loop_iterate_internal (once_only=0) at lib/ecore/ecore_main.c:1942
        next_time = 0.24938403899795958
#12 0xb6f9f419 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:983
No locals.
#13 0x08078164 in main (argc=1, argv=0xbfe1a284) at e_main.c:1138
        nostartup = 0 '\000'
        safe_mode = 0 '\000'
        after_restart = 1 '\001'
        waslocked = 0 '\000'
        t = 1417114627.236887
        tstart = 1417114627.236887
        s = 0x0
        buff = "1417114627.2\000\277{\267@\304z\267\001\000\000\000\000\020e\266\240\221", <incomplete sequence \341\277>
        action = {__sigaction_handler = {sa_handler = 0x8160988 <e_sigabrt_act>, sa_sigaction = 0x8160988 <e_sigabrt_act>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = -1073741820, sa_restorer = 0xbfe18fd0}
        __FUNCTION__ = "main"

This task does not depend on any other tasks.

Closed by  Thanatermesis (thanatermesis)
Sunday, 27 August 2017, 23:23 GMT
Reason for closing:  Won't implement
Thanatermesis (thanatermesis)
Tuesday, 16 December 2014, 11:49 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /home/elivebugs/bugs.elivecd.org/includes/class.tpl.php on line 552

Just happened again, this is another backtrace:


Thread 5 (Thread 0xb58ccb70 (LWP 1658)):
#0  0xb7201ed5 in __pthread_cond_wait (cond=0xb71ae084, mutex=0xb71ae0b8) at pthread_cond_wait.c:153
        __status = -512
        _val = 20937
        futex_val = <optimized out>
        buffer = {__routine = 0xb7202060 <__condvar_cleanup>, __arg = 0xb58cc21c, __canceltype = -1222115340, __prev = 0x0}
        cbuffer = {oldtype = 0, cond = 0xb71ae084, mutex = 0xb71ae0b8, bc_seq = 0}
        err = <optimized out>
        pshared = 0
        val = <optimized out>
        seq = 10468
#1  0xb70aba00 in eina_condition_wait (cond=0xb71ae080) at ../src/lib/eina/eina_inline_lock_posix.x:415
        r = 0 '\000'
#2  0xb70abba6 in evas_thread_worker_func (data=0x0, thread=3045903216) at lib/evas/common/evas_thread_render.c:75
        cmd = 0x942d0c8
        len = 0
        max = 512
        __FUNCTION__ = "evas_thread_worker_func"
        __PRETTY_FUNCTION__ = "evas_thread_worker_func"
#3  0xb724ff6a in _eina_internal_call (context=0x8ff3ea8) at lib/eina/eina_thread.c:336
        c = 0x8ff3ea8
        r = 0x3d0f00
#4  0xb71fd954 in start_thread (arg=0xb58ccb70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xb58ccb70
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1222582284, 0, 4001536, -1249066008, 94914795, 597426414}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0xb6c23c1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 4 (Thread 0xb3fe8b70 (LWP 1659)):
#0  0xb7201ed5 in __pthread_cond_wait (cond=0x9068564, mutex=0x906854c) at pthread_cond_wait.c:153
        __status = -512
        _val = 1
        futex_val = <optimized out>
        buffer = {__routine = 0xb7202060 <__condvar_cleanup>, __arg = 0xb3fe827c, __canceltype = 0, __prev = 0x0}
        cbuffer = {oldtype = 0, cond = 0x9068564, mutex = 0x906854c, bc_seq = 0}
        err = <optimized out>
        pshared = 0
        val = <optimized out>
        seq = 0
#1  0xb4195c4c in ?? () from /usr/lib/i386-linux-gnu/dri/swrast_dri.so
No symbol table info available.
#2  0xb71fd954 in start_thread (arg=0xb3fe8b70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xb3fe8b70
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1222582284, 0, 4001536, -1275165720, -517453593, 597426414}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0xb6c23c1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 3 (Thread 0xb37e8b70 (LWP 1660)):
#0  0xb7201ed5 in __pthread_cond_wait (cond=0x9068644, mutex=0x906862c) at pthread_cond_wait.c:153
        __status = -512
        _val = 1
        futex_val = <optimized out>
        buffer = {__routine = 0xb7202060 <__condvar_cleanup>, __arg = 0xb37e827c, __canceltype = 0, __prev = 0x0}
        cbuffer = {oldtype = 0, cond = 0x9068644, mutex = 0x906862c, bc_seq = 0}
        err = <optimized out>
        pshared = 0
        val = <optimized out>
        seq = 0
#1  0xb4195c4c in ?? () from /usr/lib/i386-linux-gnu/dri/swrast_dri.so
No symbol table info available.
#2  0xb71fd954 in start_thread (arg=0xb37e8b70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xb37e8b70
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1222582284, 0, 4001536, -1283554328, -517453594, 597426414}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0xb6c23c1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 2 (Thread 0xb2bcfb70 (LWP 1678)):
#0  sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S:81
No locals.
#1  0xb72609d2 in eina_semaphore_lock (sem=0x926bd88) at ../src/lib/eina/eina_inline_lock_posix.x:792
No locals.
#2  0xb7260cab in _eina_thread_queue_wait (thq=0x926bd70) at lib/eina/eina_thread_queue.c:181
No locals.
#3  0xb7261247 in eina_thread_queue_wait (thq=0x926bd70, allocref=0xb2bcf0cc) at lib/eina/eina_thread_queue.c:429
        msg = 0xb2bcf098
        blk = 0x923c3a8
#4  0xb7707807 in _drm_tick_core (data=0x0, thread=0x923c3a8) at lib/ecore_x/xlib/ecore_x_vsync.c:255
        msg = 0x923fc20
        ref = 0x923fbf0
        tick = 0
        __FUNCTION__ = "_drm_tick_core"
#5  0xb6f3c40a in _ecore_direct_worker (work=0x923c3a8) at lib/ecore/ecore_thread.c:424
No locals.
#6  0xb724ff6a in _eina_internal_call (context=0x927c9a8) at lib/eina/eina_thread.c:336
        c = 0x927c9a8
        r = 0x0
#7  0xb71fd954 in start_thread (arg=0xb2bcfb70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xb2bcfb70
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1222582284, 0, 4001536, -1296239640, 1707624677, 597426414}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0xb6c23c1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 1 (Thread 0xb5bf69a0 (LWP 1657)):
#0  0xb7205607 in pause () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1  0x0807ba9e in e_alert_show () at e_alert.c:38
No locals.
#2  0x08160903 in e_sigseg_act (x=11, info=0xbf817e8c, data=0xbf817f0c) at e_signals.c:71
No locals.
#3  <signal handler called>
No symbol table info available.
#4  0x00000004 in ?? ()
No symbol table info available.
#5  0x08147982 in e_object_del (obj=0xb11d0998) at e_object.c:47
No locals.
#6  0x080808cf in _e_actions_act_halt_go (obj=0x0, params=0x0) at e_actions.c:2265
No locals.
#7  0x0808b00a in e_bindings_acpi_event_handle (ctxt=E_BINDING_CONTEXT_NONE, obj=0x0, ev=0x92c7cf0) at e_bindings.c:1182
        act = 0x9286230
        binding = 0x92bcaf8
#8  0x0807b9f3 in _e_acpi_cb_event (data=0x0, type=232, event=0x92c7cf0) at e_acpi.c:372
        ev = 0x92c7cf0
#9  0xb6f2ac2f in _ecore_call_handler_cb (func=0x807b9bc <_e_acpi_cb_event>, data=0x0, type=232, event=0x92c7cf0) at lib/ecore/ecore_private.h:359
        r = 1 '\001'
#10 0xb6f2bb6a in _ecore_event_call () at lib/ecore/ecore_events.c:562
        ret = 1 '\001'
        e = 0x94c7928
        handle_count = 1
        l = 0x0
        l_next = 0x0
        eh = 0x923e118
#11 0xb6f36167 in _ecore_main_loop_iterate_internal (once_only=0) at lib/ecore/ecore_main.c:1942
        next_time = 0.18611635800004933
#12 0xb6f34419 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:983
No locals.
#13 0x08078164 in main (argc=1, argv=0xbf8195a4) at e_main.c:1138
        nostartup = 0 '\000'
        safe_mode = 0 '\000'
        after_restart = 0 '\000'
        waslocked = 0 '\000'
        t = 1418729653.2105839
        tstart = 1418729653.2105839
        s = 0x0
        buff = "1418729653.2\000\017u\267@\024t\267\001\000\000\000\000`^\266\300\204\201\277"
        action = {__sigaction_handler = {sa_handler = 0x8160988 <e_sigabrt_act>, sa_sigaction = 0x8160988 <e_sigabrt_act>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = -1073741820, sa_restorer = 0xbf8182f0}
        __FUNCTION__ = "main"

Loading...