<div dir="ltr">two useful tricks<div><br></div><div>1) redirect log to file as stated here <a href="http://qgis.org/api/classQgsLogger.html#details">http://qgis.org/api/classQgsLogger.html#details</a></div><div><div>export QGIS_DEBUG=<level> e.g. 3</div>

<div>export QGIS_LOG_FILE=./qgis.log</div></div><div>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.</div>

<div><br></div><div>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.</div><div><br></div><div>my 2 cents,</div>

<div><br></div><div>Luigi Pirelli (<a href="mailto:luigi.pirelli@faunalia.it">luigi.pirelli@faunalia.it</a> - <a href="mailto:luipir@gmail.com">luipir@gmail.com</a>)</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On 25 June 2014 11:55, Andreas Neumann <span dir="ltr"><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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