-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting alloccol and then making a DT with more than that many columns segfaults #970
Comments
Please read completely and follow the instructions here. Thank you. |
I don't understand what I'm missing. I told you it is the latest dev version of data.table and R 3.0.2, I gave a minimal reproducible example, and I don't see this bug already reported. What more are you looking for? Okay fine, it is isn't totally minimal as I was trying to show you where the edge case issue clearly is. The real minimal example:
|
@caneff It's also easier for us to if one shows the output (wherever relevant) - which is not necessary in your case again, but I wrote the comment here so that it doesn't happen on another post. Thanks again. I don't get a segfault on my machine, but it errors instead: # Error in alloc.col(ans) : attempt to set index 100/100 in SET_VECTOR_ELT
# data.table 1.9.5, R v3.1.2, Mac OS X, Yosemite 10.10.1 |
@caneff, have patched it. I don't see the error on my machine anymore. Could you please confirm on segfault please? Thanks. |
I have datatable.alloccol set in my options (not even sure why any more, probably from helping with a rare segfault debug in an earlier version). When I make a DT with more than that many columns it segfaults. With the latest dev version and R 3.0.2:
The output when it segfaults (with things in {} removed):
I can just remove alloccol for now as I'm not sure it is still necessary. No alloccol and it works fine.
The text was updated successfully, but these errors were encountered: