[QGIS-Developer] Sentry support for QGIS crashes / minidumps

Tim Sutton tim at kartoza.com
Wed May 2 23:42:50 PDT 2018

Hi All

For many years we have used sentry (http://sentry.io) in our python projects to systematically collect, review and prioritise issues raised in our python projects. Sentry.io is open source (plus they offer a commercially hosted service). At Kartoza we run our own instance under docker / rancher.

In the last Nødebo hackfest, we discussed the possibility of using something like Sentry for QGIS so that we could better understand where our users encounter crashes and proactively fix them. I subsequently went and researched whether Sentry.io has support for mini dumps / c++ crash handling and at the time it did not have so I parked thinking about it there.

Yesterday I got a sentry updates newsletter and noticed that they have now added C++  support (currently in beta):


I know I am not alone when I run training courses offering this advice: “Save your project regularly, QGIS will probably crash at some point”. I really hate saying that but we have never had a systematic way of seeing where QGIS is crashing for our users and fixing this crash points. As we lead up to 3.4 LTR later this year, having good crash metrics and fixing the most common crash points will allow us to have a release that we can be confident works well for our users with out crashing during trivial operations.

Perhaps one of our fine developers might like to pitch this as a QGIS Grant proposal (submission period closes 13 May 2018)?


I’d be happy to help set up our own sentry.io instance on QGIS infrastructure. We could also use that instance to receive tracebacks from the python bits of our code….




Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180503/b677f9c1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180503/b677f9c1/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180503/b677f9c1/attachment-0001.sig>

More information about the QGIS-Developer mailing list