Closed dr-rho closed 2 years ago
Thanks @dr-rho , but I'm definitely going to need something reproducible to help further. I'd suggest trying to break the graph down to isolate a smaller chunk that still triggers the error, then creating a reprex that starts by downloading that from somewhere. The problem is likely internal here, and not related to compilation flags or Rcpp. As soon as I can reproduce, I'll tryto figure out what's up.
I'm going to close this for now. Feel free to re-open if you can provide a reproducible example .Thanks.
Sorry Mark,
I have been swamped with other work, will get back into it next week.
Thank you for your patience.
Kind Regards Ro
From: mark padgham @.> Sent: Tuesday, 30 August 2022 10:41 PM To: ATFutures/dodgr @.> Cc: Sadler, Rohan @.>; Mention @.> Subject: Re: [ATFutures/dodgr] rcpp segfault - memory not mapped (Issue #185)
I'm going to close this for now. Feel free to re-open if you can provide a reproducible example .Thanks.
- Reply to this email directly, view it on GitHubhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FATFutures%2Fdodgr%2Fissues%2F185%23issuecomment-1231764043&data=05%7C01%7Crohan.sadler%40psc.wa.gov.au%7C10d116dd31454c48bab808da8a95a196%7Cd48144b5571f4b689721e41bc0071e17%7C0%7C0%7C637974672521698191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=22XZSvHzNRZZv%2BVvRZAnC4teP9UudIi%2FE%2FH7%2BLq7bQs%3D&reserved=0, or unsubscribehttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUQFANR6HR2EEY5H2FM2RWTV3YMO5ANCNFSM57NUV3PA&data=05%7C01%7Crohan.sadler%40psc.wa.gov.au%7C10d116dd31454c48bab808da8a95a196%7Cd48144b5571f4b689721e41bc0071e17%7C0%7C0%7C637974672521698191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j52zmPiamSM7pvpL1tGanMQNMY0%2FbreWMoVtcAqx5y8%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.**@.>>
Hi dodgr,
I've replicated this issue across windows 10 and ubuntu 22.04.
R crashes in both instances with caught segfault - cause 'memory not mapped'
Traceback attributes this to function: rccp_get_sp_dists_paried_par
Can provide data objects for reproducibility if required, but perthGraph is large.
I'd almost suspect that compilation flags differ for Rcpp and dodgr, when Rcpp is installed from CRAN and dodgr installed using remotes. This follows from an autoupdate in windows 10 and an upgrade from ubuntu 20 to 22. Before this, dodgr was working well.
Any insight would be greatly appreciated.
Regards Rho