NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Following the switch2osm guide I've made it to renderd -f -c /usr/local/etc/renderd.conf and navigate to http://localhost/0/0/0.png renderd produces this output:

renderd[17748]: Using web mercator projection settings renderd[17748]: Using web mercator projection settings renderd[17748]: Using web mercator projection settings renderd[17748]: Using web mercator projection settings renderd[17748]: Using web mercator projection settings renderd[17748]: Using web mercator projection settings renderd[17748]: Using web mercator projection settings renderd[17748]: Using web mercator projection settings renderd[17748]: DEBUG: Got incoming connection, fd 5, number 1 renderd[17748]: DEBUG: Got incoming request with protocol version 2 renderd[17748]: DEBUG: Got command RenderPrio fd(5) xml(ajt), z(0), x(0), y(0), mime(image/png), options() renderd[17748]: DEBUG: START TILE ajt 0 0-0 0-0, new metatile renderd[17748]: Rendering projected coordinates 0 0 0 -> -20037508.342800|-20037508.342800 20037508.342800|20037508.342800 to a 1 x 1 tile Segmentation fault

The start of renderd running is:
` renderd[17748]: Rendering daemon started
renderd[17748]: Initiating request_queue
renderd[17748]: Parsing section renderd
renderd[17748]: Parsing render section 0
renderd[17748]: Parsing section mapnik
renderd[17748]: Parsing section ajt
renderd[17748]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[17748]: config renderd: num_threads=8
renderd[17748]: config renderd: num_slaves=0
renderd[17748]: config renderd: tile_dir=/var/lib/mod_tile
renderd[17748]: config renderd: stats_file=/var/run/renderd/renderd.stats
renderd[17748]: config mapnik: plugins_dir=/usr/lib/mapnik/3.0/input
renderd[17748]: config mapnik: font_dir=/usr/share/fonts/opentype/noto
renderd[17748]: config mapnik: font_dir_recurse=1
renderd[17748]: config renderd(0): Active
renderd[17748]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock
renderd[17748]: config renderd(0): num_threads=8
renderd[17748]: config renderd(0): tile_dir=/var/lib/mod_tile
renderd[17748]: config renderd(0): stats_file=/var/run/renderd/renderd.stats
renderd[17748]: config map 0: name(ajt) file(/home/mseagle/anritsu/mapping/openstreetmap-carto/mapnik.xml) uri(/hot/) htcp() host(localhost)
renderd[17748]: Initialising unix server socket on /var/run/renderd/renderd.sock
renderd[17748]: Created server socket 4
renderd[17748]: Renderd is using mapnik version 3.0.23
renderd[17748]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSansCJK-Bold.ttc
renderd[17748]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSerifCJK-Bold.ttc
renderd[17748]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
renderd[17748]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc
Running in foreground mode...
renderd[17748]: Starting stats thread
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[17748]: Loading parameterization function for
renderd[17748]: Loading parameterization function for
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[17748]: Loading parameterization function for
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[17748]: Loading parameterization function for
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[17748]: Loading parameterization function for
renderd[17748]: Loading parameterization function for debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile

renderd[17748]: Loading parameterization function for
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[17748]: Loading parameterization function for
Mapnik LOG> 2020-04-15 14:28:16: warning: unable to find face-name 'Noto Sans Regular' in FontSet 'fontset-0'
`

followed by a whole plethora of unable to find font x which can be found in the full output in this pastebin: full output

dmesg shows this output:
[ 4140.665927] renderd[17755]: segfault at 0 ip 00007f873cd60084 sp 00007f8722fd1a70 error 4 in libmapnik.so.3.0.23[7f873c816000+949000] [ 4140.665931] Code: 00 00 00 00 00 90 e9 eb 92 ab ff 66 2e 0f 1f 84 00 00 00 00 00 90 53 48 89 fb 48 8b 7e 08 48 8b 35 f9 2c 51 00 48 39 f7 74 0e <80> 3f 2a 74 17 e8 a2 b2 ab ff 85 c0 75 0e 48 8d 43 10 5b c3 0f 1f

Any help is appreciated to even point me in the right direction.

asked 15 Apr '20, 22:59

mseagull's gravatar image

mseagull
21112
accept rate: 0%

What OS are you using, how much memory have you got and what data did you load?

Any diversions from the switch2osm guide (perhaps, starting from a slightly differet place in terms of installed components)?

(26 Apr '20, 17:41) SomeoneElse ♦

Debian 10, all the other steps have worked fine. I have 16 Gigs on a 4790K. Rendering the small city of Morgan Hill, CA U.S. I did compile mapnik/mapnik-python manually but it all seems hooked up fine.

As a note, after another day and being unable to figure it out, I switched to my server, a Phenom II X4 BE on 16 gigs running Ubuntu 16 LTS and it works well. Same area, same process as my other system. So possibly just to do with Debian 10?

I'm now looking for information on ways to cross compile the stack.

(27 Apr '20, 18:28) mseagull

Debian 10

Ah, OK. I'm not aware of a recent "known working" set of instructions there, apart from using Docker (which you presumably don't want to do). I've certainly had problems of that sort on Debian in the past (and problems reliably building mapnik et al elsewhere). https://wiki.debian.org/OSM/tileserver/jessie is ancient history now as far as postgres et al is concerned (although still supported for another month!).

I'm now looking for information on ways to cross compile the stack.

What problem are you trying to solve by doing here?

(27 Apr '20, 18:42) SomeoneElse ♦
1

Having a local mapping server on an arm based embedded device.

Thanks for the response.

(27 Apr '20, 18:50) mseagull

Thanks. If you come up with anything that would be a useful addition to https://github.com/switch2osm/switch2osm.github.io please let us know :)

(27 Apr '20, 18:55) SomeoneElse ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×341
×105
×5

question asked: 15 Apr '20, 22:59

question was seen: 1,068 times

last updated: 27 Apr '20, 18:55

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum