Re: [Rd] Stack smashing in RODBC

From: Dirk Eddelbuettel <>
Date: Tue, 26 Jan 2010 05:17:16 -0600

On 26 January 2010 at 01:23, "Tom \"spot\" Callaway" wrote:

| On 01/25/2010 09:14 PM, Dirk Eddelbuettel wrote:

| > I cannot replicate this on Debian. The error gets trapped just fine. This may
| > be particular to your builds or setup. I don;t see an R error (but of course
| > do not speak for R Core). Here is a short version, it is the same in normal
| > interactive mode.
| I don't think Debian builds with stack protection in glibc, whereas
| Fedora does (and I think Ubuntu Hardy and onward also do).

As I get the exact same result on Ubuntu, I continue to suspect that the issue with Fedora.

edd_at_joe:~$ echo 'library(RODBC); channel <- odbcConnect("foo", uid="bar")' | R --slave Warning messages:
1: In odbcDriverConnect("DSN=foo;UID=bar") :   [RODBC] ERROR: state IM002, code 0, message [unixODBC][Driver Manager]Data source name not found, and no default driver specified 2: In odbcDriverConnect("DSN=foo;UID=bar") : ODBC connection failed edd_at_joe:~$ COLUMNS=78 dpkg -l r-base-core r-cran-rodbc | tail -2 ii r-base-core 2.10.1-2karmic GNU R core of statistical computation and gr ii r-cran-rodbc 1.3-1-1karmic0 GNU R package for ODBC database access edd_at_joe:~$

FWIW, on Debian and Ubuntu, unixodbc_2.2.11 is used.


Three out of two people have difficulties with fractions.

______________________________________________ mailing list
Received on Tue 26 Jan 2010 - 11:20:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 26 Jan 2010 - 22:30:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive