Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Gtk use 100% cpu #424

Closed
jonathanBieler opened this issue Jul 2, 2019 · 1 comment
Closed

Gtk use 100% cpu #424

jonathanBieler opened this issue Jul 2, 2019 · 1 comment

Comments

@jonathanBieler
Copy link
Collaborator

My Gtk crashed yesterday and I had to kill it and since then it's acting strangely, it uses 100% cpu just after using it. If I kill it I get stuff like this:

poll_func at /Users/jbieler/.julia/packages/Homebrew/s09IX/deps/usr/Cellar/gtk+3/3.24.9/lib/libgdk-3.0.dylib (unknown line)
g_main_context_iterate at /Users/jbieler/.julia/packages/Homebrew/s09IX/deps/usr/Cellar/glib/2.60.4_1/lib/libglib-2.0.0.dylib (unknown line)
g_main_loop_run at /Users/jbieler/.julia/packages/Homebrew/s09IX/deps/usr/Cellar/glib/2.60.4_1/lib/libglib-2.0.0.dylib (unknown line)
gtk_main at /Users/jbieler/.julia/packages/Homebrew/s09IX/deps/usr/lib/libgtk-3.dylib (unknown line)
#237 at /Users/jbieler/.julia/dev/Gtk/src/events.jl:2
jl_fptr_trampoline at /Users/julia/buildbot/worker/package_macos64/build/src/gf.c:1842
g_sigatom at /Users/jbieler/.julia/dev/Gtk/src/GLib/signals.jl:167
jl_fptr_trampoline at /Users/julia/buildbot/worker/package_macos64/build/src/gf.c:1842
gtk_main at /Users/jbieler/.julia/dev/Gtk/src/events.jl:1

So it seems to be doing something in the main loop.

Any idea what the problem could be ? Is there some Gtk cache or config file that I might try to delete (maybe they got corrupted) ?

I guess I should bite the bullet, upgrade my macOS and reinstall everything, but that's a bit of a pain.

Thanks.

@jonathanBieler
Copy link
Collaborator Author

I copied the Homebrew folder from an older installation and it fixed the issue, there was a file in there that got corrupted probably, but I couldn't pinpoint which one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant