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

Crash when opening (corrupted) qgz project #28603

Closed
qgib opened this issue Dec 11, 2018 · 4 comments
Closed

Crash when opening (corrupted) qgz project #28603

qgib opened this issue Dec 11, 2018 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Dec 11, 2018

Author Name: Jan Macura (@jmacura)
Original Redmine Issue: 20783
Affected QGIS version: 3.4.1
Redmine category:unknown
Assignee: Alessandro Pasotti


User Feedback

I just opened the qgz project which I was working with yesterday with no problem (in the same version of QGIS). The crash happened immediately after start-up.

If I open QGIS directly, it opens without complains. When I try to open the project from the list of last projects, it crashes again. Other projects can be opened without a problem. From the file size, I suspect the project was badly saved in the last time and is corrupt :-( Anyway.. this should not shut the QGIS down, it should report the problem of corrupted file to the user instead (if this is the case). I am including the qgz.

Report Details

Crash ID: b30167744d49fd5247cb78a7d5c81f8c48f87467

Stack Trace

zip_source_function_create :
zip_source_function_create :
QgsZipUtils::unzip :
QgsProjectArchive::unzip :
QgsProject::unzip :
QgsProject::read :
QgisApp::addProject :
QgisApp::openProject :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.4.1-Madeira
QGIS code revision: 383851c
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2

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


@qgib
Copy link
Contributor Author

qgib commented Dec 12, 2018

Author Name: Alessandro Pasotti (@elpaso)


  • assigned_to_id was configured as Alessandro Pasotti

@qgib
Copy link
Contributor Author

qgib commented Dec 12, 2018

Author Name: Alessandro Pasotti (@elpaso)


The zip file is corrupted, but QGIS must not crash.


  • subject was changed from Crash when opening qgz project to Crash when opening (corrupted) qgz project
  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Dec 12, 2018

Author Name: Alessandro Pasotti (@elpaso)


#8658


  • category_id was changed from Data Provider to Unknown
  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Dec 12, 2018

Author Name: Alessandro Pasotti (@elpaso)


Applied in changeset 9ca85f7.


  • done_ratio was changed from 0 to 100
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Dec 12, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Regression Something which used to work, but doesn't anymore labels May 25, 2019
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! Crash/Data Corruption Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant