Skip to content

Ctrl-c crashes R when run as sudo (PR#7819)

1 message · Marc Schwartz

#
On Tue, 2005-04-26 at 11:41 -0400, Manuel Morales wrote:
Manuel,

Please be sure to copy R-bugs@biostat.ku.dk when you reply so that the
thread is properly archived in the bug tracking system.

I tried this under GNOME using gnome-terminal and the unpatched version
of R 2.1.0 and still could not duplicate the problem.

Can you post back with the contents of /etc/sudoers?

The other possibility would be to run:

sudo R -d gdb

in gnome-terminal. When you get to the (gdb) prompt, type 'r' (without
the quotes) for run, which will start up R.

If you can replicate the problem under gdb and R exits after a ctrl-c,
you should be left at a (gdb) prompt. If that occurs, type 'bt' (without
the quotes), which will display a backtrace. If that all works, post the
output of gdb from the crtl-c through and including the backtrace here.

Marc