Re: [e-users] Temporary display hangs
On Mon, 9 Nov 2015 16:17:17 +1100 Daniel Kasaksaid: at least SOME of those hangs seem to be looking at sysfs. in the temp module - did you select udev? if so - try switching to the default internal (under hardware). i see at least 1 of the bt's with the mainloop stuck in a udev/eeze call in a timer: eeze_udev_syspath_get_sysattr (syspath=0x181ed4c "/sys/devices/virtual/hwmon/hwmon0", sysattr=0x7ffc4b553360 "temp1_input") that is suspicious. i DO know that checking of /sys/proc devices from the kernel CAN be slow - sometimes it blocks and hangs for many miliseconds (10's even or 100's). i do not know if this is just bad kernel drivers or the hardware literally is this slow. anyway - this is why the "internal" temp fetcher (tempget binary) is a separate process entirely which ONLY does one thing - sits and polls temperature sending it back to e via stdout. then e doesnt block. :) try this and see - or just disable temp module entirely and see. > Thankyou :) > > I think I have such an example now. I set up a keybinding to do the > killing, based on my observation that keyboard input and pretty much > everything else continues during one of these hangs. Here's what was > dumped to .e-crashdump.txt: > > --- > > Thread 7 (Thread 0x7ff7e78d0700 (LWP 28588)): > #0 0x7ff7f28f700f in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib64/libpthread.so.0 > No symbol table info available. > #1 0x7ff7f82c5dbc in eina_condition_wait (cond=0x7ff7f85cfcc0 > ) at > ../src/lib/eina/eina_inline_lock_posix.x:415 > r = 0 '\000' > #2 0x7ff7f82c5f4f in evas_thread_worker_func (data=0x0, > thread=140702718428928) at lib/evas/common/evas_thread_render.c:76 > cmd = 0x578ce30 > len = 0 > max = 512 > __FUNCTION__ = "evas_thread_worker_func" > __PRETTY_FUNCTION__ = "evas_thread_worker_func" > #3 0x7ff7f2f5839e in _eina_internal_call (context=0x168fdb0) at > lib/eina/eina_thread.c:125 > c = 0x168fdb0 > r = 0x7ff7e78d0700 > #4 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 > No symbol table info available. > #5 0x7ff7f21316dd in clone () from /lib64/libc.so.6 > No symbol table info available. > > Thread 6 (Thread 0x7ff7e5c6f700 (LWP 28591)): > #0 0x7ff7f212a2b3 in select () from /lib64/libc.so.6 > No symbol table info available. > #1 0x7ff7f4a84c19 in _timer_tick_core (data=0x0, > thread=0x16c6e10) at lib/ecore/ecore_anim.c:140 > rfds = {fds_bits = {8388608, 0 }} > wfds = {fds_bits = {0 }} > exfds = {fds_bits = {0 }} > tv = {tv_sec = 0, tv_usec = 2022} > t = 2024 > tick = 0 '\000' > t0 = 9350.536596752 > d = 0.003263419680276 > ret = 1 > __FUNCTION__ = "_timer_tick_core" > #2 0x7ff7f4a97e64 in _ecore_direct_worker (work=0x16c6e10) at > lib/ecore/ecore_thread.c:425 > No locals. > #3 0x7ff7f2f5839e in _eina_internal_call (context=0x16be120) at > lib/eina/eina_thread.c:125 > c = 0x16be120 > r = 0x0 > #4 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 > No symbol table info available. > #5 0x7ff7f21316dd in clone () from /lib64/libc.so.6 > No symbol table info available. > > Thread 5 (Thread 0x7ff7e1e9a700 (LWP 28593)): > #0 0x7ff7f212a2b3 in select () from /lib64/libc.so.6 > No symbol table info available. > #1 0x7ff7f6aec8fa in _drm_tick_core (data=0x0, thread=0x173db50) > at lib/ecore_x/xlib/ecore_x_vsync.c:345 > wfds = {fds_bits = {0 }} > ret = 1 > tv = {tv_sec = 0, tv_usec = 84861} > rfds = {fds_bits = {536870912, 0 }} > exfds = {fds_bits = {0 }} > max_fd = 29 > msg = 0x0 > ref = 0x1adc060 > tick = 1 > #2 0x7ff7f4a97e64 in _ecore_direct_worker (work=0x173db50) at > lib/ecore/ecore_thread.c:425 > No locals. > #3 0x7ff7f2f5839e in _eina_internal_call (context=0x16bf3a0) at > lib/eina/eina_thread.c:125 > c = 0x16bf3a0 > r = 0x0 > #4 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 > No symbol table info available. > #5 0x7ff7f21316dd in clone () from /lib64/libc.so.6 > No symbol table info available. > > Thread 4 (Thread 0x7ff7e1699700 (LWP 28594)): > #0 0x7ff7f28f9277 in do_futex_wait.constprop () > #from /lib64/libpthread.so.0 > No symbol table info available. > #1 0x7ff7f28f9324 in __new_sem_wait_slow.constprop.0 () from > /lib64/libpthread.so.0 > No symbol table info available. > #2 0x7ff7f2f5886c in eina_semaphore_lock (sem=0x1764498) at > ../src/lib/eina/eina_inline_lock_posix.x:798 > ok = 0 '\000' > #3 0x7ff7f2f58b46 in _eina_thread_queue_wait (thq=0x1764470) at > lib/eina/eina_thread_queue.c:181 > No locals. > #4 0x7ff7f2f5921d in eina_thread_queue_wait (thq=0x1764470, > allocref=0x7ff7e1698d40) at lib/eina/eina_thread_queue.c:431 > msg = 0x1adc0a4 > blk = 0x1adc060 > #5
Re: [e-users] Temporary display hangs
Thankyou :) I think I have such an example now. I set up a keybinding to do the killing, based on my observation that keyboard input and pretty much everything else continues during one of these hangs. Here's what was dumped to .e-crashdump.txt: --- Thread 7 (Thread 0x7ff7e78d0700 (LWP 28588)): #0 0x7ff7f28f700f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 No symbol table info available. #1 0x7ff7f82c5dbc in eina_condition_wait (cond=0x7ff7f85cfcc0 ) at ../src/lib/eina/eina_inline_lock_posix.x:415 r = 0 '\000' #2 0x7ff7f82c5f4f in evas_thread_worker_func (data=0x0, thread=140702718428928) at lib/evas/common/evas_thread_render.c:76 cmd = 0x578ce30 len = 0 max = 512 __FUNCTION__ = "evas_thread_worker_func" __PRETTY_FUNCTION__ = "evas_thread_worker_func" #3 0x7ff7f2f5839e in _eina_internal_call (context=0x168fdb0) at lib/eina/eina_thread.c:125 c = 0x168fdb0 r = 0x7ff7e78d0700 #4 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #5 0x7ff7f21316dd in clone () from /lib64/libc.so.6 No symbol table info available. Thread 6 (Thread 0x7ff7e5c6f700 (LWP 28591)): #0 0x7ff7f212a2b3 in select () from /lib64/libc.so.6 No symbol table info available. #1 0x7ff7f4a84c19 in _timer_tick_core (data=0x0, thread=0x16c6e10) at lib/ecore/ecore_anim.c:140 rfds = {fds_bits = {8388608, 0 }} wfds = {fds_bits = {0 }} exfds = {fds_bits = {0 }} tv = {tv_sec = 0, tv_usec = 2022} t = 2024 tick = 0 '\000' t0 = 9350.536596752 d = 0.003263419680276 ret = 1 __FUNCTION__ = "_timer_tick_core" #2 0x7ff7f4a97e64 in _ecore_direct_worker (work=0x16c6e10) at lib/ecore/ecore_thread.c:425 No locals. #3 0x7ff7f2f5839e in _eina_internal_call (context=0x16be120) at lib/eina/eina_thread.c:125 c = 0x16be120 r = 0x0 #4 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #5 0x7ff7f21316dd in clone () from /lib64/libc.so.6 No symbol table info available. Thread 5 (Thread 0x7ff7e1e9a700 (LWP 28593)): #0 0x7ff7f212a2b3 in select () from /lib64/libc.so.6 No symbol table info available. #1 0x7ff7f6aec8fa in _drm_tick_core (data=0x0, thread=0x173db50) at lib/ecore_x/xlib/ecore_x_vsync.c:345 wfds = {fds_bits = {0 }} ret = 1 tv = {tv_sec = 0, tv_usec = 84861} rfds = {fds_bits = {536870912, 0 }} exfds = {fds_bits = {0 }} max_fd = 29 msg = 0x0 ref = 0x1adc060 tick = 1 #2 0x7ff7f4a97e64 in _ecore_direct_worker (work=0x173db50) at lib/ecore/ecore_thread.c:425 No locals. #3 0x7ff7f2f5839e in _eina_internal_call (context=0x16bf3a0) at lib/eina/eina_thread.c:125 c = 0x16bf3a0 r = 0x0 #4 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #5 0x7ff7f21316dd in clone () from /lib64/libc.so.6 No symbol table info available. Thread 4 (Thread 0x7ff7e1699700 (LWP 28594)): #0 0x7ff7f28f9277 in do_futex_wait.constprop () from /lib64/libpthread.so.0 No symbol table info available. #1 0x7ff7f28f9324 in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0 No symbol table info available. #2 0x7ff7f2f5886c in eina_semaphore_lock (sem=0x1764498) at ../src/lib/eina/eina_inline_lock_posix.x:798 ok = 0 '\000' #3 0x7ff7f2f58b46 in _eina_thread_queue_wait (thq=0x1764470) at lib/eina/eina_thread_queue.c:181 No locals. #4 0x7ff7f2f5921d in eina_thread_queue_wait (thq=0x1764470, allocref=0x7ff7e1698d40) at lib/eina/eina_thread_queue.c:431 msg = 0x1adc0a4 blk = 0x1adc060 #5 0x7ff7f82b7ffd in _evas_common_scale_sample_thread (data=0x0, t=140702615443200) at lib/evas/common/evas_scale_sample.c:829 ref = 0x1adc060 msg = 0x1adc0a4 todo = 0x0 #6 0x7ff7f2f5839e in _eina_internal_call (context=0x17223d0) at lib/eina/eina_thread.c:125 c = 0x17223d0 r = 0x0 #7 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #8 0x7ff7f21316dd in clone () from /lib64/libc.so.6 No symbol table info available. Thread 3 (Thread 0x7ff79b985700 (LWP 28779)): #0 0x7ff7f21285bd in poll () from /lib64/libc.so.6 No symbol table info available. #1 0x7ff7f4586b7c in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x7ff7f4586f02 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #3 0x7ff7e69bd8e6 in ?? () from /usr/lib64/libgio-2.0.so.0 No symbol table info available. #4 0x7ff7f45ad505 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #5 0x7ff7f28f1434 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #6 0x7ff7f21316dd in clone ()
Re: [e-users] Temporary display hangs
Ping ... I've now confirmed that these graphics hangs only occur under Enlightenment - I used Gnome all day today and didn't have a single hang, whereas under E I would have had 3 or 4 already. Also tested with a wider range of kernels ( vanilla, up to 4.2.4 ). Dan On Fri, Sep 18, 2015 at 2:47 PM, Daniel Kasakwrote: > Hi all. > > I'm getting temporary display hangs, occasionally ( 3 or 4 times a day > ). When it happens, the display stops updating, but the mouse > continues to respond to input. Everything else appears to continue > running and accepting input, and music continues to play. These hangs > happen in *pairs*, eg: > > hang ... unhang ... hang ... unhang > > Immediately after the hang, I see this in 'dmesg' output ( only with > an appropriate debugging flag passed to the kernel module ): > > [ 5136.373182] [drm:i915_gem_open] > [ 5136.382145] [drm:i915_gem_open] > [ 5136.383609] [drm:i915_gem_context_create_ioctl] HW context 1 created > [ 5137.134829] [drm:i915_gem_context_create_ioctl] HW context 2 created > > I've tried with various kernels - changing from -rt to -vanilla and > also different kernel versions ( around 4.1.5 ). At first I thought > this might be an Intel GPU driver issue, but the above dmesg output > doesn't reflect that. This looks more like Enlightenment is > encountering some kind of issue, and recovering. Of course that's just > a wild guess. So anyway I tried starting up E like this: > > startx >& e.log > > ... and checking e.log after a hang. I noticed this: > > ERRmodules/evas/engines/gl_x11/evas_engine.c:2486 > eglCreatePixmapSurface() for 0x891e55 failed > ERRmodules/evas/engines/gl_x11/evas_engine.c:2486 > eglCreatePixmapSurface() for 0x891e63 failed > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<>src/bin/e_pixmap.c:431 safety check failed: cp == NULL > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > not pointing to a valid object. Maybe it has already been freed. > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext == NULL > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > _request_surrounding_text() safety check failed: > ibusimcontext->ibuscontext
Re: [e-users] Temporary display hangs
On Wed, 4 Nov 2015 16:00:34 +1100 Daniel Kasaksaid: you need to catch the hang and get a bt - eg ssh in from another machine and at the point of a hang REALLY QUICKLY: killall -SEGV enlightenment (have it ready to run in a script by hitting return etc. or something). we have no info we can do anything with there. > Ping ... > > I've now confirmed that these graphics hangs only occur under Enlightenment > - I used Gnome all day today and didn't have a single hang, whereas under E > I would have had 3 or 4 already. Also tested with a wider range of kernels > ( vanilla, up to 4.2.4 ). > > Dan > > On Fri, Sep 18, 2015 at 2:47 PM, Daniel Kasak > wrote: > > > Hi all. > > > > I'm getting temporary display hangs, occasionally ( 3 or 4 times a day > > ). When it happens, the display stops updating, but the mouse > > continues to respond to input. Everything else appears to continue > > running and accepting input, and music continues to play. These hangs > > happen in *pairs*, eg: > > > > hang ... unhang ... hang ... unhang > > > > Immediately after the hang, I see this in 'dmesg' output ( only with > > an appropriate debugging flag passed to the kernel module ): > > > > [ 5136.373182] [drm:i915_gem_open] > > [ 5136.382145] [drm:i915_gem_open] > > [ 5136.383609] [drm:i915_gem_context_create_ioctl] HW context 1 created > > [ 5137.134829] [drm:i915_gem_context_create_ioctl] HW context 2 created > > > > I've tried with various kernels - changing from -rt to -vanilla and > > also different kernel versions ( around 4.1.5 ). At first I thought > > this might be an Intel GPU driver issue, but the above dmesg output > > doesn't reflect that. This looks more like Enlightenment is > > encountering some kind of issue, and recovering. Of course that's just > > a wild guess. So anyway I tried starting up E like this: > > > > startx >& e.log > > > > ... and checking e.log after a hang. I noticed this: > > > > ERRmodules/evas/engines/gl_x11/evas_engine.c:2486 > > eglCreatePixmapSurface() for 0x891e55 failed > > ERRmodules/evas/engines/gl_x11/evas_engine.c:2486 > > eglCreatePixmapSurface() for 0x891e63 failed > > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > > _request_surrounding_text() safety check failed: > > ibusimcontext->ibuscontext == NULL > > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > > _request_surrounding_text() safety check failed: > > ibusimcontext->ibuscontext == NULL > > ERR<>src/bin/e_pixmap.c:431 safety check failed: cp == NULL > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERRlib/eo/eo_ptr_indirection.x:294 obj_id 0x8107800d526a is > > not pointing to a valid object. Maybe it has already been freed. > > ERRlib/eo/eo.c:1738 Obj (0x8107800d526a) is an invalid ref. > > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > > _request_surrounding_text() safety check failed: > > ibusimcontext->ibuscontext == NULL > > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > > _request_surrounding_text() safety check failed: > > ibusimcontext->ibuscontext == NULL > > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > > _request_surrounding_text() safety check failed: > > ibusimcontext->ibuscontext == NULL > > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > > _request_surrounding_text() safety check failed: > > ibusimcontext->ibuscontext == NULL > > ERR<12626>: modules/ecore_imf/ibus/ibus_imcontext.c:233 > > _request_surrounding_text() safety check failed: > > ibusimcontext->ibuscontext == NULL > > ERR<12626>: