Hi, Writing a foreign language interface for libexpat, I noticed that calls to Prolog from parser callbacks segfault on GNU/Linux (with GNU Prolog 1.4.0 and 1.3.1) but succeed on Mac OS X. A short example is available at
http://contraintes.inria.fr/~tmartine/tmp/expat_error.tar.gz "make" builds an executable expat_error which prints "here" once then segfaults on GNU/Linux and which prints "here" twice (which is correct) then terminates correctly on Mac OS X. The first "here" is a witness for calls to Prolog outside parser callbacks. The second "here" should be printed by the callback. Thanks, -- Thierry.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Bug-prolog mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-prolog
