[R] segfault in RMySQL

Ronaldo Reis Jr. chrysopa at insecta.ufv.br
Thu Aug 29 00:07:48 CEST 2002


Hi all,

I have experimented a segmentation fault error using 
RMySQL_0.4-6 library in R 1.5.1.

Look the sequence:

-------------------------------------------
> library(RMySQL)
> m <- dbManager("MySQL")
> m
<MySQLManager:(1137)> 
> describe(m)
<MySQLManager:(1137)> 
  Driver name:  MySQL 
  Max  connections: 10 
  Conn. processed: 0 
  Default records per fetch: 500 
  Open connections: 0 
> con <- dbConnect(m)

Process R segmentation fault at Wed Aug 28 08:21:11 2002
-------------------------------------------

The problem is always in dbConnect function.

I try:

---------------------------------
> con <- dbConnect(m,group="tese")
---------------------------------

where tese is in .my.cfn 

-------------------------------------
[ronaldo at debian ronaldo]$ cat .my.cfn 
     [tese]
     user = ronaldo
     database = tese
     password = mypass
     host = localhost
-------------------------------------

I try also:

----------------------------------------
> con <- dbConnect(m,host="localhost",user="ronaldo",
+ database="tese",password="mypass")
----------------------------------------

The problem is the same.

I use R on Debian Woody.

The R work well, the mysql work fine in shell.

I compiled and recompiled 

Anybody have any idea for solution or discovery why, how and where is the 
problem?

Thanks

Ronaldo

-- 
No fim tudo dá certo, se nao deu certo é porque ainda nao chegou ao fim. 
		-- Fernando Sabino
--
|   //|\\   [*****************************][*******************]
|| ( õ õ )  [Ronaldo Reis Júnior          ][PentiumIII-600     ]
|     V     [ESALQ/USP-Entomologia, CP-09 ][HD: 30 + 10 Gb     ]
||  / l \   [13418-900 Piracicaba - SP    ][RAM: 128 Mb        ]
|  /(lin)\  [Fone: 19-429-4199 r.229      ][Video: SiS620-8Mb  ]
||/(linux)\ [chrysopa at insecta.ufv.br      ][Modem: Pctel-onboar]
|/ (linux) \[ICQ#: 5692561                ][SO: CL 7.0 (2.2.19)]
||  ( x )   [*****************************][*******************]
||| _/ \_Powered by Gnu/Debian Woody D+:) | Lxuser#: 205366

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list