Bug #5809

Segmentation fault when data source deleted or moved

Added by ben h about 1 year ago. Updated 12 months ago.

Status:Closed Start Date:06/16/2012
Priority:High Due date:
Assigned to:- % Done:

0%

Category:Project Loading / Saving
Target version:Version 1.8.0
Platform:Ubuntu Patch supplied:No
Platform version:10.04 Affected version:master
Status info: Causes crash or corruption:No
Resolution:

Description

I moved and deleted a few files that were the data sources for a few layers in a QGIS project. When I re-opened the QGIS project there was a seg. fault. Here are the messages from the terminal:

ERROR 4: `/home/harb/Documents/Varma et al fig 9.png' does not exist in the file system,
and is not recognised as a supported dataset name.

ERROR 4: `/home/harb/Documents/Varma et al fig 7_modified.tif' does not exist in the file system,
and is not recognised as a supported dataset name.

ERROR 4: `/home/harb/Documents/Varma et al fig 9_modified.tif' does not exist in the file system,
and is not recognised as a supported dataset name.

ERROR 10: Pointer 'hDS' is NULL in 'OGR_DS_Destroy'.

ERROR 4: `/home/harb/Downloads/meanan/meanann.txt' does not exist in the file system,
and is not recognised as a supported dataset name.

Segmentation fault

Related issues

duplicated by QGIS Desktop - Bug #5832: QGIS seg fault when loading a project with a missing CSV ... Closed 06/20/2012
duplicated by QGIS Desktop - Bug #6129: QGIS 1.8.0 crashes when trying to open older File Closed 07/31/2012

History

Updated by Giovanni Manghi about 1 year ago

  • Status changed from New to Feedback

I just tested with a vector and a raster and in my case it shows the
usual "handle bad layers" dialog, plus


ERROR 4:
`/media/436dc38a-c791-4a29-92e8-1506d42f2a9d/gio/UBC_filipe/dem_move_clipped.tif' does not exist in the file system,
and is not recognised as a supported dataset name.

or


ERROR 10: Pointer 'hDS' is NULL in 'OGR_DS_Destroy'.

in the terminal, but no crashes whatsoever.

I'm using qgis 1.8 under ubuntu 12.04 64 bit.

Can you try on another box?

Updated by ben h 12 months ago

By happy coincidence I've just re-installed my system (not for the purpose of this bug, I needed to for other reasons), and upgraded from Ubuntu Karmic to Precise (12.04). I have installed qgis 1.8.0 from the qgis.org repositories. I continue to get the segmentation fault:

ERROR 4: `/home/harb/Documents/Varma et al fig 9.png' does not exist in the file system,
and is not recognised as a supported dataset name.

ERROR 4: `/home/harb/Documents/Varma et al fig 7_modified.tif' does not exist in the file system,
and is not recognised as a supported dataset name.

ERROR 4: `/home/harb/Documents/Varma et al fig 9_modified.tif' does not exist in the file system,
and is not recognised as a supported dataset name.

ERROR 10: Pointer 'hDS' is NULL in 'OGR_DS_Destroy'.

ERROR 4: `/home/harb/Downloads/meanan/meanann.txt' does not exist in the file system,
and is not recognised as a supported dataset name.

Segmentation fault (core dumped)

Ubuntu's crash reporting system reports a problem with the delimited text provider (or something like that - I can't get it to report anymore, I must have checked the 'don't report this problem anymore' box).

Updated by Jürgen Fischer 12 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF