Skip to content

rbindlist Internal error: savetl_init checks failed #4823

Description

@danbartl

Hi, thanks for this awesome package.

I have a weird crash where data.table bugs out unrecoverably (requires R restart) in all versions 1.13.0 to 1.13.3. Here is the minimal example (nonsensical, the true data has more variation and is bigger)

library(data.table)
library(mltools)
data_instance <-data.table(x=rep(0.2972973,101),transfos=0)
buckets <- 12
data_instance[,bucket:=bin_data(transfos, bins=buckets, binType = "quantile")]

Fehler in rbindlist(list(head(x, topn), tail(x, topn)), use.names = FALSE) :
STRING_PTR() can only be applied to a 'character', not a 'NULL'

And then whenever I call a data.table:

Fehler in rbindlist(list(head(x, topn), tail(x, topn)), use.names = FALSE) :
Internal error: savetl_init checks failed (0 100 0x00000135ab4382c0 0x00000135ab4a9670). please report to data.table issue tracker.

Until I restart

Sessioninfo:
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default
Sessioninfo
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252

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

other attached packages:
[1] mltools_0.3.5 data.table_1.13.3

loaded via a namespace (and not attached):
[1] compiler_4.0.3 Matrix_1.2-18 tools_4.0.3 yaml_2.2.1 grid_4.0.3 lattice_0.20-41

Activity

  1. MichaelChirico commented on Nov 26, 2020

    @MichaelChirico
    Member

    Sorry about that! I am not reproducing on Linux on current master, nor on the latest CRAN release.

  2. shrektan commented on Nov 27, 2020

    @shrektan
    Member

    I think #4803 fixes this

    @dbart79 It would be great if you can test the patch to see it fixes your issue or not.

    (Install the patch via remotes::install_github("Rdatatable/data.table#4803") . Note, since your OS is Windows, you need to close all the R sessions that may use data.table, otherwise the DLL file is locked)

    Thanks.

  3. danbartl commented on Nov 27, 2020

    @danbartl
    Author

    Yes, I justed it and it works, issue can be closed 👍 .

    Thanks!

  4. changed the title [-]data.table crashes with weird bug[/-] [+]rbindlist Internal error: savetl_init checks failed[/+] on Dec 10, 2020
  5. added this to the 1.14.1 milestone on Apr 29, 2021
  6. modified the milestones: 1.14.9, 1.15.0 on Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions