Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#189 Memory violation occurred during evaluation

open
nobody
5
2012-02-13
2012-02-13
Anonymous
No

i386-unknown-NetBSD-5.1elf
gcc=4.1.3
ld=2.16*
from XSB336.tar.gz
edited XSB/build/configure to use /usr/local/bin/bash due to a ( matching error
edited XSB/build/*Makefile.in for CFLAGS, LDFLAGS to include -pthread -lpthread
autoconf
configure --disable-mt
XSB/emu/subp.c has pthread_* fns.
added #include <pthread.h> to subp.c
pthreads are part of NetBSD since 2.0, in /usr/lib
disabling mt had no effect
./makexsb
/usr/local/src/XSB/bin/xsb -e "segfault_handler(warn)." < 'cmd...'
Partial Forward Continuation...
... set_inthandler/2
... set_inthandler/2

++Memory violation occurred during evaluation.
++Please report this problem using the XSB bug tracking system accessible from
++ http://sourceforge.net/projects/xsb
++Please supply the steps necessary to reproduce the bug.

Exiting XSB abnormally...
*** Error code 1
pkgs like perl, curl are in /usr/pkg/{lib,include}, fixed with CPPFLAGS, LDFLAGS in the shell

Discussion