Comments (7)
from ttk.
I found an overflow. https://github.com/klacansky/ttk-testing/commit/dab76f0bb3647ee088ee915d4cc4bad07029f8cb
from ttk.
The sort crashes, probably some other overflow as the value of b
is -9.
Thread 1 "ttkFTMTreeCmd" received signal SIGSEGV, Segmentation fault.
0x00007ffff1a18fd1 in ttk::ftm::FTMTree_MT::isLower<unsigned short, long long> (this=0x66b5a0, a=1, b=-9)
at /home/sci/klacansky/scratch/ttk/core/base/ftmTree/FTMTree_MT.h:686
686 return ((scalarType *)scalars_->values)[a] < ((scalarType *)scalars_->values)[b] ||
(gdb) bt
#0 0x00007ffff1a18fd1 in ttk::ftm::FTMTree_MT::isLower<unsigned short, long long> (this=0x66b5a0, a=1, b=-9)
at /home/sci/klacansky/scratch/ttk/core/base/ftmTree/FTMTree_MT.h:686
#1 0x00007ffff1a1415f in void ttk::ftm::FTMTree_MT::sortInput<unsigned short, long long>()::{lambda(unsigned long const&, unsigned long const&)#1}::operator()(unsigned long const&, unsigned long const&) const (__closure=0x7fffffffd380,
a=@0x7fffffffd358: 1, b=@0x7fffffffd350: 18446744073709551607)
from ttk.
I fixed overflows (ones I found) and tested on a 2k^3 zeros field. The OpenMP stack overflow still needs work.
from ttk.
from ttk.
For the OpenMP stack overflow, I was able to solve the issue locally using the $OMP_STACKSIZE
environnement variable (documented here)
from ttk.
I was able to run a zero field success fully (64 bits enabled). @CharlesGueunet I would document the need to increase the stack size (or somehow do a check and return error if stack fails to grow, much easier with explicit stack).
from ttk.
Related Issues (20)
- Intepretation of Persistence Curve Results HOT 2
- compile error HOT 1
- About ccache and cache storage HOT 5
- Could not find BettiNumbers module in source listed as a module as per the documentation HOT 2
- [MPI] The `smooth` method of ScalarFieldSmoother only works for scalar field when using MPI HOT 2
- MergeTreeDistanceMatrix & MatrixToHeatMap: Size changes in input MultiBlock lead to crash. HOT 1
- Non-deterministic, incorrect computation by FTM with a large number of cores HOT 6
- Windows VS 2017 build HOT 2
- Please add installation instructions for FreeBSD HOT 1
- Build fails on i386: cannot initialize a parameter of type 'const ttk::LongSimplexId *' (aka 'const long long *') with an lvalue of type 'vtkIdType *' (aka 'int *')
- [MPI] Crashes when using ImplicitTriangulation in 2D HOT 10
- [MPI] Endless loop when using ExplicitTriangulation in 2D HOT 4
- TTK_ENABLE_FTM_TREE_PROCESS_SPEED set to ON leads to error
- Various bugs with the merge tree states HOT 5
- Incorrect return type for ttkMorseSmaleComplex::ReturnSaddleConnectors
- Compile warning when building without graphviz HOT 2
- [PersitenceDiagramClustering] Missing features with infinite persistence in some barycenters HOT 2
- Undefined Behaviour in MorseSmaleQuadrangulation
- Unexpected behavior from Merge and Contour Tree (FTM) HOT 1
- [TTK 1.2 + Paraview 5.11.1] Infinite density in CSP computed for the tooth dataset HOT 6
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 ttk.