Comments (3)
-
Examples:
a) Removed the import statements in the examples and the installation commands in README
b) I found the Segfaults happen when running the examples by "python 03_substitute.py". If I run it inside the python environment using "exec(open("03_substitute.py").read())", the segfaults won't happen until I call "exit()" to quit from python.
So probably the segfaults are caused by some destructors when Python is quitting and trying to release memory. Unfortunately, I still don't know what's happening exactly in this process. But I found the segfaults can be avoided by simply enlarging the memory pool size. For now, the examples are fixed by initializing a larger memory pool when calling da_init(). -
Line breaks are changed into Unix style.
from tpsa.
Can you please add a sentence or two to the README.me on how to fix any potential memory issues if users are seeing segfaults?
from tpsa.
Added a statement on this issue in the README.md in python-wrapper in the section of Known Issues.
from tpsa.
Related Issues (15)
- Carriage return chars for new line in examples/examples.cc HOT 1
- Minimum C++ language standard HOT 3
- Segmentation fault on Mac HOT 2
- python install complains about README.md HOT 1
- [JOSS Review] Paper comments HOT 2
- [JOSS Review] Paper references HOT 3
- [JOSS Review] Installation HOT 4
- [JOSS Review] Testing on Linux HOT 2
- [JOSS Review] Documentation is README.md (only) HOT 4
- [JOSS Review] Documentation - Installation instructions HOT 2
- [JOSS Review] Documentation - Community Guidelines HOT 1
- [JOSS Review] License HOT 2
- CMake install step not installing the header files HOT 1
- Hard coded header file location in examples/examples.cc 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 tpsa.