Skip to Content.
Sympa Menu

overpass - Re: [overpass] Segmentation fault

Subject: Overpass API developpement

List archive

Re: [overpass] Segmentation fault

Chronological Thread 
  • From: Roland Olbricht <>
  • To: , mmd <>
  • Subject: Re: [overpass] Segmentation fault
  • Date: Tue, 29 Aug 2017 19:52:32 +0200


the whole thing has been broken down to:

> File error caught: 13 Permission denied /home/igor/overpass/db/nodes.bin.idx.shadow File_Blocks_Index::~File_Blocks_Index::1

This is the message that the process was denied to write the index file by the operating system.

The message has been obscured by the fact that the update tries desperately to write the index files. That results in a crash. Hence, there are two jobs here:
1. ensure that the error message gets through by refraining from writing urther index files (code change in Overpass API required)
2. figure out why in this specific situation the OS denies the file access

I have no idea why 2. happens. Note that the process already must have successfully written to files in that directory. Also, in the course of events, under the same user have already been created files in that directory.

Note that understanding 2. may help to make a good decision what to do when writing a file in that late stage fails. There are a whole bunch of weird situations (we may get even a file system error on close()) that may profit fro insight what is happening here.

Best regards,


Archive powered by MHonArc 2.6.19+.

Top of Page