Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

tirex-master crashes when unknown map is used when requesting tiles with tirex-batch #2936

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Daeron
[Submitted to the original trac issue database at 11.41am, Thursday, 6th May 2010]

If an unknown map is specified with map= in tirex-batch's INIT -line, or multiple existing maps (with the format specified in the man page: map=foo,bar etc.) tirex-master crashes with completely unhelpful message: "Died at /usr/bin/tirex-master line 209."

@openstreetmap-trac
Copy link
Author

Author: Daeron
[Added to the original trac issue at 9.27pm, Thursday, 6th May 2010]

It seems Tirex/Metatiles/Range.pm doesn't correctly parse the multiple maps encoutered in the map= and just sends the value as is to tirex-master. I therefore made another bug report for that: #2937 as it's a separate problem from the tirex-master crashing.

@openstreetmap-trac
Copy link
Author

Author: jochen[at]topf.org
[Added to the original trac issue at 9.51am, Friday, 7th May 2010]

fixed in r21159.

tirex-master doesn't crash any more in this case. In addition it will now check the zoom level against the allowed range.

There will be an error message returned to the client and logged to syslog now, but its not very descriptive, I will improve that later.

Note that tirex-batch currently does not listen for return messages from tirex-master, so you will not see it unless you look into syslog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant