resource exhaustion/infinite loop opening bash manual
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yelp (Ubuntu) |
Fix Released
|
Medium
|
Sebastien Bacher |
Bug Description
When opening the bash manual page in Yelp via System->Help, Manual Pages,
Applications, bash, Yelp continues to grow in memory and processor usage until
it exhausts the resources on the system and makes the whole desktop sluggish and
unstable.
I'll attach a file that shows the errors printed to the console by Yelp. A
couple of things of interest are:
- the bash manual defines its own macros (e.g. FN)
- it uses manuals not provides by mdoc but possibly provided by other groff
macro packages such as ms and mm (e.g. SM)
- it uses some raw troff/groff commands
Bash is one of the longest, most difficult manual pages to view in the command
line man pager; Yelp could be very useful for viewing man pages such as this.
http://
Created an attachment (id=3386)
stdout and stderr from running yelp viewing bash man page
This is the console output from yelp.
I killed it after maybe 10 or 15 seconds in this instance, having previously
seen it run and allocate over 500 MB of virtual memory and use over 90% of the
CPU time.