[R-SIG-Mac] How to report a segmentation fault

Daniel Serodio (lists) daniel.lists at mandic.com.br
Wed Dec 7 14:34:30 CET 2011


I'm a complete R newbie. My first R script is to generate a histogram 
from a CSV file, and I'm getting a segmentation fault every time.

 > csv <- read.csv(file='data.csv',head=TRUE,sep=",")
 > hist(csv$foo)

  *** caught segfault ***
address 0x0, cause 'memory not mapped'

Traceback:
  1: title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...)
  2: plot.histogram(r, freq = freq1, col = col, border = border, angle = 
angle,     density = density, main = main, xlim = xlim, ylim = ylim,     
xlab = xlab, ylab = ylab, axes = axes, labels = labels, ...)
  3: plot(r, freq = freq1, col = col, border = border, angle = 
angle,     density = density, main = main, xlim = xlim, ylim = ylim,     
xlab = xlab, ylab = ylab, axes = axes, labels = labels, ...)
  4: hist.default(csv$last_web_mail_date)
  5: hist(csv$last_web_mail_date)




How should I report this bug? I'm running R 2.14.0 (compiled by "brew") 
on Lion

Thanks in advance,
Daniel Serodio



More information about the R-SIG-Mac mailing list