[Qgis-developer] 2.2 project keeps crashing after load

Gino Pirelli luipir at gmail.com
Wed Jun 25 06:11:09 PDT 2014


two useful tricks

1) redirect log to file as stated here
http://qgis.org/api/classQgsLogger.html#details
export QGIS_DEBUG=<level> e.g. 3
export QGIS_LOG_FILE=./qgis.log
in the shell or add them in the settings->otions->system->environments ...
log will be produces using unix EndOFLine so under win you need to convert
log file using something like unix2dos executable.

2) attach qgis execution inside VisualStudio and it will stop at the
crash... but without debug symbols it's only useful to have an idea of the
calling sequence.

my 2 cents,

Luigi Pirelli (luigi.pirelli at faunalia.it - luipir at gmail.com)



On 25 June 2014 11:55, Andreas Neumann <a.neumann at carto.net> wrote:

> Hi,
>
> I have some related questions regarding my crash:
>
> * What software are people using to analyze the minidump file?
>
> * During the QGIS crash I see that there are 570 messages in the log
> window - but because QGIS crashes I cannot access these log-messages
> anymore. Are these log-messages also available somewhere in a file so I
> can read them?
>
> The other thing I found out is that I can open the project if another
> project was loaded before. But if I open the project from an empty QGIS
> session it crashes. This behaviour is consistent. It always crashes when
> it opens as the first project and always works when another project was
> loaded before. Very strange ...
>
> Andreas
>
>
> Am 25.06.2014 09:35, schrieb Andreas Neumann:
> > Hi,
> >
> > I have a 2.2 project that keeps crashing immediately after load - so not
> > much chance to investigate. The project has some PostgreSQL and a WMS
> > layer. Testing the last nightly on Win 64 bit build.
> >
> > Can qgis-devs read something in the minidump file to give me a hint what
> > may cause the crash?
> >
> > The minidump is available at
> > http://webgis.uster.ch/temp/qgis-20140625-112518-1784-4568-39eaff9.dmp
> >
> > I have no idea what is wrong with this project. It is a rather simple
> > project compared to others.
> >
> > Thank you for your help,
> > Andreas
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140625/c38a5eb7/attachment.html>


More information about the Qgis-developer mailing list