Opened 3 years ago

Closed 3 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:

  1. Launch QGIS from Geospatial ‣ Desktop GIS ‣ QGIS and select Project ‣ Open from the menu bar.

Open a QGIS project

  1. 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 Changed 3 years ago by kalxas

Cc: live-demo@… added
Priority: majorcritical

This issue also crashes QGIS server demo

The project file is from an older QGIS version and it takes a long time to open.

comment:2 Changed 3 years ago by kalxas

Priority: criticalblocker

comment:3 Changed 3 years ago by kalxas

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 Changed 3 years ago by kalxas

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:6 Changed 3 years ago by kalxas

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 Changed 3 years ago by kalxas

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 Changed 3 years ago by kalxas

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

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:10 Changed 3 years ago by kalxas

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 Changed 3 years ago by kalxas

After looking deeper, I realized we need to make a full transition for libtiff5 (also needed for UbuntuGIS ppa)

comment:12 Changed 3 years ago by kalxas

Owner: changed from live-demo@… to kalxas
Status: newassigned

comment:13 Changed 3 years ago by rouault

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 Changed 3 years ago by kalxas

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)

Last edited 3 years ago by kalxas (previous) (diff)

comment:15 Changed 3 years ago by kalxas

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 Changed 3 years ago by kalxas

Resolution: fixed
Status: assignedclosed

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.

https://launchpad.net/%7Eosgeolive/+archive/ubuntu/nightly/+sourcepub/7642315/+listing-archive-extra

Note: See TracTickets for help on using tickets.