Opened 9 years ago

Closed 9 years ago

#2936 closed defect (fixed)

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

Reported by: Teemu Koskinen Owned by: jochen@…
Priority: major Milestone:
Component: tirex Version:
Keywords: Cc:


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."

Change History (2)

comment:1 Changed 9 years ago by Teemu Koskinen

Summary: tirex-master crashes when unknown or multiple maps are used when requesting tiles with tirex-batchtirex-master crashes when unknown map is used when requesting tiles with tirex-batch

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.

comment:2 Changed 9 years ago by Jochen Topf

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.