It generates a segmentation fault when I try to run an adapted version of the Akemann & Knopfel PC model (http://senselab.med.yale.edu/SiteNet/ea ... 19&o=80769).
(I added also THREADSAFE to all the mod files)
I've attached a debugger to nrniv and I get :
Code: Select all
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x009a1078
0x009c2ee4 in nrn_init (_nt=0xa0b5a0, _ml=0x1ace980, _type=35) at Na.c:1109
1109 ena = _ion_ena;
Code: Select all
"/usr/local/share/nrn/libtool" --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I"/usr/local/include/nrn" -I"/usr/local/i686/lib" -g -O2 -c -o NaP.lo NaP.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/nrn -I/usr/local/i686/lib -g -O2 -c NaP.c -fno-common -DPIC -o .libs/NaP.o
"/usr/local/i686/bin/nocmodl" Narsg
Translating Narsg.mod into Narsg.c
NEURON's CVode method ignores conservation
Notice: LINEAR is not thread safe.
Thx,
Werner Van Geit
Computational Neuroscience Unit
Okinawa Institute of Science and Technology