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: , Igor Brejc <>
  • Subject: Re: [overpass] Segmentation fault
  • Date: Mon, 31 Jul 2017 08:58:53 +0200

Good morning Igor,

Not sure if I understood the instructions correctly, but here you go:

Yes, you have understood the instructions correctly. The debug information shows that there is an in general healthy data structure. Nonetheless, "blocks" is in an invalid state some moments later.

We do not know yet where something ugly happens to "blocks". Thus, I would like to ask you to run a modified variant. This affects two files. I have added extra debugging output in these two files:

template_db/file_blocks_index.h
overpass_api/osm-backend/osm_updater.cc

Please copy the original files to a different place and copy the attached files over the existing files. Then recompile:

make install

Then re-run the updated binary with gdb. In gdb:

break file_blocks_index.h:307
run </tmp/crash_input.osc

Once gdb arrives at the breakpoint:

bt full
c

The program may arrive once or twice at the breakpoint.

Thank you so far. I would like to continue until I understand the root cause and can deliver a solution.

Best regards,

Roland



Archive powered by MHonArc 2.6.19+.

Top of Page