Bug 14266 - RGui help system crashes consistently
RGui help system crashes consistently
Status: RESOLVED FIXED
Product: R
Classification: Unclassified
Component: Mac GUI / Mac specific
R 2.10.1 patched
ix86 (32-bit) Mac OS X v10.6
: P5 normal
Assigned To: Simon Urbanek
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-22 19:21 UTC by Andy S
Modified: 2010-04-22 21:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy S 2010-04-22 19:21:17 UTC
When double clicking on the package description in the R package manager, the help system will always crash with a "Error: ignoring SIGPIPE signal". 

Also, searching for a help item in the help system will bring up the "help topics matching xxx" window, then double clicking on the "topic" column of any listed package will always crash the help system with " "Error: ignoring SIGPIPE signal". 

In addition to these consistent errors (both on R 2.10, and R 2.11 devel), the help system will also  randomly crash with "Error: ignoring SIGPIPE signal". 

This is a rather big problem, because the ONLY way to restore help is to re-start R, which can be extremely annoying.
Comment 1 Simon Urbanek 2010-04-22 21:10:15 UTC
Unfortunately the report is too late for today's release - it would have been very useful a few days ago.

Neither of the lists are meant to be used with double-clicks - single click is sufficient (double-click results in two requests of which the first one is cancelled by the subsequent one leading to SIGPIPE).

The underlying problem is that Rhttpd can raise SIGPIPE if the client closed the connection unexpectedly (R.app package manager is just one example how that can be done). The proper fix is to modify SIGPIPE handler so it won't raise an error when the client closes the connection prematurely in Rhttpd and this is now committed in R-devel.