[rkward-tracker] [ rkward-Bugs-1878594 ] rkward 0.5.0a hangs when loading the RGtk2 package

SourceForge.net noreply at sourceforge.net
Fri Jan 25 00:38:43 UTC 2008


Bugs item #1878594, was opened at 2008-01-24 01:37
Message generated for change (Comment added) made by tfry
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=1878594&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: rkward 0.5.0a hangs when loading the RGtk2 package

Initial Comment:
library(RGtk2) # hangs

the message in konsole is 

Xlib: unexpected async reply (sequence 0x55)!

Can someone confirm? It might just be a Debian thing (using r-cran-rgtk2 here)

Ben Goodrich


----------------------------------------------------------------------

>Comment By: Thomas Friedrichsmeier (tfry)
Date: 2008-01-25 01:38

Message:
Logged In: YES 
user_id=300591
Originator: NO

I see the same issue (also on Debian, but downloaded RGtk2 from CRAN via
R).

The issue is not 100% reproducible, but perhaps 98% so.

If you run
> Sys.setenv (DISPLAY=":0.123412")
> library (RGtk2)
there is no hang, but RGtk2 complains about failing to initialize. Now do
> gdkDisplayOpen(":0.0")
and you get the hang, again, so this is where the problem is at.

Somehow the issue seems to be that RGtk2 (running in the "R thread" in
RKWard) tries to talk to the X server concurrently with Qt. However, I
don't really understand, why this should be a problem, since RGtk2 should
use its own XDisplay/connection, which should be fine, as far as I am
aware. Also in RKWard 0.4.9 there is no such problem.

Unfortunately, I have no good idea on this at all. Any help will be much
appreciated.

Starting rkward with
# rkward --sync
makes the problem go away most (but not all) of the time.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=1878594&group_id=50231




More information about the rkward-tracker mailing list