[OSRM-talk] osrm-extract hangs on osmosis updated germany file

Patrick Niklaus patrick.niklaus at student.kit.edu
Mon Jun 29 22:33:20 UTC 2015


Seems like you have some ways in your data that reference non-existing
nodes (otherwise the bug would not have hit). That can happen if
changesets are accidentally skipped.

If you can upload your extract somewhere I can try to replicate the crash.

Cheers,
Patrick

On Mon, Jun 29, 2015 at 7:57 PM, Florian Lohoff <f at zz.de> wrote:
> On Mon, Jun 29, 2015 at 07:15:21PM +0200, Florian Lohoff wrote:
>> On Fri, Jun 26, 2015 at 07:31:39PM +0200, Florian Lohoff wrote:
>> > Hi,
>> >
>> > i am regularly (every 4 hours or so) generating a new germany file with
>> > osmosis from planet diff (updating + cutting) and then convert it
>> > with the default car profile.
>> >
>> > Now i switched from 0.3.9 to git current and
>> > osrm-extract now hangs, or takes infinite time.
>> >
>> > For testing i used a germany file from download.geofabrik.de which
>> > worked. Convert took 663.46s.
>> >
>> > Now i used my file again and it is running for >2 hours at the same
>> > file size.
>>
>> > [extractor] Sorting edges by renumbered start ... ok, after 16.5565s
>> >
>>
>> I found the live-lock of the osrm-extract - Its caused by commit
>>
>>              break;
>>          }
>> +        // skip invalid edges
>> +        if (all_edges_list[i].result.target == SPECIAL_NODEID)
>> +        {
>
> After adding an i++; here
>
>> +            continue;
>> +        }
>>
>
>
> I get segfault in osrm-prepare with that file:
>
> [info] Input file: germany.osrm
> [info] Restrictions file: germany.osrm.restrictions
> [info] Profile: profile.lua
> [info] Threads: 8
> [info] Generating edge-expanded graph representation
> [info]  - 82673 restrictions.
> [info] Importing n = 21965574 nodes
> [info]  - 44850 bollard nodes, 81913 traffic lights
> [info]  and 23226747 edges
> [info] Graph loaded ok and has 23226747 edges
> [info] Removing graph geometry while preserving topology
> Segmentation fault
>
>
> Going back to 0.3.9
>
> *grmpf*
>
> Flo
> --
> Florian Lohoff                                                 f at zz.de
>      We need to self-defense - GnuPG/PGP enable your email today!
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIVAwUBVZGG+JDdQSDLCfIvAQpKNg/+KbRVwarKflAHC0B49rkVH6/dYJVJMNVi
> pQZSV44ZrjbRAL7g3sS7c5KY2tBS7fGF896BmAgtwFZFJ+9x2cYpEBGExVk6W37j
> q28eXVU/iImSDK1wXF65M3eVKJFBV0f5wxx1x+43vjNWCTto/ctM4uk/6Bn0nN08
> HIHxZjoxwV3ImLtuxvCUg79gqppiw4sD1leDTUewFXvwBZL0V32ibe7mlcbzm7HB
> pfohuu+MTesXLPyVNgPURQuBfgvNJqSbRDKlQ/9B9VYOi+O1bC8lQflGklZO2Uh3
> XhTCMHgWlWYQJx+Rx9agQMXEpp9a5UkSzu6qVqFSWrGSjUWXg0hEXfIQzbypt7Vu
> 5+4H/qL8ePaWRAXDCE4NBly9OQ4DYsh064hzh+OhynuGsjqp22vtEbP1igd5isk/
> nXe6ycf/cACxOnFK+/vV6kVQStyq6flWG0X9NgdE8SCFk1TylbohUOJHSuWSWKKd
> 3O349hh7Pg9+3TJY7HCqQSMuE+sUv8KTgSdwT4jwVqHTGpaNqJ0veWeccLhPU+Ne
> g9tr9FuSMRKDoKxucfqSH5I6DGt6vepanvfTmlhjxcq9r20y9YCLmlWGKzJPGcBz
> JxGZfDee/cgeTSGxArWmZbQIbXFkJ3KcxVH6VckjnisM94lAxLGQzI/LeUMls+lY
> 4/kpDTWRj2Y=
> =p5W4
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>



More information about the OSRM-talk mailing list