Re: [Rd] segfault in gregexpr()

2008-01-31 Thread Seth Falcon
Hi again,

 Herve wrote:
gregexpr(, abc, fixed=TRUE)
 
*** caught segfault ***
   address 0x1c09000, cause 'memory not mapped'

This should be fixed in latest svn.  Thanks for the report.

+ seth

-- 
Seth Falcon | [EMAIL PROTECTED] | blog: http://userprimary.net/user/

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] segfault in gregexpr()

2008-01-31 Thread Herve Pages
Hi Seth,

Seth Falcon wrote:
 Hi again,
 
 Herve wrote:
gregexpr(, abc, fixed=TRUE)

*** caught segfault ***
   address 0x1c09000, cause 'memory not mapped'
 
 This should be fixed in latest svn.  Thanks for the report.

That's great. Thanks!

H.

 
 + seth


__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] segfault in gregexpr()

2008-01-30 Thread Herve Pages
Hi,

Tried with R 2.6 and R 2.7:

   gregexpr(, abc, fixed=TRUE)

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

  Traceback:
   1: gregexpr(, abc, fixed = TRUE)

  Possible actions:
  1: abort (with core dump, if enabled)
  2: normal R exit
  3: exit R without saving workspace
  4: exit R saving workspace
  Selection:


 sessionInfo()
R version 2.7.0 Under development (unstable) (2008-01-29 r44238)
x86_64-unknown-linux-gnu

locale:
LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=en_US;LC_COLLATE=en_US;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base


Cheers,
H.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] segfault in gregexpr()

2008-01-30 Thread Seth Falcon
Hi Herve,

Thanks for the report.  I can reproduce this with latest R-devel.
perl=TRUE is also broken.  I have a patch which I am testing.  With
it, I get:

 gregexpr(, abc) 
[[1]]
[1] 1 2 3
attr(,match.length)
[1] 0 0 0

 gregexpr(, abc, fixed=TRUE)
[[1]]
[1] 1 2 3
attr(,match.length)
[1] 0 0 0

 gregexpr(, abc, perl=TRUE)
[[1]]
[1] 1 2 3
attr(,match.length)
[1] 0 0 0


+ seth

-- 
Seth Falcon | [EMAIL PROTECTED] | blog: http://userprimary.net/user/

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel