Skip to Content.
Sympa Menu

overpass - Re: [overpass] Segmentation fault (core dumped) when trying to start dispatcher

Subject: Overpass API developpement

List archive

Re: [overpass] Segmentation fault (core dumped) when trying to start dispatcher


Chronological Thread 
  • From: Brian Vogelgesang <>
  • To: Roland Olbricht <>, "" <>
  • Subject: Re: [overpass] Segmentation fault (core dumped) when trying to start dispatcher
  • Date: Wed, 18 Dec 2019 19:57:06 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rightpoint.com; dmarc=pass action=none header.from=rightpoint.com; dkim=pass header.d=rightpoint.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sdrtnS4UheUL+NUtsB9UjRn7DN8z73z548gve2+jaEI=; b=Z7uEdDNFdzd5iGm3FHF/i1rBfoX/TxTHKbhp0YHqKlvn00cdLmWi7YGNBh/Zx1I1TXKo7uqRYV8+4ZuyVNBWnn2lq5AbW7lNRwrkRP5JmvSavuMFHiDdVDF6I97s5mPWHE/UtqOsIxhyejykXKTN992Kf8Xwhm6QzqQcIwgZUc6QSlLpMQ2wkwNxz96Z2aCrNh+gE9yUWAn/pbNm/e0X9xpwHPGj572+XzXdToUEXafOCfHY5cIQtR5GCAynEukbo2OhlxCGIiNnNpfpa3sKS0ChE2GUnnpF5/+95O3sELDStm78P/Ph22U8O3VaAr+0Ztx055hADRZlb/4d5nTNdw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H+Fn5j/lP5D9zFeElJ4q3FI4Bujk8z9rRwHZFcPMyQmJpD8E9SC7i3TyqFbXheeyVs8dh1WSGNvFY4Mvcqg75jCRMr1Zgq9jGEEdTFKc3ArPQsiOEeVKZKFSzgXRsNvcyQEHvDhnn1SBKHd4MDjEjX/iuthEP4jZOirIf0Cnp8IPy2xhR4a1MApxePNGj9ybstJAUq96xnGzGJhGyZRBXRJNjeqqpHS9ByeFvv/qpSmt3n75p7R6QRZ4bxFB/YohJExzx+R7rCLOUZVY2HXHqWtzDySrOyHtvSPcijiwLGOwuAHchMKMXkWcLPW6XuGKJwHGGF4LPfaEyrN9uuJZJQ==
  • Authentication-results: spf=none (sender IP is ) ;

New output when running dispatcher: File_Error 0 Success
/home/bvogelgesang/mnt/osm-db-disk/nodes.bin.idx File_Blocks_Index: Data file
size does not match block size

Is this what you were looking for?

On 12/18/19, 11:32 AM, "Roland Olbricht"
<>
wrote:

Hi,

> I didn't get much out of the debug file after I tried running the
dispatcher, below is my output
>
> [ bvogelgesang@osm-vm:~/mnt/osm-db-disk ]$ $EXEC_DIR/bin/dispatcher
--osm-base --db-dir=$DB_DIR
> Segmentation fault (core dumped)
> [ bvogelgesang@osm-vm:~/mnt/osm-db-disk ]$ cat nodes.bin.debug
> DEBUG a
> DEBUG b
> DEBUG A
> DEBUG B
> DEBUG C
>
> Was I supposed to do anything else to populate that file?

It is fine. It is about the size of what I expected and contains the
essential information: the dispatcher crashed within the block

raw_debug_log(data_file_name + ".debug", "DEBUG C");
for (typename std::list< File_Block_Index_Entry< TIndex >
>::const_iterator it = blocks.begin();
it != blocks.end(); ++it)
{
for (uint32 i = 0; i < it->size; ++i)
is_referred[it->pos + i] = true;
}
raw_debug_log(data_file_name + ".debug", "DEBUG D");

which is only possible if blocks[i].pos + blocks[i].size > block_count
for some i.

For that reason I have created a more picky version that carefully
checks any inroad for such a situation. Please try that one and tell me
whether it reports any error on startup:

https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.overpass-api.de%2Freleases%2Fosm-3s_v0.7.55.rc_1.tar.gz&amp;data=02%7C01%7Cbvogelgesang%40rightpoint.com%7C143d36fb3adb4a16445a08d783f0fee5%7C5fbbce2ac3e64b5ea51f222674fdb44d%7C1%7C0%7C637122943413633231&amp;sdata=GkYbUkjfWqsHqdDfhTAbwK7JPBOixwIFG%2FW8uDnxy6A%3D&amp;reserved=0

Best regards,
Roland





Archive powered by MHonArc 2.6.19+.

Top of Page