Skip to content

r/adbcdrivermanager: segfault (probably wrong release order) #1348

@nbenn

Description

@nbenn

@paleolimbot using current main adbi (dce88fb), running

ctx <- DBItest::make_context(
  adbi::adbi("adbcsqlite"),
  list(
    uri = tempfile("DBItest", fileext = ".sqlite")
  ),
  tweaks = suppressWarnings(
    DBItest::tweaks(
      dbitest_version = "1.7.3",
      constructor_relax_args = TRUE,
      placeholder_pattern = c("?", "$1", "$name", ":name"),
      date_cast = function(x) paste0("'", x, "'"),
      time_cast = function(x) paste0("'", x, "'"),
      timestamp_cast = function(x) paste0("'", x, "'"),
      logical_return = function(x) bit64::as.integer64(x),
      date_typed = FALSE,
      time_typed = FALSE,
      timestamp_typed = FALSE,
      temporary_tables = FALSE, # apache/arrow-adbc#1141
      strict_identifier = TRUE
    )
  ),
  name = "adbi"
)

DBItest::test_some("bind_repeated", ctx, FALSE)

crashes R. Let me know if that does not work for you.

Using CRAN versions for the adbc pkgs:

─ Packages ─────────────────────────────────────────────────────────────────────────────
 package           * version    date (UTC) lib source
 adbcdrivermanager   0.8.0      2023-11-10 [1] CRAN (R 4.2.3)
 adbcsqlite          0.8.0      2023-11-10 [1] CRAN (R 4.2.3)

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