Loading ...
Sorry, an error occurred while loading the content.

ploticus Trap 6 runtime stricpy issue on OSX Mavericks

Expand Messages
  • Steve Grubb
    Hi, just got word of the following Trap 6 runtime stricpy issue on OSX Mavericks 10.9.2 Putting this out there in case anyone is equipped to look into this..
    Message 1 of 1 , Apr 17, 2014
    • 0 Attachment
      Hi, just got word of the following "Trap 6" runtime stricpy issue on OSX Mavericks 10.9.2

      Putting this out there in case anyone is equipped to look into this.. I'm not.  Tom has offered to recompile and see if submitted patches work.

      -steve


      > On Wed, Apr 16, 2014 at 8:59 PM, Tom Van Vleck <thvv@...> wrote:
      > ploticus fails on OSX Mavericks (10.9.2) with a trap 6 for some chart definitions.
      > It gets a runtime error from strlcpy() stating "detected source and destination buffer overlap".
      > (Other programs are also encountering this, e.g. Apache)
      >
      > Below is an example input file that has worked for years.
      > It makes a bar chart of my email traffic by type.
      > As of Mavericks it fails if I uncomment the 3 xaxis lines.
      > For now I am doing without the x axis labels.
      >
      > regards, tom
      >
      >
      > #proc settings
      >   dateformat: yymm
      >   lazydates: day
      >
      > // Set up plotting area using proc areadef
      > #proc areadef
      > //  title: Spam
      > //  titledetails: align=C size=16 style=B
      > // *** edit xrange ***
      >   rectangle: 1 1 5 4
      >   xscaletype: date yymm
      >   xrange: 0303 1403
      >   yrange: 0 600000
      >   //xaxis.stubs: inc 1 month
      >   //xaxis.stubformat: M
      >   //xaxis.autoyears: yes
      >   yaxis.stubs: inc 100000
      >   yaxis.labeldetails: adjust=-0.3,0
      >
      > // Read and process data file using proc getdata
      > #proc getdata
      >   file: mailplot.csv
      >   fieldnames: Month Spam Virus Fwd Bounce Good
      >   delim: comma
      >   showresults: yes
      >
      > // draw bars for Spam using proc bars
      > // *** edit barsrange ***
      > #proc bars
      >   lenfield: Spam
      >   locfield: Month
      >   color: red
      >   outline: no
      >   barsrange: 0303 1403
      >   legendlabel: Spam
      >   barwidth: 0.10
      >   outline: yes
      >   #saveas B
      >
      > // draw bars for Virus, stacking them above Spam, using proc bars
      > #proc bars
      >   #clone: B
      >   lenfield: Virus
      >   color: yellow
      >   stackfields: 2
      >   legendlabel: Virus
      >
      > // draw bars for Fws, stacking them above Virus and Spam, using proc bars
      > #proc bars
      >   #clone: B
      >   lenfield: Fwd
      >   color: blue
      >   stackfields: 2 3
      >   legendlabel: Fwd
      >
      > // draw bars for Bounce, stacking them above the others, using proc bars
      > #proc bars
      >   #clone: B
      >   lenfield: Bounce
      >   color: green
      >   stackfields: 2 3 4
      >   legendlabel: Bounce
      >
      > // draw bars for Good, stacking them above the others, using proc bars
      > #proc bars
      >   #clone: B
      >   lenfield: Good
      >   color: black
      >   stackfields: 2 3 4 5
      >   legendlabel: Good
      >
      > // render legend using labels defined above (proc legend)
      > #proc legend
      >   location: min+0.3 max
      >   reverseorder: yes
      >   seglen: 0.3
      >
      >


    Your message has been successfully submitted and would be delivered to recipients shortly.