Skip to content

Routino database creation fails: Fatal Error (files.c:610): Cannot write to file .... relationsx.route......tmp' [Bad address]. #1155

Description

@wolfgangr

Describe the bug

QMapShack fails to create a routino database from current europe-latest.osm.pbf

Seems to be a routino issue.

Both in the QMapShack window and directly from the command line I get

~/tracks/qMapShack-Karten/routino-DB$ /usr/bin/planetsplitter --dir=/home/username/tracks/qMapShack-Karten/routino-DB --prefix=Europe_26 --tagging=/usr/share/routino/tagging.xml --keep --sort-ram-size=80000  --sort-threads=18  /home/username/tracks/qMapShack-Karten/routino-DB-26/europe-latest.osm.pbf

Parse OSM Data [/home/username/tracks/qMapShack-Karten/routino-DB-26/europe-latest.osm.pbf]
==============

Reading: Bytes=34150026316 Nodes=3784109501 Ways=462863577 Relations=413000Routino Fatal Error (files.c:610): Cannot write to file '/home/username/tracks/qMapShack-Karten/routino-DB/relationsx.route.0x560e3c56a2f0.tmp' [Bad address].

.... la ....
37261090 Jul 12 17:48 relationsx.route.0x560e3c56a2f0.tmp

edit: above is a manual call from the cmd line.
For proof, I repated the call from QMS again.
It produces the same error, at the same counters, except a different random in the tmp file name.
Params for planetsplitter differ slightly:

/usr/bin/planetsplitter --dir=/home/username/tracks/qMapShack-Karten/routino-DB --prefix=EUR26 --tagging=/usr/share/routino/tagging.xml --parse-only /home/username/tracks/qMapShack-Karten/routino-DB-26/europe-latest.osm.pbf

What have you done to circle down the problem?

  • tried to repeat the database generation from the command line
  • checked for current Routino version 3.4.3
  • web and forum searches,
  • found https://www.routino.org/documentation/limits.html
    could not find precise the same issue reported there nor anywhere else
  • I'm still working with a routino database created long ago back in 2017

To Reproduce

  1. Download https://download.geofabrik.de/europe-latest.osm.pbf
    as of 2026-07-12
  2. in QMS, open Tool/Create Routino Database
  3. select source and target path, prefix as effective in the error log above
  4. click start and watch the process working
  5. after about an hour, find the error message reported

Expected behavior

planetsplitter finishing and producing workable database

Screenshots

no screenshots contributing relevant information

Attachments

don't dare to attach 33 G file:
33G Jul 12 02:16 europe-latest.osm.pbf

Tracebacks

n.a.

Desktop

  • OS: debian trixie 13.4
  • QMapShack Version: 1.17.1
  • Window Manager: lxde

Additional context

QMapShack and routino are working with the old 2017 database over serveral version upgrades both on linux and windows.

I'm considering a custom build of routino with increased index limits.
How is the search built into QMS? By command line? By library? Can I have concurrent versions of routino (debian and custom build) on the machine, e.g. in ~/.local/bin ?

Whats the proper way to report an issue with routino?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions