neuronsimulator / nrn-modeldb-ci

NEURON ModelDB CI tools
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Investigate segfault for model 136095 on NEURON 8.2.4 #123

Open JCGoran opened 5 months ago

JCGoran commented 5 months ago

The model fails with:

-Segmentation violation
-Backtrace:
-   /lib/x86_64-linux-gnu/libc.so.6 : ()+0x42520
-   %model_dir%/x86_64/libnrnmech.so : ()+0x3b31a
-   %model_dir%/x86_64/libnrnmech.so : ()+0x3b4e7
-   %python-site-packages%neuron/.data/lib/libnrniv.so : _Z7nonvintP9NrnThread()+0x82
-   %python-site-packages%neuron/.data/lib/libnrniv.so : ()+0x2dead4
-   %python-site-packages%neuron/.data/lib/libnrniv.so : ()+0x2debb8
-   %python-site-packages%neuron/.data/lib/libnrniv.so : _Z14nrn_fixed_stepv()+0xf4
-   %python-site-packages%neuron/.data/lib/libnrniv.so : _Z8fadvancev()+0x4c
-   %python-site-packages%neuron/.data/lib/libnrniv.so : _Z8hoc_callv()+0xc4
-   %python-site-packages%neuron/.data/lib/libnrniv.so : _Z11hoc_executeP4Inst()+0x44
-%neuron-executable%: Aborting.
- {prprogress()}
-        fadvance()
-      advance()
-    step()
-  continueRun(1000)
-and others

Seems to be persistent (see for instance this run).

nrnhines commented 5 months ago

Can't say much about this yet. On my Apple M1, I'm not getting a segfault but with all versions of the model back to

7886f6a53
Date:   Fri May 27 16:23:30 2022

and all my 8.2 versions

136095 % nrngui mosinit.hoc
NEURON -- VERSION 8.2.1 HEAD (c15906924) 2022-08-09
...
initvspks ERR: nonmonotonic for cell#0: 582.74 125.733          Many lines of the form
initvspks ERR: nonmonotonic for cell#0: 466.05 137.606
...
initvspks ERR: nonmonotonic for cell#0: 881.238 478.346
./arm64/special: 
 in mosinit.hoc near line 16282
 setINTFspks(inputseed)
                       ^
        INTF[0].initvspks(Vector[119], Vector[120], Vector[121])
      setINTFspks(1234)
oc>

I'll look again on a linux machine when I return. I may have some old modeldb result files to compare. The presumption I guess is that it used to work given the fragment in nrn-modeldb-ci/modeldbmpdoeldb-run.yaml

136095:
    run:
    - run()
    - verify_graph_()