GNOME Bugzilla – Bug 661509
100% CPU usage in Yelp
Last modified: 2016-09-05 10:49:51 UTC
Forwarding from downstream Ubuntu - https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/872114 Steps to reproduce: 1. Open Gnome Terminal 2. Press F1 to open the Gnome Terminal Help 3. Search for something using the search bar 4. Click the link on the top to go back to GNOME Terminal Manual Expected result: Yelp goes back to the GNOME Terminal Manual main page What happens: Yelp goes back, but the CPU usage of the Yelp process increases to 100% and stays at 100% until it's closed or killed. Reproduced with Yelp 3.0.x and 3.2.0.
$ gdb yelp (gdb) set args ghelp:///usr/share/gnome/help/gnome-terminal/C/gnome-terminal.xml (gdb) run when yelp get the 100% cpu press control +c to cancel the process and type (gdb) thread apply all bt
+ Trace 228757
Thread 1 (Thread 0xb7188890 (LWP 16218))
we get other debug?
Created attachment 198834 [details] Valgrind Here valgind log $ G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log yelp ghelp:///usr/share/gnome/help/gnome-terminal/C/gnome-terminal.xml
This can still be reproduced on yelp 3.4.2
libyelp/yelp-document.c:request_try_free looks fishy
I reproduced it on yelp 3.6.2-1 uname -a Linux arch-linux-desk 3.8.7-1-ARCH #1 SMP PREEMPT Sat Apr 13 09:01:47 CEST 2013 x86_64 GNU/Linux
I see this too in yelp built from git master (current version = 3.8.1). This also occurs when you open any search result page.
Is this a duplicate of bug #557456 ?
I believe it is a duplicate, though I think this bug has a clearer description including a precise set of instructions for reproducing the problem. I recommend marking that other bug as a duplicate of this one.
update the version to 3.10.x
This bug is still reproduceable with Version 3.12.0. Additionally, the CPU usage increases as soon as a search result is displayed.
Update the version to 3.14.x (test with 3.14.1)
I cannot reproduce this with Yelp 3.16.0 (and webkitgtk 2.4.8).
Searching in yelp still causes bug for yelp 3.16.1 on latest Fedora.
The bug is still reproducible on Fedora 22, yelp-3.16.1-1.fc22.x86_64, webkitgtk3-2.4.9-1.fc22.x86_64.
Why is this bug report marked as obsolete? It surely isn't. This issue is still reproducible on a 3.18 gnome desktop.
(In reply to Christian Stadelmann from comment #15) > Why is this bug report marked as obsolete? It surely isn't. This issue is > still reproducible on a 3.18 gnome desktop. I debugged this a bit recently. This issue is fixed in Yelp 3.18, but Fedora 23 shipped with Yelp 3.17.2 to avoid a particular regression. So obsolete really is the right status for this. But, there is also a VERY similar issue, bug #761647.
To be clear, I can reproduce this issue in Yelp 3.17.2, but it got fixed during the port to WebKit2. It was pretty confusing because I thought for a while it was the same as bug #761647.
*** Bug 744636 has been marked as a duplicate of this bug. ***