On 5 December 2006 at 09:46, Dirk Eddelbuettel wrote:
| | Here is what I used for strace:
| | 
| |     [EMAIL PROTECTED]:~$ cat rpytest.py
| |     import time
| |     from rpy import *
| | 
| |     x = range(0, 10)
| |     y = [ 2*i for i in x ]
| |     r.plot_default(x, y)
| | 
| |     time.sleep(30)
| | 
| | 
| | And here is the last part of the strace output:
| | 
| |     [EMAIL PROTECTED]:~$ strace python rpytest.py       
| | 
| |     [very long part stripped]
| | 
| |     rt_sigaction(SIGINT, {0x80e4ca0, [], 0}, {0xb70fb620, [INT], 
SA_RESTART}, 8) = 0
| |     futex(0x859d638, FUTEX_WAKE, 1)         = 0
| |     futex(0x81b98c8, FUTEX_WAKE, 1)         = 1
| |     select(0, NULL, NULL, NULL, {30, 0}Error during wrapup: C stack usage 
is too close to the limit
| | 
| |      *** caught segfault ***
| |     address (nil), cause 'memory not mapped'
| | 
| | 
| | Please notice the select call which stems from the sleep function.
| | Between this call and the crash were several seconds. It crashed exacly
| | when I started to move the window.
| 
| Excellent work. Let me just re-confirm this once I get home this evening. It

Confirmed -- Ubuntu Edgy desktop ssh'ed to my Debian testing server, running
python/rpy/R on Debian.  Plotting as above, and when the window comes to the
fore, python/R/rpy segfaults.

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to