[BUG] Futex error crashing/restarting application
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- debian, docker, javascript, kubernetes, nodejs
- Ambito
- backend, database, infrastructure
Direzione di ricerca
Inizia dai dettagli dell’ambiente e del crash nell’issue #421, confrontando le esecuzioni riportate con Node.js 18 e 22 e le immagini Debian 12 e Ubuntu 24. Usa il trace futex del nodo Kubernetes come evidenza diagnostica iniziale; per considerare il lavoro completato è necessario un trigger riproducibile oppure una causa confermata e un fix applicabile, poiché al momento il report non contiene alcun pattern di riproduzione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe your system
odbcPackage Version:- ODBC Driver: node-odbc
- Database Name: db2
- Database Version: db2 for ibmi level 25
- Database OS: IBMI V7R4
- Node.js Version: 18.20.4
- Node.js OS: debian 12
Describe the bug
We are running a nodejs application inside a debian 12 container with the latest ibm-iaccess DB2 odbc (version 1.1.0.28-1.0) debian package installed in a Kubernetes cluster.
Since months, randomly, the application crashes (and restart) with the following error message : The futex facility returned an unexpected error code.
These are some technical specifications :
-
Kubernetes :
-
Kubernetes version :
1.27.16 -
Installation : Our Kubernetes cluster is not managed and we have full control of our nodes configuration
-
-
Application runtime :
-
The application Docker image is a custom image created by ourselves. However it is mainly based on : node:18.20-bookworm-slim (available on docker hub , debian 12 based)
-
Node version currently used is :
18.20.4 -
The nodejs library used to interact with the odbc is : odbc in version
2.4.9
-
The crash seems not related to any resources (CPU/RAM etc …) problem.
We also did upgrade to node 22 and either change docker image to Ubuntu 24.
We also tried to increase the logs level on application side (like node options --trace-uncaught --abort-on-uncaught-exception --report-uncaught-exception ) but it didn’t work. The crash seems to come from between Kubernetes and the container itself. I succeeded to catch some logs on the Kubernetes node when the application crashes:
trace: Process 505065 attached
futex(0xdaf4e8, FUTEX_WAIT_PRIVATE, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=505115, si_uid=0, si_status=134, si_utime=0, si_stime=0} ---
futex(0xdde380, FUTEX_WAKE_PRIVATE, 1) = 1
rt_sigreturn({mask=~[HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV PIPE TERM STKFLT CHLD STOP URG PROF SYS RTMIN RT_1 RT_2]}) = 202
futex(0xdaf4e8, FUTEX_WAIT_PRIVATE, 0, NULL) = ?
+++ exited with 0 +++
Expected behavior
Futex error not happening
To Reproduce
Unfortunately , we didn't success to find the pattern to reproduce the issue, this one seems very random
Questions
-
Did you already encountered this kind of issue in the past ?
-
Do you have an idea of how to troubleshoot this ?
Thanks a lot for your help
- Lingua principale
- JavaScript
- Stelle
- 159
- Fork
- 92
- Merge medio
- 5h 59m
- PR unite (30g)
- 3
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di IBM/node-odbc
-
doc: how to run the testsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
security
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
[Bug] Sybase ASE: Encoding issue (works in msnodesqlv8, fails in node-odbc with \x1A artifacts)Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Tutte le issue di IBM/node-odbc
Issue simili
-
ci-install-db-tools stall-case tests flake: stalled apt-get can be killed before it logs its callApertaeffort:low model:light plan planner:opus-5-5 tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Bug 🐞
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mozilla-mobile/firefox-ios#35986 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
bug(sight): the dashboard's text truncations split surrogate pairs and show broken charactersApertacomponent:sight
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
agentic-os-org/ANOLISA#6738 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
mastra-ai/mastra#26470 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno