Skip to content

trap invalid opcode on linux/amd #26317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eBeyond opened this issue Apr 23, 2025 · 1 comment
Open

trap invalid opcode on linux/amd #26317

eBeyond opened this issue Apr 23, 2025 · 1 comment
Labels

Comments

@eBeyond
Copy link

eBeyond commented Apr 23, 2025

Steps to reproduce:
List the minimal actions needed to reproduce the behaviour.

Run influxdb:3-core on amd (linux)
docker sys-logs reports:
kernel: traps: influxdb3[8972] trap invalid opcode ip:5b620d00b822 sp:7ffd45d3c220 error:0 in influxdb3[5b620a200000+5ab1000]

Expected behaviour:
influxdb should just start

Actual behaviour:
No other logs than the one mentioned above.

Environment info:
uname -srm:
Linux 6.8.0-58-generic x86_64
docker:
docker-ce 5:28.1.1-1ubuntu.24.04noble
Config:
Copy any non-default config values here or attach the full config as a gist or file.
The part of the compose file:
influxdb3:
image: docker.sys-int.de/influxdb:3-core
container_name: influxdb3
platform: linux/amd64
security_opt:
- no-new-privileges=true
restart: unless-stopped
environment:
INFLUXDB3_MAX_HTTP_REQUEST_SIZE: "10485760"
INFLUXDB3_GEN1_DURATION: "10m"
INFLUXDB3_WAL_FLUSH_INTERVAL: "1s"
INFLUXDB3_WAL_SNAPSHOT_SIZE: "600"
INFLUXDB3_NUM_WAL_FILES_TO_KEEP: "50"
INFLUXDB3_WAL_MAX_WRITE_BUFFER_SIZE: "100000"
INFLUXDB3_BUFFER_MEM_LIMIT_MB: "5000"
INFLUXDB3_PARQUET_MEM_CACHE_SIZE_MB: "1000"
INFLUXDB3_FORCE_SNAPSHOT_MEM_THRESHOLD: "70%"
INFLUXDB3_BUCKET: "default"
INFLUXDB3_OBJECT_STORE: "file"
#INFLUXDB3_DB_DIR: "/data"
INFLUXDB3_DATA_DIR: "/data"
INFLUXDB3_PLUGIN_DIR: "/plugins"
INFLUXDB_IOX_DB_DIR: "/var/lib/influxdb3"
INFLUXDB3_NODE_IDENTIFIER_PREFIX: "smarthome"
volumes:
- /data/influxdb3/data:/data
- /data/influxdb3/plugins:/plugins
- /data/influxdb3/lib:/var/lib/influxdb3

Logs:
No other logs, thant the mentioned above.

@hiltontj hiltontj added the v3 label Apr 24, 2025
@mgattozzi
Copy link
Contributor

@eBeyond there's a very real possibility that you're using a CPU older than what the binary was compiled with. Could you try building the code from source and seeing if that fixes your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants