Created attachment 206432 [details] Sample script to reproduce the issue The rrdtools perl bindings, and more specifically the RRDs::graph call on arm64 architectures, causes a segmentation fault. See in attachments, a sample code who reproduces the error. As said, the issue is not present in amd64 and i386 installs, only arm64 fails. I tried to use the rrdtool command line (rrdtool graphic), and had no crash, so the issue only appears when calling through the perl bindings. You can find the core dump here: http://files.osorio.me/pr-rrd/perl.core.xz and the ktrace result http://files.osorio.me/pr-rrd/ktrace.out (ktrace -i sh test-script.sh). Running perl in debug mode (-D) doesn't give more infos.
@Rodrigo, If you could attach the dumps/trace (compressed if required), that'd be great, as external URL references tend to go stale/missing over time, as is having all information self-contained in issues for our future selves.
What version do you use? If it's 11.x or 12.0 you'll have to update to a newer version, there is a bug in rtld in these versions. I don't have the problem on my system (13-current)
(In reply to mikael.urankar from comment #2) @mikael.urankar@gmail.com : thanks, good to know. I gonna try it.
(In reply to mikael.urankar from comment #2) I'm using the 12.0-RELEASE.
As reported by mikael.urankar, the issue was in rtls. It was solved on 13.0-CURRENT and latest 12.0-STABLE. We can close the issue.
^Triage: Clarify/set slightly better Resolution as crashes are almost always not intended behaviour. The issue 'was' a bug, but was FIXED by a base bug fix (would be great to have base bug/commit references in this issue for where/when it was fixed), so overcome by events is more appropriate given the timeline of this issue.
^Triage: Assign to committer that resolved
fixed in base r342113