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

Segmentation fault when data source deleted or moved #15292

Closed
qgib opened this issue Jun 16, 2012 · 3 comments
Closed

Segmentation fault when data source deleted or moved #15292

qgib opened this issue Jun 16, 2012 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jun 16, 2012

Author Name: ben h (@ottadini)
Original Redmine Issue: 5809
Affected QGIS version: master
Redmine category:project_loading/saving


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 issue(s): #15307 (duplicates), #15464 (duplicates)
Redmine related issue(s): 5832, 6129


@qgib
Copy link
Contributor Author

qgib commented Jun 18, 2012

Author Name: Giovanni Manghi (@gioman)


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?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 19, 2012

Author Name: ben h (@ottadini)


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).

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2012

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "23a3412113a04fac0bdafffe9fc8a48c2a39e8ea".


  • status_id was changed from Feedback to Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project
Projects
None yet
Development

No branches or pull requests

1 participant