jverzani / gWidgets2

Rewrite of gWidgets
35 stars 9 forks source link

Malloc error when displaying a gbasicdialog #31

Closed blernermhc closed 11 years ago

blernermhc commented 11 years ago

I have recently installed gWidgets2 and gWidgets2Rgtk2 on my Mac. A simple test fails with an error in malloc. Before failing, it does show a window with an Ok and Cancel button.

Here is what I am doing, running right after starting R:

require(gWidgets2) Loading required package: gWidgets2 Loading required package: digest w <- gbasicdialog(title="Hello, World") Loading required package: gWidgets2RGtk2 Loading required package: memoise Loading required package: RGtk2 visible(w, set=TRUE) R(14313,0x7fff7e9fd960) malloc: * error for object 0x4024000000000000: pointer being freed was not allocated * set a breakpoint in malloc_error_break to debug Abort trap: 6

I am running:

I would appreciate any help in solving this.

Barbara

jverzani commented 11 years ago

Not sure this got figured out, but I'd guess this is the issue with the combination of OS X + R 3.0.x and Gtk. There are some solutions (http://stackoverflow.com/questions/15868860/r-3-0-and-gtk-rgtk2-error) but nothing trivial.