Opened 8 years ago
Closed 8 years ago
#1897 closed defect (fixed)
QGIS crashes
Reported by: | camerons | Owned by: | kalxas |
---|---|---|---|
Priority: | blocker | Milestone: | OSGeoLive10.5 |
Component: | OSGeoLive | Keywords: | qgis |
Cc: | live-demo@… |
Description
Open QGIS (from command line if you want to see error logs) Follow first 2 quickstart steps:
- Launch QGIS from Geospatial ‣ Desktop GIS ‣ QGIS and select Project ‣ Open from the menu bar.
Open a QGIS project
- Choose QGIS-NaturalEarth-Example.qgs and press Open.
QGIS crashed. (I assume it ran out of memory). Tried again but opening the other example dataset: Itisca, and the datset did open without crashing.
I was running using VirtualBox on a Mac, with 1024 Gig RAM allocated, booting from an ISO.
Change History (16)
comment:1 by , 8 years ago
Cc: | added |
---|---|
Priority: | major → critical |
comment:2 by , 8 years ago
Priority: | critical → blocker |
---|
comment:3 by , 8 years ago
Since we upgraded from 2.14.3 to 2.14.11, there should not be a project file incompatibility. I think this is a bug or something gone wrong in a backport...
We definitely cannot release 10.5 with this one...
comment:4 by , 8 years ago
It looks like we have a deeper problem to deal with. Beta1 included the same QGIS package as RC1 but RC1 crashes on the Natural Earth project file, while everything works fine in beta1...
comment:5 by , 8 years ago
I have generated new qgs files:
http://aiolos.survey.ntua.gr/gisvm/dev/QGIS-Itasca-Example.qgs http://aiolos.survey.ntua.gr/gisvm/dev/QGIS-NaturalEarth-Example.qgs
RC1 crashes with the new files too.
comment:6 by , 8 years ago
I reverted QGIS to 2.14.10 and built a nightly for testing, same issue.
I think this crash has to do with some other update we got from upstream.
comment:7 by , 8 years ago
Bingo!
Got 10.5beta1 iso running on a vm, did an apt-get upgrade, issue now appears on this system too.
Some recent Ubuntu update is the culprit...
comment:8 by , 8 years ago
And the culprit is...
http://packages.ubuntu.com/xenial/libtiff5
Starting from 10.5beta1 iso, do the following to reproduce:
- Try QGIS, everything works
sudo apt-get install libtiff5 libtiff5-dev libtiffxx5
- Try QGIS, NaturalEarth project broken.
Now this one is a security update, so the proper fix would be for us to include this package in our ppa and re-build everything on top of it...
comment:9 by , 8 years ago
comment:10 by , 8 years ago
With the latest commits, I was able to get QGIS back to working, but as a side effect, rasdaman installer now fails (we are not able to change this installer, since it is not in our git repository).
comment:11 by , 8 years ago
After looking deeper, I realized we need to make a full transition for libtiff5 (also needed for UbuntuGIS ppa)
comment:12 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:13 by , 8 years ago
I'm not sure if this is related but it is known that Debian applied a wrong version of an upstream libtiff security fix: http://www.asmail.be/msg0055438562.html But this issue shouldn't cause a crash.
comment:14 by , 8 years ago
Thanks for the feedback Even.
I completed the transition last night and I have a new iso:
http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-build78-amd64-e169950.iso
Unfortunately the issue was not fixed.
I am 100% sure this is a libtiff issue (see comment 8 above), but I am not sure why it causes this crash (actually the crash happens only with the natural earth QGIS project, which directly opens a tiff file)
comment:15 by , 8 years ago
Some progress finally: since patching libtiff5 did not work as expected, I have created a patch that reverts the Ubuntu update. After testing this patch on top of RC1, we have a working QGIS again.
I am building a new nightly iso to confirm the fix and will update this ticket.
comment:16 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Confirmed fixed in nightly 79.
The new tiff package is available both in nightly and release ppa, and follows the ubuntu naming conventions, so that it will be overwritten by a new ubuntu security update.
This issue also crashes QGIS server demo
The project file is from an older QGIS version and it takes a long time to open.