Skip to content

what(): Lua error (see stderr for traceback) #7188

@boooch

Description

@boooch

Issue

[2025-05-28T13:21:55.881822457] [info] Using profile api version 4
[2025-05-28T13:51:34.249052855] [error] stack index 3, expected number, received number: not a numeric type that fits exactly an integer (number maybe has significant decimals) (bad argument into 'void(unsigned char)')
stack traceback:
[C]: in metamethod 'newindex'
/opt/lib/guidance.lua:112: in function 'lib/guidance.set_classification'
/opt/lib/way_handlers.lua:108: in function 'lib/way_handlers.classification'
/opt/lib/way_handlers.lua:711: in function 'lib/way_handlers.run'
/opt/car.lua:463: in function 'process_way'

terminate called after throwing an instance of 'osrm::util::exception'
what(): Lua error (see stderr for traceback)

Steps to reproduce

docker run -t -v "${PWD}:/data" ghcr.io/project-osrm/osrm-backend:v6.0.0-debug osrm-extract -p /opt/car.lua /data/all.pbf || echo "osrm-extract failed"

all.pbf created with osmconvert.

Specifications

  • Operating system
    Oracle Linux Server 8.10
  • Hardware
    ProLiant DL380 Gen9
    Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz X2
    256GiB
    1000G swap

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions