Comments (4)
If function are moved out of moose.Stoich.path
, deterministic solver produces the correct results but stochastic solver does produce correct results. Putting the function back into moose.Stoich.path
causes segfault.
from moose-core.
Debug trace.
0x00007ffff2ef036d in std::vector<unsigned int, std::allocator<unsigned int> >::vector(std::vector<unsigned int, std::allocator<unsigned int> > const&) ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
(gdb) bt
#0 0x00007ffff2ef036d in std::vector<unsigned int, std::allocator<unsigned int> >::vector(std::vector<unsigned int, std::allocator<unsigned int> > const&) ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#1 0x00007ffff33950b1 in Gsolve::fillMathDep() ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#2 0x00007ffff3395c3b in Gsolve::rebuildGssaSystem() ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#3 0x00007ffff3396285 in Gsolve::reinit(Eref const&, ProcInfo const*) ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#4 0x00007ffff3118588 in SrcFinfo1<ProcInfo const*>::send(Eref const&, ProcInfo const*) const () from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#5 0x00007ffff310f1ce in Clock::handleReinit(Eref const&) ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#6 0x00007ffff30a772d in Shell::doReinit() ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#7 0x00007ffff2eadc35 in moose_reinit ()
from /home_local/dilawars/Work/BhallaLab/moose-core/python/moose/_moose.so
#8 0x000000000049968d in PyEval_EvalFrameEx ()
#9 0x00000000004a090c in PyEval_EvalCodeEx ()
#10 0x0000000000499a52 in PyEval_EvalFrameEx ()
#11 0x0000000000499ef2 in PyEval_EvalFrameEx ()
#12 0x00000000004a1634 in ?? ()
#13 0x000000000044e4a5 in PyRun_FileExFlags ()
#14 0x000000000044ec9f in PyRun_SimpleFileExFlags ()
#15 0x000000000044f904 in Py_Main ()
#16 0x00007ffff7818ec5 in __libc_start_main (main=0x44f9c2 <main>, argc=2,
argv=0x7fffffffd7c8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffd7b8) at libc-start.c:287
#17 0x0000000000578c4e in _start ()
from moose-core.
Adding an assert statement at Stoich.cpp
line no 570: assert(func_[i])
before returning this value.
/home_local/dilawars/Work/BhallaLab/moose-core/ksolve/Stoich.cpp:570: const FuncTerm* Stoich::funcs(unsigned int) const: Assertion `funcs_[i]' failed
from moose-core.
Fixed by recent commits.
from moose-core.
Related Issues (20)
- setting stoich.path to stoich.ReacSystemPath for cross compartment model gives seg fault HOT 1
- seg fault moose.delete('/test') for non exist object HOT 3
- Warn: Invalid parser state HOT 12
- Typo in nightly installation command in README.md HOT 1
- Python 3.10 drops parser module HOT 3
- Bug in online documentation when using WSL HOT 1
- rdes examples not working HOT 1
- rdes example with zombie-gone branch not working HOT 2
- SBML model of OSC_different_vols not loading HOT 1
- NN_mapk.xml with ex12.0 not working HOT 1
- Changing Rm gives odd results
- Connecting inputs to the function - inputs should be in the same order as they are created
- Incorrect error message for path issue
- Imports within rdesigneur HOT 1
- Update needed for pybind11 HOT 3
- Switch from GSL to something simpler/faster?
- HHChannel not getting reset in default scheduling
- Issue with setting passiveDistrib in rdesigneur
- Naming consistency for refractory period
- Reset voltage hard-coded in `IntFire` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moose-core.