Bug#759803: python-llvm: Causes segfault on printing certain values

Sylvestre Ledru sylvestre at debian.org
Sat Aug 30 15:39:12 UTC 2014


severity 759803 normal
thanks



On 30/08/2014 17:26, Robert wrote:
> Package: python-llvm
> Version: 0.12.6-2
> Severity: important
>
> Dear Maintainer,
>
> python-llvm (llvm-py upstream) has been giving me quite a few issues
> lately.
>
> I wrote a quick test to see how easy it would be to generate some code
> with it, and kept getting segfaults. That was a red flag right away;
> python code shouldn't ever segfault unless you're doing something
> strange.
>
In theory, yes.

However, it is the way LLVM is designed.
If an incorrect IR is given, LLVM is going to crash, crashing Python in
the meantime.

FYI, there is the exact same issue with the OCaml binding.

Cheers,
Sylvestre



More information about the Pkg-llvm-team mailing list