Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXTRAS-276 - Rx Crashes Occasionally #32

Open
tclarke opened this issue Mar 16, 2018 · 0 comments
Open

EXTRAS-276 - Rx Crashes Occasionally #32

tclarke opened this issue Mar 16, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@tclarke
Copy link
Member

tclarke commented Mar 16, 2018

Running the Rx algorithm occasionally crashes when creating the layer.
This appears to depend on the data.
I was using the Deep Horizon Oil Spill sample data located at 1.
Note: This crash only occurs sometimes.
A comment in the code from the stack trace at [2] indicates that the algorithm should call RasterElement::sanitizeData on its results.

[2]: Stack Trace

Opticks.exe!HistogramOutput::computeResultHistogram(const std::vector<unsigned int,std::allocator > & totalHistogram=131072) Line 1281 + 0x26 bytes C++
Opticks.exe!HistogramOutput::compileOverallResults(const std::vector<HistogramThread *,std::allocator<HistogramThread *> > & threads=[8](0x0000000002d077e0 {mInput={...} mCount=46400 mRowRange={...} ...},0x000000000acc7350 {mInput={...} mCount=46400 mRowRange={...} ...},0x000000000ac94650 {mInput={...} mCount=46400 mRowRange={...} ...},0x000000000294d4e0 {mInput={...} mCount=46400 mRowRange={...} ...},0x000000000a259d90 {mInput={...} mCount=46400 mRowRange={...} ...},0x000000000a1560f0 {mInput={...} mCount=46400 mRowRange={...} ...},0x000000000a016700 {mInput={...} mCount=46400 mRowRange={...} ...},0x000000000784c770 {mInput={...} mCount=46400 mRowRange={...} ...})) Line 1177 C++
Opticks.exe!mta::MultiThreadedAlgorithm<HistogramInput,HistogramOutput,HistogramThread>::compileResults() Line 857 + 0x1a bytes C++
Opticks.exe!mta::MultiThreadedAlgorithm<HistogramInput,HistogramOutput,HistogramThread>::run() Line 872 + 0x12 bytes C++
Opticks.exe!StatisticsImp::calculateStatistics(EnumWrapper component={...}) Line 768 + 0x20 bytes C++
Opticks.exe!StatisticsImp::getMin(EnumWrapper component={...}) Line 92 C++
Opticks.exe!StatisticsImp::getMin() Line 82 C++
Opticks.exe!ThresholdLayerImp::convertThreshold(const EnumWrapper & eUnits={...}, double dThreshold=5.0000000000000000, const EnumWrapper & eNewUnits={...}) Line 412 + 0x10 bytes C++
Opticks.exe!ThresholdLayerImp::ThresholdLayerImp(const std::basic_string<char,std::char_traits,std::allocator > & id="{2e286c2c-0326-45ec-8a72-d3ee367d1ddc}", const std::basic_string<char,std::char_traits,std::allocator > & layerName="RX Results", DataElement * pElement=0x000000000704f010) Line 131 + 0x50 bytes C++
Opticks.exe!ThresholdLayerAdapter::ThresholdLayerAdapter(const std::basic_string<char,std::char_traits,std::allocator > & id="{2e286c2c-0326-45ec-8a72-d3ee367d1ddc}", const std::basic_string<char,std::char_traits,std::allocator > & layerName="RX Results", RasterElement * pRasterElement=0x000000000704f010) Line 20 + 0x61 bytes C++
Opticks.exe!LayerListImp::newLayer(const EnumWrapper & layerType={...}, DataElement * pElement=0x000000000704f010, const QString & strLayerName={...}) Line 284 + 0xba bytes C++
Opticks.exe!SpatialDataViewImp::createLayer(const EnumWrapper & layerType={...}, DataElement * pElement=0x000000000704f010, const QString & strLayerName={...}) Line 689 + 0x33 bytes C++
Opticks.exe!SpatialDataViewImp::createLayer(const EnumWrapper & layerType={...}, DataElement * pElement=0x000000000704f010) Line 674 + 0x33 bytes C++
Opticks.exe!SpatialDataViewAdapter::createLayer(const EnumWrapper & layerType={...}, DataElement * pElement=0x000000000704f010) Line 27 + 0x43 bytes C++
Rx.dll!Rx::execute(PlugInArgList * pInArgList=0x000000000de48600, PlugInArgList * pOutArgList=0x000000000ba16b70) Line 964 + 0x62 bytes C++

Original Issue: EXTRAS-276
Status: Deferred
Feature Interpretation:

Suggested Solution:

Actual Solution:

Severity: 2-Critical
Version Control:
Environment: All
Linked:

@tclarke tclarke added the bug Something isn't working label Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant