Skip to content

QGIS crash scrolling map view with ECW images #65282

@ReghardNell

Description

@ReghardNell

What is the bug or the crash?

User Feedback

This crash happens regularly on my system. I suspect it has something to do with the ECW images in the project.

Report Details

Python Stack Trace

Windows fatal exception: access violation

Thread 0x0000699c (most recent call first):
  <no Python frame>

Stack Trace


NCS::ECW::CFile::CPrecinctViewContext::IsBlockIdRequiredForView :
NCSMalloc :
NCS::ECW::CFile::ReadFileBlock :
NCS::ECW::CFile::ReceivedPacket :
NCS::ECW::CReader::RequestBlocks :
NCS::ECW::CReader::SetView :
NCS::CView::SetViewInternal :
NCS::CView::SetView :
GDALGeoTransform::data :
GDALGeoTransform::data :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
QgsProviderSublayerItem::trUtf8 :
QgsRasterIdentifyResult::params :
QgsRasterIdentifyResult::operator= :
QgsMultiBandColorRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRenderer::render :
QgsMapRendererParallelJob::renderLayerStatic :
QgsProfilePlotRenderer::replaceSourceInternal :
QgsMapRendererParallelJob::renderingFinished :
QgsProfilePlotRenderer::defaultSubSectionsSymbol :
QtConcurrent::ThreadEngineBase::run :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.44.8-Solothurn
QGIS code revision: d25052d
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.12.2
Running against GDAL: 3.12.2

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.26100

##Crash with New profile...slightly diferent:

User Feedback

Crash with new profile.

Report Details

Python Stack Trace

Windows fatal exception: access violation

Thread 0x00008558 (most recent call first):
  <no Python frame>
Windows fatal exception: access violation

Thread 0x00008558 (most recent call first):
  <no Python frame>

Stack Trace


memcpy_avx_ermsb_Intel memcpy_avx_ermsb_aligned.asm:231
CPLODBCDriverInstaller::RemoveDriver :
GDALGeoTransform::data :
NCS::ECW::CFile::ReadFileBlock :
NCS::ECW::CFile::ReceivedPacket :
NCS::ECW::CReader::RequestBlocks :
NCS::ECW::CReader::SetView :
NCS::CView::SetViewInternal :
NCS::CView::SetView :
GDALGeoTransform::data :
GDALGeoTransform::data :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
QgsProviderSublayerItem::trUtf8 :
QgsRasterIdentifyResult::params :
QgsRasterIdentifyResult::operator= :
QgsMultiBandColorRenderer::block :
QgsBrightnessContrastFilter::block :
QgsHueSaturationFilter::block :
QgsRasterResampleFilter::block :
QgsRasterProjector::block :
QgsRasterIterator::readNextRasterPartInternal :
QgsRasterIterator::readNextRasterPart :
QgsRasterDrawer::draw :
QgsRasterDrawer::draw :
QgsRasterLayerRenderer::render :
QgsMapRendererParallelJob::renderLayerStatic :
QgsProfilePlotRenderer::replaceSourceInternal :
QgsMapRendererParallelJob::renderingFinished :
QgsProfilePlotRenderer::defaultSubSectionsSymbol :
QtConcurrent::ThreadEngineBase::run :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.44.8-Solothurn
QGIS code revision: d25052d
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.12.2
Running against GDAL: 3.12.2

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.26100

Steps to reproduce the issue

  1. Project with ECW images as layeers.
  2. Some ecw images seem to crash when scrolling the map view.

Versions

Crash has been observed in all QGIS versions used previously.

Curent QGIS Version: 3.44.8-Solothurn

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

I have been seeing this crash for some time. I suspected that it has something to do with spesific ECW files. Difficult to reproduce. Ussullly when scrolling and zooming the map view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!FeedbackWaiting on the submitter for answers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions