[OSM-dev] mod_tile causes segfault on debian 7.0

Sven Geggus lists at fuchsschwanzdomain.de
Wed May 22 11:06:48 UTC 2013


Hello,

I have massive trouble running a recent version of mod_tile (git commit
03dedd4ec33c9d5e6495ea54d8a36b4ad916f65b) with my usual tirex backend.

I get segmentation faults in mod_tile on a more or less regular basis which
will leave apache in a 100% CPU on all cores state!

[248792.019396] traps: apache2[21353] general protection ip:7f259cb3e329 sp:7f25904bca10 error:0
[248792.019405] traps: apache2[21388] general protection ip:7f259cb3e329 sp:7f2588cada10 error:0
[248792.019414] apache2[21390]: segfault at 0 ip 00007f259928f919 sp 00007f25884acae0 error 4
[248792.019424]  in libapr-1.so.0.4.6[7f259cb2b000+38000]
[248792.019589]  in mod_tile.so[7f2599288000+13000]
[248792.021397]  in libapr-1.so.0.4.6[7f259cb2b000+38000]
[248794.024127] apache2[21436]: segfault at 6cf83c57 ip 000000006cf83c57 sp 00007f258ccb5c28 error 14

The commit message of 59f1ac181ad43747d6f641dfce21c0f922eb2885 looks
suspicious to me:

"Unfortunately there is no way to do this in Apache 2.2. So there you will
need to use mpm prefork for non thread safe backends".

I _do_ run apache 2.2 (which is still standard for debian 7.0) and I do use
apache2-mpm-worker because of performance reasons. This has been working
fine for a long time on tile.openstreetmap.de using Debian oldstable.

Will this stuff be relevant to me at all, because I'm using tirex as a backend.

Looks like I need to go back to an older version of about one year ago or so
:(

Regards

Sven

-- 
# Turn on/off security.  Off is currently the default
(found in MongoDB default configfile)

/me is giggls at ircnet, http://sven.gegg.us/ on the Web



More information about the dev mailing list