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

Colin Walters walters at redhat.com
Wed Jul 23 16:09:50 UTC 2008


And somehow I failed to CC Anthony; trying again:

On Wed, 2008-07-23 at 10:26 -0400, Colin Walters wrote:
> 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.
> 
> 
> 
> --
> fedora-devel-java-list mailing list
> fedora-devel-java-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-java-list




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