Skip to content

interrupt crashes R randomly #947

@klin333

Description

@klin333

Interrupting query causes R process itself to randomly crash. seems like a segfault, can't be sure because I see no error message other than crash.

con <- DBI::dbConnect(
  odbc::odbc(),
  driver   = "ODBC Driver 18 for SQL Server",
  ... # omitted
  interruptible = TRUE
)

DBI::dbGetQuery(con, "WAITFOR DELAY '00:00:10'", immediate = TRUE);
# hit Ctrl-C -> "Caught user interrupt, attempting a clean exit..." -> randomly crash out of R process

sessionInfo:

Platform: x86_64-w64-mingw32/x64 (64-bit)
R: 4.3.2
odbc: 1.6.3
DBI: 1.2.3
ODBC Driver 18 for SQL Server: 2018.185.02.01    (sounds old but is fresh download of latest available from Microsoft)
remote database: Azure SQL Database

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions