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

Patrick Valsecchi patrick.valsecchi at camptocamp.com
Thu May 3 04:31:09 PDT 2018


Hi,

Would be very useful for QGIS server. Good idea!

CU

On Thu, May 3, 2018 at 9:10 AM, Nathan Woodrow <madmanwoo at gmail.com> wrote:

> Hey Tim,
>
> I added a crash handler in 3.0 for Windows at least and it lead to a few
> good fixes.  I will checkout the stuff you posted to see if we can
> intergrate it into what I already have there.
>
> Nathan
>
> On Thu, 3 May 2018, 4:43 pm Tim Sutton, <tim at kartoza.com> wrote:
>
>> 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):
>>
>> https://blog.sentry.io/2018/04/17/introducing-minidump-support
>>
>> 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)?
>>
>> http://blog.qgis.org/2018/04/15/qgis-grants-3-call-for-
>> grant-proposals-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….
>>
>> Regards
>>
>> Tim
>>
>>>>
>>
>>
>>
>>
>>
>>
>> *Tim Sutton*
>>
>> *Co-founder:* Kartoza
>> *Ex Project chair:* QGIS.org
>>
>> Visit 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
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180503/62d55e34/attachment-0001.html>


More information about the QGIS-Developer mailing list