[fedora-java] jna and gstreamer-java on fedora

Colin Walters walters at redhat.com
Wed Jul 23 14:26:38 UTC 2008


On Tue, 2008-07-22 at 01:47 +1000, Wayne Meissner wrote:
> This is a bit of a stab in the dark, but check that the rpm build for
> libffi has -DFFI_MMAP_EXEC_WRIT in CFLAGS for the build.

I don't see any such flag in
http://kojipkgs.fedoraproject.org/packages/libffi/3.0.1/1.fc9/data/logs/x86_64/build.log

CC'ing libffi maintainer (Anthony, the context here is:
https://www.redhat.com/archives/fedora-devel-java-list/2008-July/msg00056.html)

> gst_object_unref() will do a C -> java callback, and if you're on a
> system that disables the execute bit on normal malloc data (which
> should be all of them these days), JNA callbacks will cause the jvm to
> crash if libffi is not built to allocate the closure trampoline in
> executable memory.






More information about the fedora-devel-java-list mailing list