-- Originally posted by (AT sourceforge.net): keepiru -- -- This ticket was imported from http://sourceforge.net/p/rkward/bugs/56 on 2017-05-30 15:26:43 +0100 -- Example from TkWidgetcmds help: try: require\(tcltk\) tt <- tktoplevel\(\) tkpack\(txt.w <- tktext\(tt\)\) tkinsert\(txt.w, "0.0", "plot\(1:10\)"\) eval.txt <- function\(\) eval\(parse\(text=tclvalue\(tkget\(txt.w, "0.0", "end"\)\)\)\) tkpack\(but.w <- tkbutton\(tt,text="Submit", command=eval.txt\)\) Click the button. Result: RKWward hangs. Example from slider help: try: require\(relax\) plot.sample.norm<-function\(\)\{ refresh.code<-function\(...\)\{ mu<-slider\(no=1\); sd<-slider\(no=2\); n<-slider\(no=3\) x<-rnorm\(n,mu,sd\) plot\(x\) \} slider\(refresh.code,sl.names=c\("value of mu","value of sd","n number of observations"\), sl.mins=c\(-10,.01,5\),sl.maxs=c\(+10,50,100\),sl.deltas=c\(.01,.01,1\),sl.defaults=c\(0,1,20\)\) \} plot.sample.norm\(\) Slide a slider. result: SIGSEGV
Hi\! Thanks for reporting. I'm surprised, nobody stumbled over this before, this bug must have been present since a long time... This should be fixed in SVN \(r2649\). Since I got slightly different results, initially \(a hang, but no segv in both examples\), it would be nice if you could test and post back. NOTES: This also needs some more testing on potential side-effects, and should probably be backported to the KDE3 branch, if we do any further release\(s\) for KDE 3.
- **assigned_to**: nobody --> tfry - **summary**: Tk causes hangs and SEGVs --> FIXED IN SVN; NEEDS TESTING: Tk causes hangs and SEGVs - **status**: open --> open-fixed
-- Originally posted by (AT sourceforge.net): keepiru -- Fix confirmed for both test cases in r2650. Thank you\!
Closing as 0.5.2 has been released, today. Thanks again for reporting / testing\!
- **status**: open-fixed --> closed-fixed