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

I've used git clone to get the latest version of OSRM, built it through build-local.bat and then downloaded great-britain-latest.osm.pbf from GeoFabrik.

When I try and run osrm-extract great-britain-latest.osm.pbf it crashes via a win32 process (below) and I can't seem to find any info online about it. Here's m full console output:

C:\Users\james\osrm-backend\osrm_Release>osrm-extract great-britain-latest.osm.pbf [info] Using script profile.lua [info] Input file: great-britain-latest.osm.pbf [info] Profile: profile.lua [info] Threads: 8 [STXXL-MSG] STXXL v1.4.99 (prerelease/Release) (git 1babe452214b4613a2a488d80073f4185c05a0b3) + gnu parallel(__GLIBCXX__) [STXXL-MSG] Disk 'c:\temp\stxxl' is allocated, space: 10000 MiB, I/O implementation: wincall queue=0 devid=0 [info] Parsing in progress..

I then get Unhandled exception at 0x00007FFE7DCA98FE (ucrtbase.dll) in osrm-extract.exe: Fatal program exit requested. which I can't figure out.

Can anyone offer any advice please?

asked 02 Aug '16, 15:49

JamesGould's gravatar image

JamesGould
19691020
accept rate: 33%

edited 02 Aug '16, 15:49

1

The file might be corrupt. Did you compare the checksum?

(02 Aug '16, 16:28) scai ♦

You can try asking in the #osrm channel on IRC (http://irc.osm.org). My two guesses would be (a) not enough memory or (b) Windows incompatibility with current code.

(03 Aug '16, 15:16) Richard ♦

For anyone that stumbles across this post in the future, this error was due to .stxxl being in the wrong directory. Here is a copy of the file contents: disk=c:\temp\stxxl,10000,wincall which is stored in the osrm_Release folder. Ensure C:/temp has enough memory access and it's a writeable folder.

Part of the issue was correcting with Cannot write with no DIRECT mode error that I got when trying to run the extraction tool, which led me to appending direct=on onto the end of the .stxxl file. Don't do this. Just do the above checks and it'll work.

permanent link

answered 15 Aug '16, 15:17

JamesGould's gravatar image

JamesGould
19691020
accept rate: 33%

edited 15 Aug '16, 15:19

Your answer
toggle preview

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:

×85

question asked: 02 Aug '16, 15:49

question was seen: 3,381 times

last updated: 15 Aug '16, 15:19

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