SapphireDensetsu / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

mprotect failed with selinux on fedora 10 #99

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I run one of the following command from the ypsilon build directory:

  ./ypsilon --sitelib=./test:./sitelib:./stdlib example/gtk-hello.scm

  ./ypsilon --sitelib=./test:./sitelib:./stdlib example/glut-demo.scm

  (strangely the former always fails, while the latter *sometimes* succeeds...)

I don't get any window and instead I get the following output :

src/ffi.cpp:900 mprotect failed 13

and the attached alert from setroubleshooter (alert monitor for selinux).

Looks like selinux thinks ypsilon is doing something dangerous. 

I'm using ypsilon from SVN 20090507 on Fedora 10 i386 (selinux enabled as
default)

Best Regards,
Lorenzo

Original issue reported on code.google.com by Lorenzo....@gmail.com on 9 May 2009 at 6:43

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you for your bug report!
I will install Fedora 10 on my machine and fix the bug. (Ypsilon uses 
'on-the-fly'
code generation for FFI callback, and I think the bug is in there.)
-- fujita

Original comment by y.fujita...@gmail.com on 9 May 2009 at 10:44

GoogleCodeExporter commented 8 years ago
Well, you impressed me! Less than 5 hours and you fixed it :).

Thanks a lot,
Lorenzo

Original comment by Lorenzo....@gmail.com on 9 May 2009 at 3:17

GoogleCodeExporter commented 8 years ago
I am very happy to hear that. :)
Thank you again and please keep in touch!
-- fujita

Original comment by y.fujita...@gmail.com on 10 May 2009 at 6:53