[Qgis-developer] Crash with new Label-Plugin

Andreas Neumann a.neumann at carto.net
Thu Nov 19 08:20:39 EST 2009


Hi Martin,

Actually I was wrong - I apologize. I investigated further. It is only one
layer that causes the crash, other layers seem to work fine.

I have all my data in Postgis, including the one that causes the crash. I
then tried to save the specific Postgis layer to an ESRI shapefile. After
that I could label the polygons fine from the shapefile.

Then I checked the Postgis table against empty or invalid geometries with
the ST_IsEmpty() and ST_IsValid() Postgis functions - I didn't see any
empty or invalid geometries.

I will make the Postgis table available on my server tonight for testing.
I wonder what is wrong with this specific table.

Thank you,
Andreas


On Thu, November 19, 2009 12:09 pm, Martin Dobias wrote:
> Hi Andreas
>
> please send me the data you're using so I can investigate the issue...
>
> Martin
>
> On Thu, Nov 19, 2009 at 11:13 AM, Andreas Neumann <a.neumann at carto.net>
> wrote:
>> Hi,
>>
>> I am playing around with the new label engine from Martin. It seems to
>> be
>> very promising. It works fine for linear features.
>>
>> However, whenever I try to label an area feature, QGIS crashes, both on
>> the Windows nightly build, but also with the SVN version on Linux
>> Ubuntu,
>> 64bit. QGIS immediately crashes after I hit the OK button.
>>
>> Does labeling of area features work for other people?
>>
>> ----------
>>
>> I get the following message on the console:
>>
>> Warning: Qt has caught an exception thrown from an event handler.
>> Throwing
>> exceptions from an event handler is not supported in Qt. You must
>> reimplement QApplication::notify() and catch all exceptions there.
>>
>> terminate called after throwing an instance of
>> 'pal::PalException::FeatureExists*'
>> Aborted
>>
>> -------------------
>>
>> If this also fails for other people I will do a bug report.
>>
>> Andreas
>>
>> --
>> Andreas Neumann
>> http://www.carto.net/neumann/
>> http://www.svgopen.org/
>>
>>
>> --
>> Andreas Neumann
>> http://www.carto.net/neumann/
>> http://www.svgopen.org/
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>


-- 
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/



More information about the Qgis-developer mailing list