Opened 8 years ago

Last modified 8 years ago

#3543 new defect

gosmore segfault when routing

Reported by: clever Owned by: nroets@…
Priority: major Milestone:
Component: gosmore Version:
Keywords: Cc:

Description

QUERY_STRING="flat=45.303213&flon=-63.304713&tlat=44.6890011&tlon=-63.8092375fast=1&v=motorcar" ./gosmore this query-string will reproduce the problem i'll attach a backtrace and more info

Attachments (3)

3543_backtrace.txt (1.7 KB) - added by clever 8 years ago.
backtrace
3543_stdout.txt (429 bytes) - added by clever 8 years ago.
log from running with attached patch
3543_patch.patch (895 bytes) - added by clever 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by clever

Attachment: 3543_backtrace.txt added

backtrace

Changed 8 years ago by clever

Attachment: 3543_stdout.txt added

log from running with attached patch

Changed 8 years ago by clever

Attachment: 3543_patch.patch added

comment:1 Changed 8 years ago by openstreetmap@…

On my machine it produces the 1,972 lines summarized below. It took 270ms and 177MB RAM. The 'jump' line implies that no route exists. My data was generate on 14 December 2010.

Gosmore will only output "jump" after exhausting all possibilities.

Content-Type: text/plain

MJump M45.302525,-63.295911,j,residential,6088,Marigold Lane M45.249983,-63.304207,j,residential,6087,Marigold Lane M45.249898,-63.304213,j,residential,6086,Marigold Lane M45.249880,-63.304213,j,residential,6086,Marigold Lane M45.249847,-63.304213,j,residential,6086,Marigold Lane M45.249778,-63.304209,j,residential,6085,Marigold Lane M45.249736,-63.304203,j,residential,6084,Marigold Lane M45.249583,-63.304207,J,tertiary,6079,Pleasant Valley Road M45.249610,-63.305977,j,tertiary,6069,Pleasant Valley Road ... M44.688573,-63.810033,j,residential,11,Sussex Drive M44.688589,-63.809890,j,residential,10,Sussex Drive M44.688605,-63.809753,j,residential,9,Sussex Drive M44.688621,-63.809620,j,residential,7,Sussex Drive M44.688637,-63.809492,j,residential,6,Sussex Drive M44.688652,-63.809369,j,residential,5,Sussex Drive M44.688665,-63.809251,j,residential,4,Sussex Drive

Note: See TracTickets for help on using tickets.