ds4-server(50971,0x543f23000) malloc: *** error for object 0xbd1378170: pointer being freed was not allocated
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start from the log lines 'vision embedding encoded; cache=... bytes' and find where ds4-server allocates and frees that vision embedding cache, since the abort happens right after repeated cache growth. Then trace the adjacent KV cache load/miss path shown in the log ('kv cache miss', 'kv cache hit') for a double free or use of a non-owned pointer, and reproduce with the reported command (./ds4-server --ctx 150000 --kv-disk-dir ...). Done looks like identifying the offending free and validating a fix under repeated vision-bearing prompts without the malloc abort.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
not sure if this oom or not
macstudio m1 ultra was working normal several days then just crashed
1006 21:45:45 ds4-server: chat ctx=112081..112131:50 gen=200 TOOLS DSML_START decoding chunk=28.59 t/s avg=27.79 t/s 7.197s
1006 21:45:46 ds4-server: chat ctx=112131..112147:16 gen=216 TOOLS DSML_START DSML_END decoding chunk=31.20 t/s avg=28.02 t/s 7.709s
1006 21:45:46 ds4-server: tool calls ctx=0..111931:111931 n=1 raw_tool_text=1 ids=[call_884fbce9833b7481fe69f6984bb67a86] names=[shell]
1006 21:45:46 ds4-server: chat ctx=0..111931:111931 gen=216 TOOLS DSML_START DSML_END finish=tool_calls 256.261s
1006 21:45:46 ds4-server: live kv cache miss live=112147 prompt=57317 common=3 vision=mismatch reason=token-mismatch
1006 21:45:48 ds4-server: kv cache hit text tokens=40960 text=140331 quant=2 key=token-text load=279.8 ms file=/Volumes/5tb/server-kv/39d21962c7cc415fef0425540d8ce5128b5da27a.kv
1006 21:45:48 ds4-server: chat ctx=40960..57317:16357 TOOLS prompt start
1006 21:46:06 ds4-server: chat ctx=40960..57317:16357 TOOLS prefill chunk 8192/16357 (50.1%) chunk=0.00 t/s avg=449.45 t/s 18.227s
1006 21:46:24 ds4-server: chat ctx=40960..57317:16357 TOOLS prefill chunk 16357/16357 (100.0%) chunk=447.55 t/s avg=448.50 t/s 36.470s
1006 21:46:24 ds4-server: chat ctx=40960..57317:16357 TOOLS prompt done 36.471s
1006 21:46:24 ds4-server: vision embedding cache hit
1006 21:46:24 ds4-server: vision embedding encoded; cache=36306920 bytes
1006 21:46:25 ds4-server: vision embedding encoded; cache=37510025 bytes
1006 21:46:25 ds4-server: vision embedding encoded; cache=38712167 bytes
1006 21:46:25 ds4-server: vision embedding encoded; cache=39916638 bytes
ds4-server(50971,0x543f23000) malloc: *** error for object 0xbd1378170: pointer being freed was not allocated
ds4-server(50971,0x543f23000) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort ./ds4-server -m --ctx 150000 --host 0.0.0.0 --port 25002 --kv-disk-dir
- Lingua principale
- C
- Stelle
- 24.4k
- Fork
- 2.4k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 antirez/ds4
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
antirez/ds4#1189 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
antirez/ds4#1173 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
antirez/ds4#1032 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
awslabs/aws-c-common#1319 ·
-
editor/integration
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DeusData/codebase-memory-mcp#3130 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 13 giorni
-
DBMS_UTILITY.FORMAT_ERROR_STACK exceeds the 2000-byte limitForse già presa @coder999o l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
zephyrproject-rtos/zephyr#127560 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni