PMG News Items Below

10/30/2007: Stack smashing issue

Under Kubuntu the following example was throwing a stack smashing error with R-2.6.0:


library(RGtk2)

w = gtkWindowNew("test")
b = gtkButton("click me")
w$Add(b)

connectSignal(b,"clicked",function(...) {
 e = simpleError("test")
 stop(e)
}
If you see this error, recompile after first setting
export CFLAGS="-fno-stack-protector"