https://bugs.kde.org/show_bug.cgi?id=398028
Bug ID: 398028
Summary: Assertion `csfi_fits` failing in simple C program with
embedded Julia code.
Product: valgrind
Version: 3.14 SVN
Platform: unspecified
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Julia (https://julialang.org) is a scripting language that can be embedded into
C. For reproduction, version 1.0 can be installed on Arch with `pacman -S
julia`.
This simple program that only initializes Julia and sends an exit message to
the garbage collector, cannot be inspected with Valgrind, as the error
> valgrind: m_debuginfo/debuginfo.c:737 (check_CFSI_related_invariants):
> Assertion 'cfsi_fits' failed.
is encountered:
#include <julia/julia.h>
int main() {
jl_init();
jl_atexit_hook(0);
}
It can be compiled with
$ gcc -c -DJULIA_ENABLE_THREADING=1 -fPIC src.c && gcc src.o -ljulia -o testing
I was unable to find out what CFSI stands for, so I can give no further
details.
I have opened an issue at the Julia repository, but was informed that it is a
Valgrind issue. The Docs for Julia
(https://docs.julialang.org/en/stable/devdocs/valgrind/) advise certain steps
to use Valgrind with Julia, but none of them have helped and I believe that
those are only for free-standing Julia scripts, not C programs.
Here is the entire log: https://pastebin.com/raw/QtHtfvkb
My OS is Linux 4.18.5-arch1-1-ARCH x86_64 GNU/Linux
Thank you for your help!
--
You are receiving this mail because:
You are watching all bug changes.