Overpass API developpement

Text archives Help

Re: [overpass] Segmentation fault

Chronological Thread 
  • From: mmd < >
  • To:
  • Subject: Re: [overpass] Segmentation fault
  • Date: Sun, 30 Jul 2017 22:17:58 +0200

Am 30.07.2017 um 20:30 schrieb Igor Brejc:
> Yes, the database was cloned without metadata, and fetch_osc_and_apply
> is called without specifying any meta=no parameter (is it needed?)

Sorry for the numerous iterations on this...

"meta=no", as used in apply_osc_to_db.sh turns into an empty command
line parameter, so this should not be required:

elif [[ $3 == "--meta=no" ]]; then

I just compared the two shell scripts again:


./update_from_dir --osc-dir=$1 --version=$DATA_VERSION $META


cat $TMP_DIFF_UNCOMPRESS | $EXEC_DIR/update_database $2 >> /dev/null 2>&1

Note that the latter doesn't have --flush-size=0. IIRC we had some
issues with this parameter set to non-zero values (which is the default,
if not provided via command line parameter), and there's also some
Github issues on this topic.

Maybe you could adjust fetch_osc_and_apply.sh to include this
--flush-size=0 parameter and retry.



Archive powered by MHonArc 2.6.19+.

Top of page