[Qgis-developer] Crash when loading layers in memory

A. Golubev golubev at nordcomp.ru
Tue Jan 26 08:37:58 EST 2010


26.01.2010 15:46, Martin Dobias пишет:
> On Tue, Jan 26, 2010 at 1:39 PM, A. Golubev<golubev at nordcomp.ru>  wrote:
>    
>> vl->setRenderer( newlayer->renderer()->clone() )
>>
>> don`t solve the problem, log in attach. I`m trying to run application in
>> gdb, but it freezes after
>> Starting program: C:\Qt\qgis-1.3.0_debug/timtut1.exe
>>      
> Is the renderer from 'newlayer' valid (i.e. not null, contains
> meaningful values)? And what renderer type is that? Is the renderer in
> 'vl' valid?
>
> It would be good if you could try it with a newer qgis version and on other OS.
>
> Martin
>    
Layers and renderers seems to be valid:
newLayer->isValid true type: 0 wkbType: 3
newLayer renderer: "Single Symbol" 0x4646fa8
vl is valid: true type: 0 wkbType: 3
setting renderer
vl renderer: "Single Symbol" 0x643d768
renderer setted
deleting newLayer
newLayer->isValid true type: 0 wkbType: 3
newLayer renderer: "Single Symbol" 0x45a0aa0
vl is valid: true type: 0 wkbType: 3
setting renderer
vl renderer: "Single Symbol" 0x4220120
renderer setted
deleting newLayer
newLayer->isValid true type: 0 wkbType: 3
newLayer renderer: "Single Symbol" 0x493cbc0
vl is valid: true type: 0 wkbType: 3
setting renderer
vl renderer: "Single Symbol" 0x6410758
renderer setted
deleting newLayer
deleting doc
Set the Map Canvas Layer Set

and after that application crashes. Maybe someone could test it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.zip
Type: application/zip
Size: 57918 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100126/4a201c50/sample-0001.zip


More information about the Qgis-developer mailing list