[rkward-devel] seg fault errors... (some diagnosis)

Prasenjit Kapat kapatp at gmail.com
Fri Apr 20 00:17:02 UTC 2007


Ok, I might have isolated the issue (deterministically!). I am attaching one 
image file, to explain the problem, have a look at the image file. There are 
two screenshots in the that file. The left one in fine, but the right one has 
the problem.

In a nutshell, the error is: When "R Console" (or "Command Log") is detached 
from the main RKWard window the focus doesnot change from the main window to 
the detached windows properly.

Hopefully the following steps should show an error on your machine too.

1. Start any temporary workspace (or the default empty one).
2. create some variable (say xx, see attached image).
3. detach the "R Console" tab to create a new window as shown in the right 
image.
4. print the variable, xx.
5. open a new (or any existing) script file from the main window and keep it  
    in focus.
6. go back to the detached "R Console" window: the red focus-border should 
already be lost (ie, though the cursor is in console, the script file is in 
focus). You can see this in the right image.
7. Edit > (you'll see the edit menu of a script file, not of the console)
8. right click on the selected part of the variable printout in "R Console" 
and you should end up with the following error (in konsole):

output without receiver'
 *** caught segfault ***
address 0x28, cause 'memory not mapped'
Possible actions:
1: abort (with core dump)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
'

9. Instead of doing step 8. if you attach the "R Console" window back to the 
main window as tab, then things are fine again, i.e the focus changes 
properly and the menu entries (and context menus) are fine.

Does this help?

Regards
PK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tworksp1.png
Type: image/png
Size: 223164 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20070419/bb4887d1/attachment.png>


More information about the Rkward-devel mailing list