Searching in 'Run Everything' locks up Enlightenment, process at 100% CPU usage
#20
Open
opened 4 months ago by rennod
·
12 comments
No Branch/Tag Specified
devs/asdfuser/comp-sounds
devs/bu5hm4n/bsd_build_fix
devs/bu5hm4n/bugfixing
devs/bu5hm4n/debug_code
devs/bu5hm4n/econfigure2
devs/bu5hm4n/fix
devs/bu5hm4n/fixes
devs/bu5hm4n/luncher_verbose
devs/bu5hm4n/meson_wip
devs/bu5hm4n/mixer-fix
devs/bu5hm4n/mixer_fix
devs/bu5hm4n/mixer_fix_range
devs/bu5hm4n/mixerfun
devs/bu5hm4n/netstart_fixes
devs/bu5hm4n/pointer-fix
devs/bu5hm4n/recognition
devs/bu5hm4n/sandbox_fix
devs/bu5hm4n/swipe_real
devs/bu5hm4n/systray
devs/captainigloo/eglfs
devs/captainigloo/eglfs_rpi
devs/derekf/for_derbyw
devs/derekf/wip2
devs/derekf/wip_viewporter
devs/devilhorns/drm_rotation
devs/devilhorns/e_comp_wl
devs/devilhorns/e_wayland
devs/devilhorns/ecore_drm2
devs/devilhorns/ecore_wl2
devs/devilhorns/output
devs/devilhorns/rotation
devs/devilhorns/wl_buffer
devs/devilhorns/xwayland
devs/discomfitor/action_route
devs/discomfitor/debug
devs/discomfitor/eo
devs/discomfitor/junk
devs/discomfitor/output_states
devs/discomfitor/quicklaunch
devs/discomfitor/xdg-shedsmanship
devs/illogict/signals_priority
devs/princeamd/enlightenment-0.17-elive
devs/sachiel/e19
devs/stanluk/a11y
devs/stefan/wl-session-recovery
devs/yoz/bryce
devs/yoz/imfos
enlightenment-0.17
enlightenment-0.18
enlightenment-0.19
enlightenment-0.20
enlightenment-0.21
enlightenment-0.22
enlightenment-0.23
enlightenment-0.24
feature/quicklaunch
feature/wayland/multi-output
master
v-0.25.0
v0.17.0
v0.17.1
v0.17.2
v0.17.2.1
v0.17.3
v0.17.4
v0.17.5
v0.17.6
v0.18.0
v0.18.0-alpha1
v0.18.0-alpha3
v0.18.0-alpha4
v0.18.0-rc1
v0.18.0-rc2
v0.18.1
v0.18.2
v0.18.3
v0.18.4
v0.18.5
v0.18.6
v0.18.7
v0.18.8
v0.18.9
v0.19.0
v0.19.0-alpha1
v0.19.0-alpha2
v0.19.0-rc3
v0.19.1
v0.19.10
v0.19.11
v0.19.12
v0.19.14
v0.19.2
v0.19.3
v0.19.4
v0.19.5
v0.19.6
v0.19.7
v0.19.8
v0.19.9
v0.20.0
v0.20.0-alpha
v0.20.0-beta
v0.20.0-rc
v0.20.1
v0.20.2
v0.20.3
v0.20.4
v0.20.5
v0.20.6
v0.20.7
v0.20.8
v0.20.9
v0.21.0
v0.21.0-alpha
v0.21.0-beta
v0.21.0-rc
v0.21.1
v0.21.10
v0.21.11
v0.21.2
v0.21.3
v0.21.4
v0.21.5
v0.21.6
v0.21.7
v0.21.8
v0.21.9
v0.22.0
v0.22.0-alpha
v0.22.0-beta
v0.22.0-rc
v0.22.1
v0.22.2
v0.22.3
v0.22.4
v0.23.0
v0.23.0-alpha
v0.23.0-beta
v0.23.1
v0.24.0
v0.24.1
v0.24.2
v0.25.0
v0.25.1
v0.25.2
v0.25.3
v0.25.3-2
v0.25.4
Labels
Apply labels
Clear labels
No items
No Label
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: enlightenment/enlightenment#20
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Typing to search in the 'Run Everything' menu locks up the complete desktop, I have to kill the main Enlightenment process from another tty to get out of it. Said process is at 100% CPU usage after triggering the bug.
I tried to start over with a new, fresh .e profile, still happens. Bit unsure how to find out what the process is doing with gdb...
Up to date Arch builds, so Enlightenment 0.25.4 and EFL 1.26.3. I'm just starting Enlightenment with startx, but it also happens in Wayland.
i don't see it here... well on git - i backported various fixes from git master. does git master work (try install the efl-git and enlightenment-git aur's). i want to know if its a fix already in git master but somehow not in stable or it's something specific to you?
Build both efl-git and enlightenment-git, no change. Still locks up, process sits at 100% CPU.
So i looked a bit at the .e-log.log output and after a few tries reproducing the issue the only relevant log message seems to be
ooook - the watchdog found a mainloop lockup. can you get a backtrace with symbols?
https://www.enlightenment.org/contrib/enlightenment_debugging
also see efl debugging. i need to know where it hangs.
Bit tricky, the process seems to get restarted after some time. I'm not sure how much sense the bt makes. I did one of all threads too.
the watchdog will restart e after a bit if a complete mainloop lockup is detected. evry_fuzzy_match() seems to be the problem... this loop here:
i can only imagine ii stops goinng up0 - it's not advancing... for some reason. why? what sgtrng is it looking at? what is it not advancing on (what char)?
can you try this patch in e?
So applied that on top of current git, same symptoms, new bt, different place...
hmm maybe it was not that loop? maybe its always in
if its always some line within this loop (line 107 -> 243) is it always stuck in this range somewhere?
It looks like it's always within that range.
hmm well i'd need to know more like what is m_cnt and m_num? what is next and *next?
I did some printf debugging. Attached is part of the log, it indeed starts looping here forever.