Skip to Content.
Sympa Menu

overpass - Re: [overpass] Segmentation fault

Subject: Overpass API developpement

List archive

Re: [overpass] Segmentation fault


Chronological Thread 
  • From: Igor Brejc <>
  • To:
  • Subject: Re: [overpass] Segmentation fault
  • Date: Sun, 30 Jul 2017 22:09:33 +0200

I get this:

(gdb) print (OSM_File_Properties<Uint32_Index>*)fp.file_base_name
There is no member or method named file_base_name.
(gdb) print (OSM_File_Properties<Uint32_Index>*)fp->file_base_name
There is no member or method named file_base_name.


On Sun, Jul 30, 2017 at 9:55 PM, mmd <> wrote:
Am 30.07.2017 um 21:35 schrieb Igor Brejc:
> Hi,
>
> I have attached the gdb session output and .osc file.
>

Thanks, it's a bit unfortunate, that we don't see the file_base_name in
there, gdb just prints the location, but no contents.

(gdb) print (OSM_File_Properties<Uint32_Index>*)fp

$2 = (OSM_File_Properties<Uint32_Index> *) 0x778c40

Could you maybe try

print (OSM_File_Properties<Uint32_Index>*)fp.file_base_name

or

print (OSM_File_Properties<Uint32_Index>*)fp->file_base_name

Or level something like

info locals

instead at the very same breakpoint 1?


It's interesting that the very first File_Blocks_Index at 0x780af0 is
later involved in the crash.

--







Archive powered by MHonArc 2.6.19+.

Top of Page