[mapserver-users] Segfaults with MapScript from Python

Dan Little theduckylittle at gmail.com
Thu Feb 12 07:55:11 PST 2015


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