Skip to content

Crash fixes batch: stacktraces fixed by PRs #14838-#14846 #14848

Description

@magnesj

Summary

Consolidated tracking issue for a batch of crash fixes identified via automated
crash-report stacktrace triage and fixed together. This issue keeps the
stacktraces in one place for reference.

Crashes fixed

1. RigStimPlanFractureDefinition::minY/maxY on empty Ys

[0] performCrashLogging at ResInsight/ApplicationExeCode/RiaMainTools.cpp:178
[1] manageSegFailureSA(int, siginfo_t*, void*) at ResInsight/ApplicationExeCode/RiaMainTools.cpp:310
[3] RigStimPlanFractureDefinition::minY() const at ResInsight/ApplicationLibCode/ReservoirDataModel/RigStimPlanFractureDefinition.cpp:131
[4] RigStimPlanFractureDefinition::minDepth() const at ResInsight/ApplicationLibCode/ReservoirDataModel/RigStimPlanFractureDefinition.cpp:98
[5] RimStimPlanFractureTemplate::computeDepthOfWellPathAtFracture() at ResInsight/ApplicationLibCode/ProjectDataModel/Completions/RimStimPlanFractureTemplate.cpp:252
[6] RimStimPlanFractureTemplate::loadDataAndUpdate() at ResInsight/ApplicationLibCode/ProjectDataModel/Completions/RimStimPlanFractureTemplate.cpp:196
[7] RicMeshFractureTemplateHelper<RimStimPlanFractureTemplate>::createNewTemplatesFromFiles(...) at ResInsight/ApplicationLibCode/Commands/FractureCommands/RicMeshFractureTemplateHelper.inl:149
[8] RicMeshFractureTemplateHelper<RimStimPlanFractureTemplate>::createNewTemplates(...) at ResInsight/ApplicationLibCode/Commands/FractureCommands/RicMeshFractureTemplateHelper.inl:89

2. Axis mapping pruned before plot widget axis setup

[0] performCrashLogging at ResInsight/ApplicationExeCode/RiaMainTools.cpp:181
[1] manageSegFailureSA(int, siginfo_t*, void*) at ResInsight/ApplicationExeCode/RiaMainTools.cpp:313
[4] RiuQwtPlotWidget::setAxisLabelsAndTicksEnabled(RiuPlotAxis, bool, bool) at ResInsight/ApplicationLibCode/UserInterface/RiuQwtPlotWidget.cpp:342
[5] RiuMultiPlotPage::setDefaultAxisProperties(RiuPlotWidget*, int, int) at ResInsight/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp:784
[6] RiuMultiPlotPage::reinsertPlotWidget(...) at ResInsight/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp:689
[7] RiuSummaryMultiPlotPage::reinsertPlotWidgets() at ResInsight/ApplicationLibCode/UserInterface/RiuSummaryMultiPlotPage.cpp:108
[8] RiuMultiPlotPage::performUpdate(RiaDefines::MultiPlotPageUpdateType) at ResInsight/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp:576
[9] RiaPlotWindowRedrawScheduler::performScheduledUpdates() at ResInsight/ApplicationLibCode/Application/RiaPlotWindowRedrawScheduler.cpp:128

3. 2D intersection views: owner case null

[0] performCrashLogging at ResInsight/ApplicationExeCode/RiaMainTools.cpp:178
[1] manageSegFailureSA(int, siginfo_t*, void*) at ResInsight/ApplicationExeCode/RiaMainTools.cpp:310
[3] RimCase::intersectionViewCollection() at ResInsight/ApplicationLibCode/ProjectDataModel/RimCase.cpp:241
[4] RimIntersectionCollection::synchronize2dIntersectionViews() at ResInsight/ApplicationLibCode/ProjectDataModel/Intersections/RimIntersectionCollection.cpp:407
[5] RimIntersectionCollection::appendIntersectionAndUpdate(RimExtrudedCurveIntersection*, bool) at ResInsight/ApplicationLibCode/ProjectDataModel/Intersections/RimIntersectionCollection.cpp:383
[6] RicAppendIntersectionFeatureCmd::redo() at ResInsight/ApplicationLibCode/Commands/CrossSectionCommands/RicAppendIntersectionFeature.cpp:95
[8] RicAppendIntersectionFeature::onActionTriggered(bool) at ResInsight/ApplicationLibCode/Commands/CrossSectionCommands/RicAppendIntersectionFeature.cpp:50
[9] caf::CmdFeature::actionTriggered(bool) at ResInsight/Fwk/AppFwk/cafCommand/cafCmdFeature.cpp:176

4. RimDockWindowController: view widget creation fails

[0] performCrashLogging at ResInsight/ApplicationExeCode/RiaMainTools.cpp:178
[1] manageSegFailureSA(int, siginfo_t*, void*) at ResInsight/ApplicationExeCode/RiaMainTools.cpp:310
[4] RimDockWindowController::updateViewerWidget() at ResInsight/ApplicationLibCode/ProjectDataModel/RimDockWindowController.cpp:135
[5] RimWellAllocationPlot::onLoadDataAndUpdate() at ResInsight/ApplicationLibCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp:872
[6] RimViewWindow::loadDataAndUpdate() at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewWindow.cpp:102
[7] RimFlowPlotCollection::loadDataAndUpdateAllPlots() at ResInsight/ApplicationLibCode/ProjectDataModel/Flow/RimFlowPlotCollection.cpp:87
[8] RimMainPlotCollection::loadDataAndUpdatePlotCollectionsWithProgressInfo(...) at ResInsight/ApplicationLibCode/ProjectDataModel/RimMainPlotCollection.cpp:438
[9] RimMainPlotCollection::loadDataAndUpdateAllPlots() at ResInsight/ApplicationLibCode/ProjectDataModel/RimMainPlotCollection.cpp:385

5. RimViewController::masterView: detached from view linker

Two related stacks (same root cause, different call sites):

[3] RimViewLinker::masterView() const at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewLinker.cpp:373
[4] RimViewController::isPropertyFilterControlPossible() const at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewController.cpp:910
[5] RimViewController::isPropertyFilterOveridden() const at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewController.cpp:940
[6] RimEclipsePropertyFilter::updateActiveState() at ResInsight/ApplicationLibCode/ProjectDataModel/CellFilters/RimEclipsePropertyFilter.cpp:451
[7] caf::PdmUiObjectHandle::expandUiTree(...) at ResInsight/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/cafPdmUiObjectHandle.cpp:202
[3] RimViewLinker::masterView() const at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewLinker.cpp:373
[4] RimViewController::isPropertyFilterControlPossible() const at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewController.cpp:910
[5] RimViewController::isPropertyFilterOveridden() const at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewController.cpp:940
[6] RimEclipsePropertyFilterCollection::updateIconState() at ResInsight/ApplicationLibCode/ProjectDataModel/CellFilters/RimEclipsePropertyFilterCollection.cpp:215
[7] RimEclipseView::updateIconStateForFilterCollections() at ResInsight/ApplicationLibCode/ProjectDataModel/RimEclipseView.cpp:2633
[8] RimViewController::~RimViewController() at ResInsight/ApplicationLibCode/ProjectDataModel/RimViewController.cpp:100

6. Multi-plot toolbar update with null main plot window

Two related stacks:

[3] caf::PdmPointer<RimViewWindow>::p() const at ResInsight/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafPdmPointer.h:96
[4] RimHistogramCurve::loadAndUpdateDataAndPlot() at ResInsight/ApplicationLibCode/ProjectDataModel/Histogram/RimHistogramCurve.cpp:560
[5] std::function<void (caf::SignalEmitter const*)>::operator()(...) const at .../bits/std_function.h:591
[6] RimEclipseView::onCreateDisplayModel() at ResInsight/ApplicationLibCode/ProjectDataModel/RimEclipseView.cpp:904
[7] Rim3dView::createDisplayModelAndRedraw() at ResInsight/ApplicationLibCode/ProjectDataModel/Rim3dView.cpp:768
[3] caf::PdmPointer<RimViewWindow>::p() const at ResInsight/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafPdmPointer.h:96
[4] RicHistogramPlotTools::addHistogramCurveToPlot(RimHistogramPlot*, RimHistogramCurve*, bool) at ResInsight/ApplicationLibCode/Commands/RicHistogramPlotTools.cpp:205
[5] RicHistogramPlotTools::createHistogramCurve(RimHistogramPlot*, RimHistogramDataSource*) at ResInsight/ApplicationLibCode/Commands/RicHistogramPlotTools.cpp:107
[6] RicCreateGridStatisticsPlotFeature::onActionTriggered(bool) at ResInsight/ApplicationLibCode/Commands/RicCreateGridStatisticsPlotFeature.cpp:42

7. Camera::computeFitViewEyePosition with parallel dir/up

[0] performCrashLogging at ResInsight/ApplicationExeCode/RiaMainTools.cpp:178
[1] manageSegFailureSA(int, siginfo_t*, void*) at ResInsight/ApplicationExeCode/RiaMainTools.cpp:310
[5] cvf::AssertHandlerConsole::handleAssert(char const*, int, char const*, char const*) at ResInsight/Fwk/VizFwk/LibCore/cvfAssert.cpp:125
[6] cvf::Plane::distanceToOrigin() const at ResInsight/Fwk/VizFwk/LibCore/cvfPlane.cpp:313
[7] cvf::Camera::computeFitViewEyePosition(...) at ResInsight/Fwk/VizFwk/LibRender/cvfCamera.cpp:335
[8] caf::Viewer::zoomAll() at ResInsight/Fwk/AppFwk/cafViewer/cafViewer.cpp:992
[9] caf::CmdFeature::actionTriggered(bool) at ResInsight/Fwk/AppFwk/cafCommand/cafCmdFeature.cpp:176

8. RimStimPlanModelCalculator::calculateFormation out-of-bounds access

[0] performCrashLogging at ResInsight/ApplicationExeCode/RiaMainTools.cpp:170
[1] manageSegFailureSA(int, siginfo_t*, void*) at ResInsight/ApplicationExeCode/RiaMainTools.cpp:302
[4] RimStimPlanModelCalculator::calculateFormation() const at ResInsight/ApplicationLibCode/ProjectDataModel/StimPlanModel/RimStimPlanModelCalculator.cpp:743
[5] RifStimPlanModelGeologicalFrkExporter::writeToFile(RimStimPlanModel*, bool, QString const&) at ResInsight/ApplicationLibCode/FileInterface/RifStimPlanModelGeologicalFrkExporter.cpp:150
[6] RifStimPlanModelExporter::writeToDirectory(RimStimPlanModel*, bool, QString const&) at ResInsight/ApplicationLibCode/FileInterface/RifStimPlanModelExporter.cpp:33
[7] RimcStimPlanModel_exportToFile::execute() at ResInsight/ApplicationLibCode/ProjectDataModelCommands/RimcStimPlanModel.cpp:47
[8] RiaGrpcPdmObjectService::CallPdmObjectMethod(...) at ResInsight/GrpcInterface/RiaGrpcPdmObjectService.cpp:587

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    PendingReleaseIssues is fixed and will be available in next release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions