Skip to content

Attic updates fail when using 2026-06-06 database clone #792

Description

@b1tw153

When using the 2026-06-06 database clone with Overpass osm-3s_v0.7.62.11, attic updates fail with a core dump from update_from_dir while processing the batch of updates from 7142153 to 7142904.

Steps to reproduce:

  1. Download https://dev.overpass-api.de/releases/osm-3s_v0.7.62.11.tar.gz, unpack, build, and install Overpass
  2. Download a database clone using download_clone.sh --db-dir="/opt/overpass/db" --source="https://dev.overpass-api.de/api_drolbr/" --meta=attic; confirm that the download was successful
  3. Start Overpass from the command line and confirm that the processes are running correctly:
    • dispatcher --osm-base --attic --db-dir="/opt/overpass/db" >>/opt/overpass/db/base_dispatcher.out 2>&1
    • dispatcher --areas --db-dir="/opt/overpass/db" >>/opt/overpass/db/areas_dispatcher.out 2>&1
    • apply_osc_to_db.sh "/opt/overpass/diff" auto --meta=attic >>/opt/overpass/db/apply_osc_to_db.out 2>&1
    • fetch_osc.sh auto "https://planet.openstreetmap.org/replication/minute/" "/opt/overpass/diff" >>/opt/overpass/diff/fetch_osc.out 2>&1
  4. Allow Overpass to process updates until a core dump message is written to /opt/overpass/db/apply_osc_to_db.out

Complete apply_osc_to_db.log file:

2026-06-16 03:46:28: updating from 7141498
2026-06-16 03:46:33: updating from 7141498
2026-06-16 03:46:38: updating from 7141498
2026-06-16 03:46:43: updating from 7141498
2026-06-16 03:46:48: updating from 7141498
2026-06-16 03:46:53: updating from 7141498
2026-06-16 03:46:58: updating from 7141498
2026-06-16 03:47:03: updating from 7141498
2026-06-16 03:47:08: updating from 7141498
2026-06-16 03:47:13: updating from 7141498
2026-06-16 03:47:18: updating from 7141498
2026-06-16 03:47:23: updating from 7141498
2026-06-16 03:47:28: updating from 7141498
2026-06-16 03:47:33: updating from 7141498
2026-06-16 03:47:38: updating from 7141498
2026-06-16 03:47:43: updating from 7141498
2026-06-16 03:47:48: updating from 7141498
2026-06-16 03:47:53: updating from 7141498
2026-06-16 03:47:58: updating from 7141498
2026-06-16 03:48:03: updating from 7141498
2026-06-16 03:48:08: updating from 7141498
2026-06-16 03:48:13: updating from 7141498
2026-06-16 03:48:18: updating from 7141498
2026-06-16 03:48:23: updating from 7141498
2026-06-16 03:48:28: updating from 7141498
2026-06-16 03:48:33: updating from 7141498
2026-06-16 03:48:38: updating from 7141498
2026-06-16 03:48:43: updating from 7141498
2026-06-16 03:48:48: updating from 7141498
2026-06-16 03:48:53: updating from 7141498
2026-06-16 03:48:58: updating from 7141498
2026-06-16 03:49:03: updating from 7141498
2026-06-16 03:49:08: updating from 7141498
2026-06-16 03:49:08: updating to 7141500
2026-06-16 03:49:34: update complete 7141500
2026-06-16 03:49:34: updating from 7141500
2026-06-16 03:49:34: updating to 7141510
2026-06-16 03:51:19: update complete 7141510
2026-06-16 03:51:20: updating from 7141510
2026-06-16 03:51:20: updating to 7141551
2026-06-16 03:58:12: update complete 7141551
2026-06-16 03:58:12: updating from 7141551
2026-06-16 03:58:13: updating to 7141711
2026-06-16 04:20:07: update complete 7141711
2026-06-16 04:20:07: updating from 7141711
2026-06-16 04:20:13: updating to 7142153
2026-06-16 05:56:08: update complete 7142153
2026-06-16 05:56:08: updating from 7142153
2026-06-16 05:56:17: updating to 7142904

Tail from apply_osc_to_db.out file:

...
Version 1 has a later or equal timestamp (2026-06-04T15:44:49Z) than version 2 (2026-06-04T15:44:49Z) of Way 1526160858
Version 1 has a later or equal timestamp (2026-06-04T15:59:01Z) than version 2 (2026-06-04T15:59:01Z) of Way 1526164446
Version 1 has a later or equal timestamp (2026-06-04T15:59:02Z) than version 2 (2026-06-04T15:59:02Z) of Way 1526164447
Version 1 has a later or equal timestamp (2026-06-04T15:59:03Z) than version 2 (2026-06-04T15:59:03Z) of Way 1526164448
Version 2 has a later or equal timestamp (2026-06-04T16:41:29Z) than version 3 (2026-06-04T16:41:29Z) of Way 1526173955
Version 2 has a later or equal timestamp (2026-06-04T16:41:28Z) than version 3 (2026-06-04T16:41:28Z) of Way 1526173956
Version 1 has a later or equal timestamp (2026-06-04T17:02:10Z) than version 2 (2026-06-04T17:02:10Z) of Way 1526178664
Version 2 has a later or equal timestamp (2026-06-04T17:02:10Z) than version 3 (2026-06-04T17:02:10Z) of Way 1526178664
Version 1 has a later or equal timestamp (2026-06-04T17:02:12Z) than version 2 (2026-06-04T17:02:12Z) of Way 1526178666
Version 3 has a later or equal timestamp (2026-06-04T17:02:13Z) than version 4 (2026-06-04T17:02:13Z) of Way 1526178666
Version 2 has a later or equal timestamp (2026-06-04T17:02:35Z) than version 3 (2026-06-04T17:02:35Z) of Way 1526178765
Version 4 has a later or equal timestamp (2026-06-04T17:02:36Z) than version 5 (2026-06-04T17:02:36Z) of Way 1526178765
Version 1 has a later or equal timestamp (2026-06-04T17:02:41Z) than version 2 (2026-06-04T17:02:41Z) of Way 1526178772
Version 3 has a later or equal timestamp (2026-06-04T17:02:42Z) than version 4 (2026-06-04T17:02:42Z) of Way 1526178772
Version 1 has a later or equal timestamp (2026-06-04T17:02:54Z) than version 2 (2026-06-04T17:02:54Z) of Way 1526178782
Version 1 has a later or equal timestamp (2026-06-04T17:40:48Z) than version 2 (2026-06-04T17:40:48Z) of Way 1526188992
Version 1 has a later or equal timestamp (2026-06-04T18:14:11Z) than version 2 (2026-06-04T18:14:11Z) of Way 1526196829
Version 1 has a later or equal timestamp (2026-06-04T18:14:11Z) than version 2 (2026-06-04T18:14:11Z) of Way 1526196830
Version 1 has a later or equal timestamp (2026-06-04T18:14:11Z) than version 2 (2026-06-04T18:14:11Z) of Way 1526196831
Version 1 has a later or equal timestamp (2026-06-04T18:14:22Z) than version 2 (2026-06-04T18:14:22Z) of Way 1526196864
Version 1 has a later or equal timestamp (2026-06-04T18:53:31Z) than version 2 (2026-06-04T18:53:31Z) of Way 1526204671
Version 1 has a later or equal timestamp (2026-06-04T19:29:16Z) than version 2 (2026-06-04T19:29:16Z) of Way 1526211879
Version 1 has a later or equal timestamp (2026-06-04T19:59:53Z) than version 2 (2026-06-04T19:59:53Z) of Way 1526218542
Version 1 has a later or equal timestamp (2026-06-04T19:59:55Z) than version 2 (2026-06-04T19:59:55Z) of Way 1526218543
Version 1 has a later or equal timestamp (2026-06-04T19:59:55Z) than version 2 (2026-06-04T19:59:55Z) of Way 1526218544
Version 1 has a later or equal timestamp (2026-06-04T20:00:14Z) than version 2 (2026-06-04T20:00:14Z) of Way 1526218564
Version 1 has a later or equal timestamp (2026-06-04T20:00:16Z) than version 2 (2026-06-04T20:00:16Z) of Way 1526218566
Version 2 has a later or equal timestamp (2026-06-04T20:00:22Z) than version 3 (2026-06-04T20:00:22Z) of Way 1526218569
Version 3 has a later or equal timestamp (2026-06-04T20:00:22Z) than version 4 (2026-06-04T20:00:22Z) of Way 1526218569
Version 3 has a later or equal timestamp (2026-06-04T21:22:17Z) than version 4 (2026-06-04T21:22:17Z) of Way 1526238204
Compute current ... ready. Flushing to database ....... done. Compute attic ...Way 920867804 has changed at timestamp 2026-06-03T12:06:43Z in two different diffs.
terminate called after throwing an instance of 'std::length_error'
  what():  vector::reserve
bin/apply_osc_to_db.sh: line 92: 1581440 Aborted                 (core dumped) ./update_from_dir --osc-dir=$1 --version=$DATA_VERSION $META --flush-size=0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions