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

heyho

while osm2pgsql I received the following error:

Processing: Node(96293k 17.2k/s) Way(1074k 0.03k/s) Relation(0 0.00/s)error reading blob content Segmentation fault

Is it possible that the error appeared because of a n error on my external HDD where I store my *.osm files or does this look like another reason?

It might be possible, that the external HDD got disconnected but I don't know if the error-message was there before.

asked 03 May '12, 06:43

MHein's gravatar image

MHein
141111116
accept rate: 0%


Short answer - yes.

Longer answer - something spat "error reading blob content Segmentation fault" over the top of the normal output from osm2pgsql. A web search shows the first part of that message in the PBF reader called by osm2pgsql, so yes, for some reason your external HDD became inaccessible and that caused the problem.

permanent link

answered 03 May '12, 13:15

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Someone on IRC has just mentioned another cause of this - a downloaded extract had somehow become truncated, which meant that osm2pgsql failed to understand the data, resulting in this same "error reading blob content" message.

If you're downloading extracts from somewhere like Geofabrik, there'll usually be a .md5 file available that you can compare the file you've downloaded against using "md5sum", to check that it hasn't got corrupted during the download process.

(25 May '14, 23:21) SomeoneElse ♦

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:

×293
×263
×91
×5

question asked: 03 May '12, 06:43

question was seen: 5,945 times

last updated: 25 May '14, 23:21

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