[mapserver-users] Segfaults with MapScript from Python

Jelmer Baas baas at speerit.nl
Thu Feb 12 08:57:54 PST 2015


The code isn't all that complex, not much more than three layers with a postgis source and using an ogr_style column. 

I'll do my best to create a stripped-down script and test dataset tomorrow.

-- 
Jelmer
________________________________________
Van: Dan Little [theduckylittle at gmail.com]
Verzonden: donderdag 12 februari 2015 16:55
Aan: Jelmer Baas
CC: mapserver-users at lists.osgeo.org
Onderwerp: Re: [mapserver-users] Segfaults with MapScript from Python

I don't see any debugging symbols in there making life a little bit
more difficult.

Is your Python code very complex? Could a useful snippet be posted to a gist?

On Thu, Feb 12, 2015 at 9:44 AM, Jelmer Baas <baas at speerit.nl> wrote:
> Hi List,
>
> Some of my automated renders are failing because Python crashes with an Segmentation fault. I've finally found at least some logs of this:
> Feb 12 16:16:19 vm-ctwrender07 kernel: [276759.889265] traps: python[8002] general protection ip:7f104ec4f50f sp:7fff17d8d790 error:0 in libmapserver.so.6.4.1[7f104eb91000+1d8000]
> Feb 12 15:08:01 vm-ctwrender07 kernel: [272664.046597] traps: python[7841] general protection ip:7f80558877b6 sp:7fff641f27c0 error:0 in libmapserver.so.6.4.1[7f80557c9000+1d8000]
> Feb 12 13:53:01 vm-ctwrender07 kernel: [268166.881041] python[7614]: segfault at fffffffffffffffc ip 00007f805588750f sp 00007fff641f27c0 error 5 in libmapserver.so.6.4.1[7f80557c9000+1d8000]
>
> Unfortunatly, I have no idea how to continue. I suspect this has something todo with odd font rendering (too large, too small), since I had issues with that before. Can someone match these addresses with code and find out where it crashes?
>
> Thanks in advance!
>
> Regards,
> Jelmer
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list