Bug report #19749

std::bad_alloc on otf reprojection

Added by Johannes Kroeger about 6 years ago. Updated over 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Vectors
Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:27574

Description

  • Load ne_110m_graticules_30.shp or ne_110m_graticules_20.shp (or probably any other global vector dataset)
  • Set OTF projection to EPSG:3031
  • Right-click the layer and Zoom to layer

You get an exception "std::bad_alloc"

Afterwards the map canvas stops updating (uses its cache). On setting a different OTF projection, the canvas is blank white. This persists opening a new project and requires a restart of QGIS.

History

#1 Updated by Giovanni Manghi about 6 years ago

  • Status changed from Open to Feedback

Can't confirm here on master/kubuntu 18.04

#2 Updated by Jürgen Fischer over 5 years ago

  • Status changed from Feedback to Closed
  • Resolution set to no timely feedback

Bulk closing 82 tickets in feedback state for more than 90 days affecting an old version. Feel free to reopen if it still applies to a current version and you have more information that clarify the issue.

#3 Updated by Johannes Kroeger over 5 years ago

  • Status changed from Closed to Reopened
  • Affected QGIS version changed from 3.3(master) to 3.7(master)
  • Resolution deleted (no timely feedback)
  • Operating System set to linux

Just reproduced in QGIS version 3.7.0-Master QGIS code revision 2b21a97994

#4 Updated by Johannes Kroeger over 5 years ago

  • Subject changed from std::bad_alloc on to std::bad_alloc on otf reprojection
  • Operating System deleted (linux)

Just reproduced in QGIS version 3.7.0-Master QGIS code revision 2b21a97994

#5 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Reopened to Open

Also available in: Atom PDF