-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fatal error when loading workspace image with objects containing a null external pointer and a prototype from class definition #106
Comments
I believe this is a bug that should be fixed in the
The call to Originally posted by @kevinushey in rstudio/rstudio#8923 (comment) |
This is an old issue with external pointers, and is not specific to |
This is discussed a bit in #100. |
Thank you @privefl ! I'll check that out. |
I don't know about the current status of {bigmemoryExtras}; @phaverty? I implement something similar to |
Hi Florian,
Thanks for your interest. bigmemoryExtras has recently fallen into
disrepair. It could probably be resurrected with some small updates.
…On Tue, Sep 21, 2021 at 8:37 AM Florian Privé ***@***.***> wrote:
I don't know about the current status of {bigmemoryExtras}; @phaverty
<https://github.com/phaverty>?
I implement something similar to big.matrix objects in my package
{bigstatsr}; see similarities and differences at
https://privefl.github.io/bigstatsr/articles/bigstatsr-and-bigmemory.html.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6TMK7VUVKXGKBMUCKEFO3UDCRFHANCNFSM5EOACMJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@privefl Thanks! I'll check it out. |
(This issue is forwarded from rstudio/rstudio#8923)
System details
Steps to reproduce the problem
Describe the problem in detail
If I run the codes above, save the workspace, restart RStudio again, it will throw a fatal error. This only occurs if t3 is in the workspace, and only occurs in RStudio (RGui doesn't have this problem).
I guess a part of this problem comes from the behavior of
bigmemory
package: it generates external pointers which will become null in the next time. If I click t2 with a null pointer to view it, the fatal error of R will also occur. (This is easy to avoid: as long as I don't click it, it's fine.)But for t3, whenever I load the workspace, that fatal error occurs.
Another thing I found is that t2 is in the Data section of the variable inspector, while t3 is in the Values section. I suspect this is related to this problem, but I'm not sure.
Describe the behavior you expected
Successfully load the abovementioned objects.
The text was updated successfully, but these errors were encountered: